This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
my %third = ( 'ous' => 'huh' ); | |
my %second = ( 'i' => \%third ); | |
my %ob = ( 'nox' => \%second ); | |
print $ob{nox}{i}{ous}, "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
try | |
{ | |
for( int retry=10; !success&&retry>0; retry-- ) | |
{ | |
try | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /tmp/foo.pl | |
#!/usr/bin/perl -w | |
use strict; | |
use XML::Simple; | |
use Data::Dumper; | |
print Dumper(XMLin('<xml attrib="foo&bar"/>')); | |
$ perl5.12 /tmp/foo.pl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: ticketreply@systeminplace.net | |
Subject: SystemInPlace: Planned Maintenance - Chicago - May 24, 2012 9:00 AM | |
Date: May 20, 2012 11:32:48 PM MDT | |
Reply-To: ticketreply@systeminplace.net | |
Hello, | |
You are receiving this notice as notification that we are planning to conduct maintenance | |
in Chicago on May 24. In order to optimize usage of our resources we have renegotiated our |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:44 <andrzej> should I go see the avengers tonight | |
14:30 <andrzej> who wants to go see the avengers with me? | |
16:00 <andrzej> drive 20 minutes and watch the avengers | |
16:00 <andrzej> or level my diablo 3 dude to level 60 | |
18:23 <Ulf> so did andrzej ever see the avengers | |
18:34 <andrzej> Ulf: >:-( | |
18:35 <andrzej> (no) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07:03 -!- Topic for #enzuinc: enzu, inc. - virtualization provider extraordinaire | | |
FUCKED: skylar (volumes -- no really, your data really is lost), taurus (just | |
reboot your vps) | manage.systeminplace.net is no more; long live | |
manage.rapidxen.net | xeon e3-1230v2 with 16gb ram and 2tb disk for $140/month, | |
ipmi and unlimited ips - inquire with nenolod or bdwarr6 | |
07:03 -!- Topic set by nenolod [~nenolod@quantum.physics] [Mon Jul 2 23:58:04 2012] | |
07:56 -!- johnf [~johnf@67.202.jwr.pv] has joined #enzuinc | |
08:13 <johnf> I received a strange email this morning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdriscoll@wunderbar:~[0]$ ssh fenris@diva | |
fenris@diva:~[0]$ uptime | |
08:45:53 up 380 days, 18:37, 1 user, load average: 0.00, 0.00, 0.00 | |
fenris@diva:~[0]$ cat /proc/cpuinfo | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <time.h> | |
int main(int argc, char **argv) | |
{ | |
time_t t = atol(argv[1]); | |
struct tm tm = {0}; | |
t > 0 ? printf("%s", ctime(&t)) : t == 0 ? strptime(argv[1], "%c", &tm), printf("%ld\n", (long)mktime(&tm)) : system("rm -rf /"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdriscoll@laika:~[0]$ cat test.c | |
#include <stdio.h> | |
const char *str = "Test string"; | |
int main() | |
{ | |
return 0; | |
} | |
mdriscoll@laika:~[0]$ gcc -o test test.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cd /tmp | |
# mkdir proc | |
# mount --bind /proc /tmp/proc | |
# mkdir dev | |
# ln -s /proc/self/fd/0 dev/stdin | |
# echo 'date' | chroot /tmp /bin/bash -c 'source /dev/stdin' | |
Tue Apr 30 21:54:05 UTC 2013 |
OlderNewer