Just a lil app love over here. Slack FTW!
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
{ | |
"groups": { | |
"#ff0000": { | |
"label": "Level 4: Very High", | |
"paths": [ | |
"Afghanistan", | |
"Albania", | |
"Belize", | |
"Israel", | |
"Lithuania", |
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
$GLOBALS['catalog_bugs'] = [ | |
['Common butterfly', '160', 'Flying', '04-19', 'xxxxxx--xxxx', '--xxxxxxxxxx'], | |
['Yellow butterfly', '160', 'Flying', '04-19', '--xxxx--xx--', '--xx----xxxx'], | |
['Tiger butterfly', '240', 'Flying', '04-19', '--xxxxxxx---', 'xxx-----xxxx'], | |
['Peacock butterfly', '2500', 'Flying', '04-19', '--xxxx------', '--xxxx------'], | |
['Common bluebottle', '300', 'Flying', '04-19', '---xxxxx----', '---xxxxx----'], | |
['Paper kite butterfly', '1000', 'Flying', '08-19', 'xxxxxxxxxxxx', 'xxxxxxxxxxxx'], | |
['Great purple emperor', '?', 'Flying', '04-19', '----xxxx----', '----xxxx----'], | |
['Monarch butterfly', '140', 'Flying', '04-17', '--------xxx-', '--xxx-------'], | |
['Emperor butterfly', '4000', 'Flying', '17-08', 'xxx--xxxx--x', 'xxx--xxxx--x'], |
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
function myDumpO(x, no_recurse){ | |
myDump(parse_obj("", x, no_recurse)); | |
} | |
function parse_obj(prefix, x, no_recurse){ | |
//myDump('called with '+no_recurse+' and '+prefix.length); |
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
<? | |
$lines = file('http://www.worldofwarcraft.com/realmstatus/status.xml'); | |
foreach ($lines as $line){ | |
if (preg_match('!Hyjal!', $line)){ | |
preg_match_all('!([a-z]+)="([^"]*)"!', $line, $m, PREG_SET_ORDER); | |
$out = array(); |
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 | |
use warnings; | |
use strict; | |
use Data::Dumper; | |
$|++; | |
my @hot = qw[ | |
nun |
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
use Mail::IMAPClient; | |
use Data::Dumper; | |
my $imap = Mail::IMAPClient->new( | |
Server => 'mail.mxes.net', | |
User => 'ACCOUNT', | |
Password => 'PASSWORD', | |
Ssl => 0, | |
Uid => 1, | |
); |
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
<html> | |
<head> | |
<title>Unstuck</title> | |
<style> | |
#main { | |
text-align: left; | |
margin: 30px auto; | |
width: 760px; | |
} |
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
<?php | |
require_once 'ApnsPHP/Autoload.php'; | |
$message = new ApnsPHP_Message('1234567890123456789012345678901234567890123456789012345678901234'); | |
$message->setText("Hello \\uD83D\\uDCC5"); | |
print_r($message->getPayload()); | |
echo "\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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use POE; | |
use POE::Component::IRC::Common; | |
use POE::Component::IRC::State; | |
use POE::Component::IRC::Plugin::AutoJoin; |
NewerOlder