Skip to content

Instantly share code, notes, and snippets.

View jaxon's full-sized avatar

Jaxon Brooks jaxon

View GitHub Profile
@jaxon
jaxon / errorlist.py
Created September 19, 2012 02:28
Errors in n lists, ignoring duplicates in individual lists
allServers = {}
finalList = []
serverErrors = []
serverErrors.append(['Error1','Error2','Error3','Error1'])
serverErrors.append(['Error3','Error2'])
serverErrors.append(['Error2','Error2','Error3','Error1','Error1','Error1','Error1'])
i = 0
for thisServerErrors in serverErrors:
@jaxon
jaxon / html5basicskeleton.html
Created October 18, 2012 18:15
HTML5 basic skeleton
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HTML5 basic skeleton</title>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style type="text/css">
@jaxon
jaxon / gist:5288844
Created April 2, 2013 00:02
PoliticsIsStupid Package.json
{
"name": "politicsisstupid",
"description": "Node code for inimate limited",
"version": "0.0.1",
"private": false,
"author": "Jaxon Brooks <jaxonwk@gmail.com> (http://jaxon.github.com)",
"engines": {
"node": "0.8.15",
"npm": "1.2.16"
},
@jaxon
jaxon / eternal error setting pid
Created March 6, 2015 18:28
Fatal error thrown by Eternal after restart: "TypeError: Cannot set property 'pid' of undefined"
Occupy the Lulz started on port 8080
[2015-03-06T10:38:36.839Z] Application restarted with pid 2028439
/opt/modulus/eternal/lib/eternal/plugins/watch.js:154
procmon.pid = [pid];d
^
TypeError: Cannot set property 'pid' of undefined
at Object.internals.restart (/opt/modulus/eternal/lib/eternal/plugins/watch.js:154:17)
at /opt/modulus/eternal/lib/eternal/plugins.js:72:54
at Array.forEach (native)