I hereby claim:
- I am focusaurus on github.
- I am focusaurus (https://keybase.io/focusaurus) on keybase.
- I have a public key whose fingerprint is 6B5E E932 7443 38B7 F12F F706 B2C9 23F1 E205 D5C6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ |
#!/usr/bin/env node | |
var request = require('superagent'); | |
var config = require('config'); | |
var GITHUB_API_URL = 'https://api.github.com'; | |
var MILESTONES = '/repos/owner/project/milestones'; | |
request.post(GITHUB_API_URL + MILESTONES) | |
.set('Authorization', 'token ' + config.githubToken) | |
.set('User-Agent', 'focusaurus-create-github-milestone') | |
.send({title: process.argv[2]}).end(function (error, res) { | |
console.log(error, res.text); |
#!/usr/bin/python | |
# This is a simple script to convert a very limited set of MoinMoin wiki syntax | |
#to markdown. I am using it in my migration from MoinMoin to a gitit+markdown | |
#wiki. | |
DO_GIT = False | |
#DISABLED#DO_GIT = True | |
import os | |
import re | |
REPLACEMENTS = ( | |
("(./)", "[x]"), |
class BoringClass
end
class CoolClass
def ==(other_object)
other_object.is_a? MyClass
end
end
BoringClass.new == BoringClass.new #=> false
CoolClass.new == CoolClass.new #=> true!
Hi friend! So I just put up an alpha of my data analyzer that can scan any mongodb or couchdb server you can access from your laptop (including your local dev ones). It works by ssh tunneling and the "UI" is all ssh.
Could you give it a try and see what it says about your data?
atom-beautify | |
atom-color-highlight | |
autoclose-html | |
autocomplete-plus | |
git-blame | |
git-plus | |
jsdoc | |
jsformat | |
language-docker | |
language-dockerfile |
# https://github.com/tylertreat/Comcast | |
# In this example, the application I want to throttle is on TCP port 9110 | |
comcast="${HOME}/projects/comcast/bin/comcast" | |
throttle() { | |
local profile="${1-wifi}" | |
local bandwidth=30000 | |
local latency=40 |
debug = (obj, seen)-> | |
printProps = (obj)-> | |
#Edge case to handle is [1,2,3][9] = 'foo' | |
#Need to factor the conditional out to check if the prop is a number less | |
#than the array's length | |
return ((if ! /^\d+$/.test prop then prop + ": " + debug(obj[prop], seen) \ | |
else '') for prop of obj).join(', ') | |
seen = seen or [] | |
if obj in seen |
require 'rubygems' | |
require 'json' | |
CONF_PATH = '/tmp/clouddial_conf.json' | |
cookbook_file CONF_PATH do | |
source File.basename CONF_PATH | |
mode '0444' | |
backup false | |
end |