alces


Member since 02/06/2013

Name: Alexey Zalesnyi

Location: Saratov, Russia

Website: cervus-alces.blogspot.com

Provincial sysadmin getting fun in writing some terse code.

10 snippets

600 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

alces's Recent Snippets



« Prev 1 Next »
Flatten a list of lists (or tuple of tuples, list of tuples, etc.) to any depth of nesting using no mutable objects.
0 209 posted 5 years ago by alces
Usage: 1. save the snippet as *fabfile.py* 2. and run: **$ fab -H myhost1,myhost2...** or set *env.roledefs['myrole'] = ['myhost1', 'myhost2', ...]* in *fabfile.py* and run this way: **$ fab -R myrole**
0 149 posted 5 years ago by alces
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0 249 posted 6 years ago by alces
Returns, how many hudson slaves is connected and working now
0 138 posted 6 years ago by alces
Groovy script for hudson's scripler/script console (for latter case import line could be removed) aborting running builds with loo large logs.
0 140 posted 6 years ago by alces
Custom task using gradle java plugin for build runnable jar file with full dependencies set
0 153 posted 7 years ago by alces
Gets "src" attributes from all "img" tags in RSS entries descriptions
0 149 posted 7 years ago by alces
Example of working with regexp sub-matches via Groovy way
0 138 posted 7 years ago by alces
Reads CBC news RSS with fancy-prints its in table, splitting news description by image & text.
0 141 posted 7 years ago by alces
Safe way to recursive delete directory
0 153 posted 7 years ago by alces
« Prev 1 Next »