Skip to content

Instantly share code, notes, and snippets.

View christopherdebeer's full-sized avatar

Christopher de Beer christopherdebeer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am christopherdebeer on github.
  • I am c15r (https://keybase.io/c15r) on keybase.
  • I have a public key whose fingerprint is 4CA1 A441 EFB4 7D86 512A 60A1 84EB 4AB7 4CE5 7F94

To claim this, I am signing this object:

fs = require('fs')
request = require('request')
cheerio = require('cheerio')
username = 'barumunk'
holdingPage = false
count = 0
for page in [0...99]
@christopherdebeer
christopherdebeer / docker_alias.sh
Created January 16, 2015 11:53
Docker image and container management
alias drmi="docker rmi `docker images | awk '{ print $3; }'`"
alias drm="docker rm -v $(docker ps -a -q)"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
>
<html lang="en">
<head>
<title>yUML Tests</title>
<script type="text/javascript" src="/sandbox/assets/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="/sandbox/assets/js/jquery.formLabels1.0.js"></script>
<script>
@christopherdebeer
christopherdebeer / Regex patterns
Created July 27, 2010 09:53
Some useful entity RegEx patterns
Some useful entity RegEx patterns
by Christopher de Beer
27 July 2010
They're not perfect,
i'll keep fixing up the leaks as I go. (next... adding lookarounds)
He'll, I'll ,She'd etc : ([a-zA-Z]+['’][a-z]{1,3})
@christopherdebeer
christopherdebeer / LICENSE.txt
Created June 1, 2011 13:16 — forked from jed/LICENSE.txt
convert RGB to HEX
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@christopherdebeer
christopherdebeer / LICENSE.txt
Created June 1, 2011 13:16 — forked from jed/LICENSE.txt
convert HEX to RGB
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@christopherdebeer
christopherdebeer / LICENSE.txt
Created June 1, 2011 13:40 — forked from 140bytes/LICENSE.txt
RGB to Luminosity (140byt.es)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@christopherdebeer
christopherdebeer / modules.md
Created August 5, 2011 13:26
Node.js modules to remember

Node.js modules to remember

  • Optimist - Light-weight option parsing for node.js
  • http-server - a simple zero-configuration command-line http server
  • prompt - A beautiful command-line prompt for node.js
  • git - javascript git implementation
  • vows & assert(core) - for writing unit tests
  • everyauth - node.js auth package (password, facebook, & more) for Connect and Express apps
  • rocket - The rapid development framework for node.js/couchDB/mongoDB web apps
var a=document.getElementsByTagName('head')[0],b=document.createElement('script');
b.type='text/javascript';
b.src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?'+Math.floor(Math.random()*99999);
a.appendChild(b);
var c=document.getElementsByTagName('head')[0],d=document.createElement('script');
d.type='text/javascript';
d.src='https://raw.github.com/gist/1141739/b5ae48df4eb615f0d523836c6d140f8660f2d450/jquery.raptorize.1.0.js?'+Math.floor(Math.random()*99999);
c.appendChild(d);