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 3962 466C 0962 591E D31A 53DC AEF4 312F 8982 EF2A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { handleActions } from 'redux-actions' | |
import methods from 'actions' // `methods` are all the UPPERCASE_STRING constants defining action strings. | |
export const createProgressReducer = (options = {}) => { | |
const initialState = {} | |
const progressReducer = Object.keys(methods).reduce((accum, method) => { | |
if (typeof method === 'string') { | |
accum[`${method}_PENDING`] = (state, action) => { | |
return { |
#!/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'); |
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) |
% 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 |
;; ;;;;;;;; | |
;; as7.scm | |
;; | |
;; ;;;;;;;; | |
;; (North, East) intersection | |
(define-struct intersect (north east)) | |
;; Intersections | |
;; ---------- |
FROM mysql | |
ADD my.cnf /etc/mysql/my.cnf | |
CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"] |
// 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 |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"mime/multipart" | |
"net/http" | |
"net/http/httputil" | |
"os" |