I hereby claim:
- I am feltnerm on github.
- I am feltnerm (https://keybase.io/feltnerm) on keybase.
- I have a public key whose fingerprint is 7C67 7698 94BB FC01 E691 E4BD 3E80 8170 37C5 F779
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
I hereby claim:
To claim this, I am signing this object:
function capitalize(s){ | |
s = s || ['']; | |
var titleCase = s[0].toUpperCase() + s.slice(1); | |
var idx = titleCase.indexOf("_"); | |
if (idx != -1){ | |
first = titleCase.slice(0, idx); | |
last = titleCase.slice(idx+1); | |
return first + ' ' + capitalize(last); |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"mime/multipart" | |
"net/http" | |
"net/http/httputil" | |
"os" |
// third-party | |
var mysql_escape = require('mysql').escape; | |
// local | |
var Database = require('./db'); | |
var db = Database(); | |
// Here we select the most recent transaction for the licenseholder | |
// later on we just check to see if their purchase date was within the |
;; ;;;;;;;; | |
;; as7.scm | |
;; | |
;; ;;;;;;;; | |
;; (North, East) intersection | |
(define-struct intersect (north east)) | |
;; Intersections | |
;; ---------- |
% Authors: | |
% Mark Feltner | |
% Aaron Decker | |
% 1. | |
%% Succeeds if we have a square. | |
square(SideA, SideA). | |
% 2. | |
%% Succeeds if Result is the sum of the values from 1 to N and fails |
DEFAULT_BUCKET="s3://FOO_DATABASEt" | |
## Grab an SQL dump from S3 | |
# | |
# String client_name Corresponds to the db name in S3 | |
# | |
function download_dump() { | |
local client_name=$1 | |
local date=$(aws s3 ls $DEFAULT_BUCKET | tail -n 1 | sed -e 's/^ *//' -e 's/ *$//' | cut -d' ' -f2) |
#!/usr/bin/env node | |
'use strict'; | |
var fs = require('fs'), | |
http = require('http'), | |
url = require('url'), | |
util = require('util'), | |
qs = require('querystring'); | |
var minimist = require('minimist'); |
#!/usr/bin/env python | |
# Every hour: | |
# 1. Open quotes or goals based on the one opened least frequently | |
# a. Return random line from file | |
# b. display file | |
import time | |
import random | |
def get_line(lines): |