Skip to content

Instantly share code, notes, and snippets.

{
"groups": {
"#ff0000": {
"label": "Level 4: Very High",
"paths": [
"Afghanistan",
"Albania",
"Belize",
"Israel",
"Lithuania",
$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'],
@iamcal
iamcal / debug.js
Created January 8, 2019 05:13
xul runner helper script
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);
<?
$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();
#!/usr/bin/perl
use warnings;
use strict;
use Data::Dumper;
$|++;
my @hot = qw[
nun
@iamcal
iamcal / bounces.pl
Created April 20, 2018 18:33
Process bounces in an IAMP inbox
use Mail::IMAPClient;
use Data::Dumper;
my $imap = Mail::IMAPClient->new(
Server => 'mail.mxes.net',
User => 'ACCOUNT',
Password => 'PASSWORD',
Ssl => 0,
Uid => 1,
);
@iamcal
iamcal / unstuck.php
Created April 16, 2018 21:51
I'm pretty sure this a decoder for something in Homestuck
<html>
<head>
<title>Unstuck</title>
<style>
#main {
text-align: left;
margin: 30px auto;
width: 760px;
}
@iamcal
iamcal / css-slack-plaid.markdown
Created August 19, 2016 18:07
CSS SLACK plaid
# npm publish
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursiv
{ "SERVERUSED" : "LIGHTHOUSE.5.MONGOLAYER.COM/54.70.204.247:10001" , "LASTOP" : { "$TS" : 0 , "$INC" : 0} , "CONNECTIONID" : 7940 , "ERR" : "MULTI UPDATE ONLY WORKS WITH $ OPERATORS" , "CODE" : 9 , "N" : 0 , "OK" : 1.0}