Skip to content

Instantly share code, notes, and snippets.

@ThinkChaos
ThinkChaos / ns.pl
Created May 17, 2015 11:17
Perl Netsoul Client
#!/usr/bin/env perl
# Run as:
# perl ns.pl
use Digest::MD5 qw(md5_hex);
use IO::Socket;
my $USER = '';
@ThinkChaos
ThinkChaos / validation.py
Last active August 29, 2015 14:00
Confit Validation
from confit import BASESTRING, NotFoundError, PY3, TYPE_TYPES
DICT_ITEMS = dict.items if PY3 else dict.iteritems
class Value(object):
def __init__(self, check, default=None):
self.check, self.default = check, default
@ThinkChaos
ThinkChaos / config.h
Created December 30, 2013 21:05
DWM Quick setup
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#222222";
static const char normfgcolor[] = "#bbbbbb";
static const char selbordercolor[] = "#005577";
static const char selbgcolor[] = "#005577";
static const char selfgcolor[] = "#eeeeee";