This will let you access any google owned site. This includes: youtube, google cache, google translate, google search, gmail, google news, etc.
- Install the HTTPS Everywhere extension
- Add these rules to your /etc/hosts file
<?php | |
require "vendor/autoload.php"; | |
use Abraham\TwitterOAuth\TwitterOAuth; | |
// You can get all these via https://dev.twitter.com/ | |
$consumer_key = ""; | |
$consumer_secret = ""; | |
$access_token = ""; | |
$access_token_secret = ""; | |
$user_id = 0; // Twitter user ID |
export PS1="\n${RED}\u⍟${NO_COLOR} at ${LIGHT_BLUE}\h${NO_COLOR} in ${GREEN}\w${NO_COLOR}\$(__git_ps1 ' on ${PINK}%s')\$(__hg_ps1 ' on ${PINK}%s')${NO_COLOR}\n\$ " |
## | |
# Shell colors | |
# Note: In OS X Terminal, open preferences and make sure you check | |
# 'Display ANSI colors' and 'Use bright colors for bold text' | |
# then you can adjust each color and bright color variant there | |
## | |
BLACK="\[\e[0;30m\]" GREY="\[\e[1;30m\]" # in preferences: black | |
RED="\[\e[0;31m\]" BRIGHT_RED="\[\e[1;31m\]" # in preferences: red | |
GREEN="\[\e[0;32m\]" BRIGHT_GREEN="\[\e[1;32m\]" # in preferences: green |
" Vundle | |
filetype off | |
" Plugins | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Vundle installed |
http://stackoverflow.com/questions/927358/git-undo-last-commit | |
Undo a commit and redo | |
$ git commit ... | |
$ git reset --soft HEAD^ (1) | |
$ edit (2) | |
$ git commit -a -c ORIG_HEAD (3) | |
This is most often done when you remembered what you just committed is incomplete, or you misspelled your commit message, or both. Leaves working tree as it was before "reset". |