One line summary (< 50c)
Longer description (wrap at 72c)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
set -x | |
git fetch --all --prune | |
gfind . -iname 'Gemfile' -prune -printf "%h\n" | sort --unique | \ | |
gxargs -n1 -P4 -L1 \ | |
bash -c 'echo "Installing gems for $0"; cd "$0"; bundle check || bundle install' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h = { | |
'a' => :a_value, | |
'b' => nil, | |
'c' => false | |
} | |
h.fetch('a', :default_value) #=> :a_value | |
h.fetch('b', :default_value) #=> nil | |
h.fetch('c', :default_value) #=> false | |
h.fetch('d', :default_value) #=> :default_value |
Generated: Mon, 07 Mar 2016 20:44:08 GMT User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
Extensions: 26
- 1Password: Password Manager and Secure Wallet v4.5.3.90: https://chrome.google.com/webstore/detail/aomjjhallfgjeglblehebfpbcfeobpgk
- JSON Formatter v0.6.0: https://chrome.google.com/webstore/detail/bcjindcccaagfpapjjmafapmmgkkhgoa
- Adguard AdBlocker v2.1.5: https://chrome.google.com/webstore/detail/bgnkhhnnamicmpeenaelnjfhikgbkllg
- Ember Inspector v1.9.5: https://chrome.google.com/webstore/detail/bmdblncegkenkacieihfhpjfppoconhi
- Share Extensions v0.1.1: https://chrome.google.com/webstore/detail/chdafcbnfkfenoeejpaeenpdamhmalhe
- PasswordMaker v0.2.3: https://chrome.google.com/webstore/detail/doblembglfahhpiilfhajboogopikhcm
Here is a sample application.yml
note figaro expects every key value pair to have a string as the value.
# application.yml
development:
TWILIO_ACCOUNT_SID: 'AC1234…'
TWILIO_AUTH_TOKEN: 'abc12…'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
/* What engine to use; one of grep, ack, the_silver_searcher, or git_grep (or find_str, on Windows) */ | |
/* The default is grep because it's widely available on *nix machines, but ack and The Silver Searcher are both faster, */ | |
/* and git grep is also faster, but only works inside a Git repository */ | |
"search_in_project_engine": "git_grep", | |
/* GitGrep configuration */ | |
"search_in_project_GitGrep_path_to_executable": "/usr/local/bin/git", | |
"search_in_project_GitGrep_mandatory_options": "grep --break --heading --line-number", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
//willbond alignment | |
{ "keys": ["command+shift+a"], "command": "alignment" }, | |
// scroll to and highlight the file on the left nav | |
{ "keys": ["shift+super+r"], "command": "reveal_in_side_bar" }, | |
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["ctrl+command+v"], "command": "paste" }, | |
// auto_match_enabled is annoying me when it eats my endbrackets | |
{ "keys": [")"], "command": "insert", "args": {"characters": ")"}, "context": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user="kibana" | |
group="root" | |
chroot="/" | |
chdir="/" | |
nice="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** This hook updates platform configuration files based on preferences and config-file data defined in config.xml. | |
Currently only the AndroidManifest.xml and IOS *-Info.plist file are supported. | |
See http://stackoverflow.com/questions/28198983/ionic-cordova-add-intent-filter-using-config-xml | |
Preferences: | |
1. Preferences defined outside of the platform element will apply to all platforms | |
2. Preferences defined inside a platform element will apply only to the specified platform |
NewerOlder