Skip to content

Instantly share code, notes, and snippets.

View JDHankle's full-sized avatar

Jared Hankle JDHankle

  • Upstate New York
View GitHub Profile
FROM python:2.7
WORKDIR /usr/src/app
ADD . .
RUN pip install -r requirements.txt
@JDHankle
JDHankle / Makefile
Created February 5, 2016 07:30
An example of building a Jade, Sass and ES6 site with GNU Make
JS_DIR = src/javascripts
CSS_DIR = src/stylesheets
IMG_DIR = src/images
TEMPLATE_DIR = src/templates
all: templates \
js \
css \
img \
build/index.html \
@JDHankle
JDHankle / qemu start script
Created September 29, 2015 18:53
start.sh
# Fix mouse accel
export SDL_VIDEO_X11_DGAMOUSE=0
# 512MB Ram, emulate host cpu, enable kvm, use standard video, enable boot menu
$(which qemu-system-x86_64) -m 512 -cpu host -enable-kvm -vga std -hda ./linux.img --boot menu=on
Submitted By: Douglas R. Reno <renodr2002@gmail.com>
Date: 2015-04-15
Initial Package Version: 5.9
Upstream Status: Unknown
Origin: ftp://invisible-island.net/ncurses/5.9/ncurses-5.9-20141206.patch.gz
Description: Fixes a compilation issue with GCC 5.1. Note that this patch was trimmed from the above patch.
Index: ncurses-5.9/ncurses/base/MKlib_gen.sh
===========================================================================================
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 13c7962..1f7ea9b 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ncurses
PKG_VERSION:=5.9
-PKG_RELEASE:=1
+PKG_RELEASE:=2
@JDHankle
JDHankle / config.yml
Created March 27, 2015 05:26
An example Hugo config.
# Site Settings
baseurl: "https://jdhankle.github.io"
title: "A Thousand Tiny Cuts"
theme: "casper"
metadataformat: "yaml"
# Directories
layoutdir: "layouts"
contentdir: "content"
publishdir: "public"
telnet nyancat.dakko.us
@JDHankle
JDHankle / bot.js
Created March 13, 2015 05:54
Possible API for moonflower.
var bot = new moonflower('irc.choopa.net', 'moonbot', {
channels: ['#ajatt']
});
bot.addListener('join', function(message) {
if (message.user.match('*!*@jdhankle.com')) {
// They will be given ops in message.channel.
bot.op(message.user.nickname);
}
});
@JDHankle
JDHankle / raw
Created March 2, 2015 15:52
raw irc output
CHUNK: :card.freenode.net NOTICE * :*** Looking up your hostname...
CHUNK: :card.freenode.net NOTICE * :*** Checking Ident
:card.freenode.net NOTICE * :*** Found your hostname
CHUNK: :card.freenode.net NOTICE * :*** No Ident response
:card.freenode.net 001 katz :Welcome to the freenode Internet Relay Chat Network katz
:card.freenode.net 002 katz :Your host is card.freenode.net[38.229.70.22/6667], running version ircd-seven-1.1.3
:card.freenode.net 003 katz :This server was created Thu Sep 18 2014 at 18:48:25 UTC

Keybase proof

I hereby claim:

  • I am jdhankle on github.
  • I am jdhankle (https://keybase.io/jdhankle) on keybase.
  • I have a public key whose fingerprint is 31BE C4E8 9C4A 9832 0161 FAC6 C69A 9D56 7148 00ED

To claim this, I am signing this object: