I hereby claim:
- I am tatethurston on github.
- I am tatethurston (https://keybase.io/tatethurston) on keybase.
- I have a public key whose fingerprint is 74A0 F797 E418 036C 6686 08AD A015 F117 B2FC 5848
To claim this, I am signing this object:
| NAME='' | |
| rails new $NAME \ | |
| --api \ | |
| --database=postgresql \ | |
| --skip-action-cable | |
| cd $NAME | |
| rm -rf \ |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| post_slack() { | |
| SLACK_URL="TODO:_FILL_ME_IN" | |
| curl -X POST \ | |
| -H "Content-Type: application/json" \ | |
| -d "{\"text\": \"$1\"}" \ |
| module.exports = { | |
| "extends": "eslint:recommended", | |
| "env": { | |
| "node": true, | |
| "mocha": true, | |
| "es6": true | |
| }, | |
| "parserOptions": { | |
| "ecmaVersion": 8 | |
| }, |
| import $ from 'jquery'; | |
| import uuidv4 from 'uuid/v4'; | |
| const wait = ms => $.Deferred(defer => setTimeout(defer.resolve, ms)); | |
| const request = (opts, numTries = 0) => { | |
| /* | |
| * Retry failed requests 2 additional times with exponential backoff | |
| */ | |
| const RETRY_COUNT = 2; |
| .dockerignore | |
| Dockerfile | |
| docker-compose.yml | |
| # Common tasks `docker-compose run foo` (often there is already a Makefile) | |
| scripts.sh |
I hereby claim:
To claim this, I am signing this object:
| var http = require('http'); | |
| var fs = require('fs'); | |
| http.createServer(function(request, response){ | |
| var newFile = fs.createWriteStream('file-upload.jpg'); | |
| var fileSize = request.headers['content-length']; | |
| var uploadedBytes = 0; | |
| request.on('readable', function(){ | |
| var chunk = request.read(); |
| git filter-branch --force --index-filter \ | |
| 'git rm --cached --ignore-unmatch FILE_TO_REMOVE' \ | |
| --prune-empty --tag-name-filter cat -- --all |
| /* | |
| Add jQuery to current page so it is available in console | |
| */ | |
| var script = document.createElement('script'); | |
| script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"; | |
| document.getElementsByTagName('head')[0].appendChild(script); |