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

3500 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

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.
1 1290 posted 9 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 1070 posted 10 years ago by alces
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0 1331 posted 10 years ago by alces
Returns, how many hudson slaves is connected and working now
0 986 posted 10 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 946 posted 10 years ago by alces
Custom task using gradle java plugin for build runnable jar file with full dependencies set
0 1019 posted 11 years ago by alces
Gets "src" attributes from all "img" tags in RSS entries descriptions
0 982 posted 11 years ago by alces
Example of working with regexp sub-matches via Groovy way
0 968 posted 11 years ago by alces
Reads CBC news RSS with fancy-prints its in table, splitting news description by image & text.
0 992 posted 11 years ago by alces
Safe way to recursive delete directory
0 1085 posted 11 years ago by alces
« Prev 1 Next »