Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry session
Debugger
This file contains 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
#!/bin/sh -x | |
CURRENT=`git branch | grep "*" | awk '{print $2}'` | |
git checkout master | |
git fetch | |
git merge origin/master | |
git checkout ${CURRENT} | |
git merge master ${CURRENT} |
This file contains 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
CONSUMER_KEY="YOUR_CONSUMER_KEY" | |
CONSUMER_SECRET="YOUR_CONSUMER_SECRET" | |
curl --request POST --verbose \ | |
"https://api.xing.com/v1/request_token" \ | |
-d "oauth_callback=oob" \ | |
-d "oauth_version=1.0" \ | |
-d "oauth_signature_method=PLAINTEXT" \ | |
-d "oauth_consumer_key=$CONSUMER_KEY" \ | |
-d "oauth_signature=$CONSUMER_SECRET%26" |