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
#AppleScript | |
#- bounce wifi: turn it off, then turn it on | |
#- open AppleScript Editor, paste lines 4,5,6, save as application | |
#- ** oh be sure to set the network_device -- en0 in my case to the correct interface | |
set network_device to "en0" | |
do shell script "networksetup -setairportpower " & network_device & " off" | |
do shell script "networksetup -setairportpower " & network_device & " on" |
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
# Original from http://ryanbigg.com/2013/08/bundler-local-paths/ | |
> bundle config local.spree ~/Projects/gems/spree | |
- creates ~/.bundle/config | |
- which is used by all projects/apps | |
# Per app | |
> bundle config --local local.gem "path/to/local/gem" | |
- note: I had to manually cd into project/app directory to get this to create the file at 'app/.bundle/config' |
NewerOlder