- An app that coordinates code commits with songs being played on Spotify
- Post micros via SMS (with Twilio)
- Geeklist profile to achievements based resume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*=========================================================================== | |
SETTINGS | |
============================================================================= */ | |
var port = 3000, | |
cacheAge = 60000 * 60 * 24 * 365, | |
logs = { | |
set: false, | |
string: '\\n ' + ':date'.bold.underline + '\\n\\n' + ' IP: '.cyan.bold | |
+ ' ' + ':remote-addr'.white + '\\n' + ' Method: '.red.bold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ Fatalities | |
var fatalities = { | |
triggers: { | |
konamiCode: function(scriptPath, scriptFn) { | |
console.log("Added function"); | |
var konamiKeys = [], konamiCombo = "38,38,40,40,37,39,37,39,66,65"; | |
$(document).keydown(function(e) { | |
konamiKeys.push(e.keyCode); | |
if(konamiKeys.toString().indexOf(konamiCombo) >= 0) { | |
$(document).unbind('keydown', arguments.callee); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline --> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function shim(obj) { | |
if (toString.call(obj) == '[object Function]') { | |
return obj() | |
} | |
return obj | |
} | |
module.exports = function(schema, options) { | |
options || (options = {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
style. | |
.my-class { | |
background-color: #eff1f1; | |
border: 1px solid #dfdbe5; | |
} | |
#big-class | |
.other-class | |
h3 | |
| Hi! Guys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'), | |
cluster = require('cluster') | |
function hydraServer(requestListener, heads){ | |
var server, | |
i; | |
if(cluster.isMaster) { | |
for(i = 0; i < heads; i++) { | |
cluster.fork() | |
} |
In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:
Documentation
-
Accurate / up-to-date systems architecture diagram
-
Accurate / up-to-date network diagram
-
Out-of-hours support plan
-
Incident management plan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"created_at": "2012-05-30T05:49:19.548Z", | |
"messagetypes": { | |
"card": { | |
"template": "{{user1}} published a card", | |
"dataMap": { | |
"user1": "activity.user.screen_name" | |
} | |
}, | |
"micro": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,2c1,3 | |
< CREATE TYPE check_parent_table AS (parent_table text, count bigint); | |
< CREATE TABLE part_config ( | |
--- | |
> CREATE SCHEMA partman; | |
> CREATE TYPE partman.check_parent_table AS (parent_table text, count bigint); | |
> CREATE TABLE partman.part_config ( | |
21,22c22,23 | |
< CREATE INDEX part_config_type_idx ON @extschema@.part_config (type); | |
< SELECT pg_catalog.pg_extension_config_dump('part_config', ''); |