User contributions for David
From Federal Burro of Information
Jump to navigationJump to search
16 January 2009
- 13:2413:24, 16 January 2009 diff hist +2,002 N Floatingaverage.awk New page: suppose your data looks like this: <pre> 1210258820 13 1210258825 17.4 1210258830 10 1210258835 14 1210258840 8 1210258845 12.4 1210258850 9 1210258855 13.2 1210258860 8.6 1210258865 4.8...
- 13:2313:23, 16 January 2009 diff hist −32 Tcpping.pl No edit summary
- 13:2313:23, 16 January 2009 diff hist +940 N Tcpping.pl New page: A more generic smtpping.pl] <pre> #!/usr/bin/perl -w use strict; use Net::Ping; if (defined($ARGV[1])){ } else { print "Error: wrong number of arguments.\n"; print "...
- 13:2213:22, 16 January 2009 diff hist +65 Computers No edit summary
- 13:1913:19, 16 January 2009 diff hist +1,005 Stupid Shell Tricks No edit summary
- 13:1413:14, 16 January 2009 diff hist +2,031 N Screen Cheet Sheet New page: first thing's first: man screen * [http://www.linuxjournal.com/article/6340 A good essay on screen usage] * [http://aperiodic.net/screen/multiuser Good info on multiuser screen] Do yo...
- 13:1413:14, 16 January 2009 diff hist +25 Computers No edit summary
- 13:1313:13, 16 January 2009 diff hist +6,195 N Perl Notes New page: =What modules are installed?= So many ways of doing it. ==ExtUtils::Installed== <pre> #!/usr/bin/perl use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $mod...
- 13:0913:09, 16 January 2009 diff hist +48 Computers No edit summary
14 January 2009
- 00:1900:19, 14 January 2009 diff hist +384 Eve SQL of note No edit summary
- 00:1700:17, 14 January 2009 diff hist +927 Eve SQL of note No edit summary
13 January 2009
- 01:1001:10, 13 January 2009 diff hist 0 Main Page No edit summary
12 January 2009
- 14:4414:44, 12 January 2009 diff hist −12 Vi editor No edit summary
- 14:4214:42, 12 January 2009 diff hist +689 N Vi editor New page: ===edit binary file in vi=== :%!xxd ===tai64nlocal file in vi=== :%!tai64nlocal ===set tabs to be the ENGDEV way in vi=== in the file: →ex: set tabstop=4 expandtab:: or in ~/.vim...
- 14:4114:41, 12 January 2009 diff hist −2 Main Page No edit summary
- 14:3914:39, 12 January 2009 diff hist +41 Main Page No edit summary
- 01:0801:08, 12 January 2009 diff hist −2 Random Awk Shit No edit summary
- 01:0801:08, 12 January 2009 diff hist +386 N Random Awk Shit New page: # show total disk space used for all use devices df -k | awk 'BEGIN { one = 0 ; used = 0 ; avail = 0 }/dev/{one = one + $2 ; used = used + $3 ; avail = avail + $4 }END { print "total\ttot...
- 01:0501:05, 12 January 2009 diff hist +547 N Backing up manually with ecrix drive New page: set the block size to 0 so that the ecrix tape drive can do funky variable speed crap: mt -f /dev/st0 setblk 0 rewind the tape: mt rewind Back up (one file system at a time): tar -... current
- 01:0101:01, 12 January 2009 diff hist +48 Openssl No edit summary