View .bash_profile
source ~/.bashrc | |
# Unix Aliase | |
alias ll="ls -lisa" | |
alias la="ls -la" | |
alias ls-l="ls -l" | |
alias cd..="cd .." | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias workssh="ssh user@domain" |
View update_latest_revisions.py
#!/usr/bin/python | |
import os | |
import os.path | |
from subprocess import call | |
if __name__ == "__main__": | |
apps_dir = os.path.abspath('.') | |
for app_name in os.listdir(apps_dir): | |
app_dir = os.path.abspath(os.path.join(apps_dir, app_name)) | |
git_path = os.path.join(app_dir, '.git') |
View commit_latest_revisions.py
#!/usr/env/python | |
import os | |
import os.path | |
from subprocess import call | |
if __name__ == "__main__": | |
apps_dir = os.path.abspath('.') | |
for app_name in os.listdir(apps_dir): | |
app_dir = os.path.abspath(os.path.join(apps_dir, app_name)) | |
git_path = os.path.join(app_dir, '.git') |
View .gitconfig
[user] | |
name = John Doe | |
email = john.doe@gmail.com | |
[core] | |
excludesfile = /Users/doe/.gitignore | |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interacitve = auto |
View .hgrc
[ui] | |
username = John Doe <john.doe@gmail.com> | |
[defaults] | |
cdiff = -q | |
[extdiff] | |
cmd.cdiff = colordiff | |
opts.cdiff = -uprN | |
View .vimrc
" ################### | |
" # Global Settings # | |
" ################### | |
" Default shell | |
set shell=/bin/zsh | |
scriptencoding utf-8 | |
" ####### | |
" Bundles |
View settings.py
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os.path | |
import sys | |
# Basic Settings | |
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) | |
PROJECT_NAME = os.path.split(PROJECT_ROOT)[-1] | |
MEDIA_ROOT = '%s/media/' % PROJECT_ROOT |
View delpyc.sh
#!/bin/bash | |
find ./ -type f -name "*.pyc" -exec rm -f {} \; |
View pylink.sh
#!/bin/bash | |
ln -s `pwd`/$1 `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`/$1 |
View umlaute.pl
#!/usr/bin/perl | |
#=============================================================================== | |
# | |
# FILE: renametree.pl | |
# | |
# USAGE: ./renametree.pl | |
# | |
# DESCRIPTION: rename files and directories in the current tree to | |
# eliminate special characters |
OlderNewer