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

5851 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 4082 posted 11 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 3713 posted 11 years ago by alces
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0 4026 posted 11 years ago by alces
Returns, how many hudson slaves is connected and working now
0 3547 posted 12 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 3513 posted 12 years ago by alces
Custom task using gradle java plugin for build runnable jar file with full dependencies set
0 3550 posted 12 years ago by alces
Gets "src" attributes from all "img" tags in RSS entries descriptions
0 3442 posted 12 years ago by alces
Example of working with regexp sub-matches via Groovy way
0 3504 posted 12 years ago by alces
Reads CBC news RSS with fancy-prints its in table, splitting news description by image & text.
0 3509 posted 12 years ago by alces
Safe way to recursive delete directory
0 3709 posted 12 years ago by alces
« Prev 1 Next »