mkdir tutorial-django cd tutorial-django
virtualenv venv source venv/bin/activate
mkdir src cd src
mkdir tutorial-django cd tutorial-django
virtualenv venv source venv/bin/activate
mkdir src cd src
if $TERM == "xterm-256color" | |
set t_Co=256 | |
endif | |
colorscheme jelleybeans | |
set guifont=Monaco:h12 | |
let NERDTreeQuitOnOpen=0 | |
map <C-J> <C-W>j | |
map <C-K> <C-W>k |
#!/usr/bin/env python | |
import os | |
import shlex | |
import struct | |
import platform | |
import subprocess | |
def get_terminal_size(): | |
""" getTerminalSize() |
import SimpleCV | |
camera = SimpleCV.Camera() | |
image = camera.getImage() | |
image.show() |
running install | |
running bdist_egg | |
running egg_info | |
writing SimpleCV.egg-info/PKG-INFO | |
writing top-level names to SimpleCV.egg-info/top_level.txt | |
writing dependency_links to SimpleCV.egg-info/dependency_links.txt | |
writing entry points to SimpleCV.egg-info/entry_points.txt | |
reading manifest file 'SimpleCV.egg-info/SOURCES.txt' | |
writing manifest file 'SimpleCV.egg-info/SOURCES.txt' | |
installing library code to build/bdist.linux-x86_64/egg |
As configured in my dotfiles.
start new:
tmux
start new with session name:
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="agnoster" | |
# Uncomment the following line to use case-sensitive completion. |
# import aliases | |
if [ -f ~/.zsh_aliases ]; then | |
. ~/.zsh_aliases | |
fi | |
# set color | |
export TERM=xterm-256color | |
# print welcome message | |
python ~/.zsh/shascii/welcome.py |
# play sound after command | |
alias s='aplay -q ~/.zsh/sounds/done.wav 2>/dev/null' | |
# virtualenv3 | |
alias virtualenv3='virtualenv --python=python3' | |
# Django | |
alias pm='python manage.py' | |
alias pmr='python manage.py runserver' | |
alias pms='python manage.py shell' |