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
import sys | |
reload(sys) | |
sys.setdefaultencoding('utf-8') | |
import urllib2 | |
from retry import retry | |
try: | |
from BeautifulSoup import BeautifulSoup | |
except ImportError: | |
from bs4 import BeautifulSoup |
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
# capsSwitch | |
# depends on keyboardSwitcher and maclight | |
# to get the list of possible layouts, check `keyboardSwitcher list` output | |
# to check what layouts you use, check `keyboardSwitcher get` while switching layouts | |
layout1="U.S." | |
layout2="Russian - PC" | |
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" |
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
PROMPT='%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%}%(!.#.$) ' |
NewerOlder