Skip to content

Instantly share code, notes, and snippets.

View thepatrick's full-sized avatar
🌈
Hi

Patrick Quinn-Graham thepatrick

🌈
Hi
View GitHub Profile
This is a test
@thepatrick
thepatrick / keybase.md
Created March 25, 2015 06:42
keybase.md

Keybase proof

I hereby claim:

  • I am thepatrick on github.
  • I am thepatrick (https://keybase.io/thepatrick) on keybase.
  • I have a public key whose fingerprint is 6B30 FE2E BAB2 D5C2 4D80 594A 53AC 8DD6 7B49 EA67

To claim this, I am signing this object:

var test = require('./helpers');
// Single endpoint:
// Connect and check the properties of the connection
test(function($) {
return $(0).connect().then(function(connection) {
$.expect(connection).is.any.connection();
});
});
@thepatrick
thepatrick / .bashrc
Created January 14, 2014 18:00
My .bashrc
#~/.bashrc: executed by bash(1) for non-login shells
#01;32m:
#35 = magenta
#34 = blue
#32 = green
#33 = yellow
#31 = red
#30 = black
#29 = white
var http = require('http');
http.createServer(function(req, res){
function giveup(code) {
if(code == 410) {
res.writeHead(410, {
Server: "pfe+redirect",
"X-Patrick-Says": "Redirect Engine in just 41 lines of code. node.js rocks"
});
var http = require("http");
var url = require("url");
var requestUrl = require("request");
var port = process.env.PORT || 1856;
http.createServer(function(request, response) {
// request module works from here
# encoding: UTF-8
def ♥
puts "I ♥ ruby!"
end
loadmodule "/home/patrick/SourceCache/Unreal3.2/src/modules/commands.so";
loadmodule "/home/patrick/SourceCache/Unreal3.2/src/modules/cloak.so";
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
me
{
name "irc.m.ac.nz";
info "M.ac.nz IRC Server";
We couldn’t find that file to show.