Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

aitap's scratchpad

by aitap (Deacon)
on Jul 08, 2012 at 10:20 UTC ( #980565=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    root@desktop:/var/lib/transmission-daemon/info/torrents# perl -MFile::Slurp=read_file -MBencode=bdecode -E'@src = map { $_->[1] } grep { $_->[0] =~ /some_popular_tracker.example/ } map { ($a) = /^(.*)\.[0-9a-f]+\.torrent$/ or die $_; $b = s/\.torrent$/.resume/r; [ (bdecode scalar read_file $_ )->{announce}, (bdecode scalar read_file "../resume/$b")->{destination}."/$a" ];  } @ARGV; LOOP: { system qw/sudo -u aitap -H rsync -rvPz --size-only/, @src, "seedbox:/somewhere/"; redo LOOP if $? }' *
  2. or download this
    $ cat /tmp/1.pl
    #!/usr/bin/perl
    use warnings;
    ...
       c. display
    
    Enter [a-c]:  
    
  3. or download this
    What to do now?
       a. quit
       b. learn
       c. display
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[marinersk]: But I was looking for a more elegant solution. It appears noone online at this time is aware of one.
[LanX]: go to Nodelet Settings and click "All nodelets off"
[LanX]: SUPER STABLE!!!
[marinersk]: LanX++ LOL Yes, that is another workaround. :-)
[LanX]: strangely you can't disable the XP nodelet
[LanX]: But you can use CSS to hide it
[LanX]: and disoplay the data permanently in your peronal nodelet
[marinersk]: I saw that you could post it on the Personal Nodelet, but you have to provide the content also. No way to auto-populate it. Not that this would solve my distraction problem...
[LanX]: there are template variables to "Auto-populate" it

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-05-29 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?