Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
var urls = { | |
react: 'http://run.plnkr.co/plunks/Wwgjjpl9NHMO5Nd1TUyN/', | |
ember: 'https://dbmonster.firebaseapp.com/', | |
underscore: 'http://jashkenas.github.io/dbmonster/', | |
ractive: 'http://www.rich-harris.co.uk/ractive-dbmonster/', | |
paperclip: 'http://paperclip-dbmonster.herokuapp.com/' | |
} | |
var browserPerf = require('browser-perf'); | |
var FILE = 'data.json'; |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
/** | |
* <p> | |
* An {@code ArrayAdapter} that also knows how to save and restore its state. | |
* Basically all it does is save/restore the array of objects being managed by | |
* the Adapter. | |
* </p> | |
* | |
* <p> | |
* Note that this only saves the items and not things like checked item | |
* positions. Those belong to the {@link ListView} itself. Consider using |
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |