I hereby claim:
- I am dydx on github.
- I am jpsandlin (https://keybase.io/jpsandlin) on keybase.
- I have a public key whose fingerprint is FDE4 98CC 0023 D84D 4FB0 4A57 2409 F26A BD50 5DEF
To claim this, I am signing this object:
| #include <avr/power.h> | |
| #include <avr/sleep.h> | |
| #include <SHT1x.h> | |
| // i2c for SHT1x | |
| #define dataPin 4 | |
| #define clockPin 5 | |
| boolean initial = true; |
| #!/bin/bash | |
| echo "Terminating mongodb..." | |
| kill $(pgrep mongod) |
| // d2xdy2 - reply to: | |
| // http://www.reddit.com/r/node/comments/2qcewl/ | |
| // This is a prime candidate for /r/shittyprogramming | |
| var request = require('request'); | |
| var cheerio = require('cheerio'); | |
| var url = process.argv[2]; // lets just pass that url via args | |
| var linkQueue = []; // we'll store parsed links here |
| function cipher(message, key) { | |
| return message.split('') | |
| .map(function(element) { | |
| return (element.charCodeAt(0) ^ key); | |
| }) | |
| .map(function(element) { | |
| return String.fromCharCode(element) | |
| }) | |
| .join(''); | |
| } |
| Iota := Object clone do ( | |
| stack := nil | |
| output := nil | |
| init := method ( | |
| stack = List clone | |
| output = List clone | |
| ) | |
| squareBrackets := method ( |
| import subprocess | |
| def set(key, val): | |
| f = open(key, 'w') | |
| f.write(val) | |
| f.close() | |
| def get(key): | |
| return subprocess.check_output(["cat", key]) |
| module.exports = { | |
| bitArray: Array.apply(null, new Array(100)).map(Number.prototype.valueOf, 0), | |
| hash: function(key) { | |
| return key.split('') | |
| .map(function(element) { | |
| return element.charCodeAt(0); | |
| }) | |
| .reduce(function(a, b) { | |
| return a + b; | |
| }); |
I hereby claim:
To claim this, I am signing this object:
| // so this is a thing that was successfully used to "fix" a headers race condition in an Express app. | |
| // Jesus christ this is stupid | |
| function(req, res, next) { | |
| var originalSend = res.send | |
| res.send = function() { | |
| if (this.headersSent()) return | |
| originalSend.apply(this, arguments) | |
| } | |
| } |
| /* | |
| Theme Name: Parallax Pro Theme | |
| Theme URI: http://my.studiopress.com/themes/parallax/ | |
| Description: A mobile responsive and HTML5 theme built for the Genesis Framework. | |
| Author: StudioPress | |
| Author URI: http://www.studiopress.com/ | |
| Version: 1.2.1 | |
| Tags: black, white, blue, green, orange, pink, one-column, two-columns, responsive-layout, custom-header, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, premise-landing-page |