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

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