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
cob() { | |
git checkout $1 | |
git fetch origin | |
update_js="$(git diff --name-only origin/$1 package.json)" | |
update_sql="$(git diff --name-only origin/$1 db/structure.sql)" | |
update_gem="$(git diff --name-only origin/$1 Gemfile)" | |
git pull |
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
require 'twitter' | |
# SETUP | |
# Create an app on https://developer.twitter.com | |
# Be sure that you enabled OAUTH 1.0A with the 'Read and write and Direct message' in your twitter app | |
# For the required URLs (callback, website, etc.) you can put a random domain name, ex: https//localhost.com | |
# Initialize client with credentials | |
# Note: Consumer Key = API Key and Consumer Secret = API Secret |