Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
As configured in my dotfiles.
start new:
tmux
start new with session name:
| http://www.dizzy.co.uk/cheatsheets | |
| This work is licensed under the Creative Commons | |
| Attribution-NonCommercial-NoDerivs 2.0 License. To | |
| view a copy of this license, visit | |
| http://creativecommons.org/licenses/by-nc-nd/2.0/uk | |
| ########## Shell Commands ########## | |
| Installation: | |
| $ gem install capistrano |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| @import url(http://fonts.googleapis.com/css?family=Titillium+Web:200); | |
| /* ===[ Page ]=== */ | |
| body { background: #ccc url(/NoAuth/images/custbg.png) repeat } | |
| /* ===[ Page title ]=== */ | |
| div#header h1 { | |
| margin-top: 0px; | |
| font-family: 'Titillium Web', sans-serif; | |
| font-weight: 200; | |
| font-size: 1.8em; |
| from mechanize import Browser | |
| from BeautifulSoup import BeautifulSoup | |
| def extract(html): | |
| soup = BeautifulSoup(html) | |
| table = soup.find("table", border=1) | |
| list_of_rows = [] | |
| for row in table.findAll('tr')[1:]: | |
| list_of_cells = [] | |
| for cell in row.findAll('td'): |
| /* Page */ | |
| @import url(https://fonts.googleapis.com/css?family=Fira+Sans:300,400,700,300italic,400italic,700italic|Fira+Mono:400,700|Over+the+Rainbow|Merriweather:400,300italic,300,400italic,700,700italic); | |
| /* Fonts | |
| font-family: 'Fira Sans', sans-serif; | |
| font-family: 'Merriweather', serif; | |
| font-family: 'Fira Mono', monospace; | |
| font-family: 'Over the Rainbow', cursive, fancy; |
| #! /usr/bin/env python | |
| # requires pip | |
| # pip install rt | |
| import rt | |
| import urllib3 | |
| import argparse | |
| """ | |
| Create ticket using python-rt interface | |
| https://github.com/CZ-NIC/python-rt |