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
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" |
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
#!/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') |
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
#!/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') |
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
[user] | |
name = John Doe | |
email = [email protected] | |
[core] | |
excludesfile = /Users/doe/.gitignore | |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interacitve = auto |
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
[ui] | |
username = John Doe <[email protected]> | |
[defaults] | |
cdiff = -q | |
[extdiff] | |
cmd.cdiff = colordiff | |
opts.cdiff = -uprN | |
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
" ################### | |
" # Global Settings # | |
" ################### | |
" Default shell | |
set shell=/bin/zsh | |
scriptencoding utf-8 | |
" ####### | |
" Bundles |
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
#!/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 |
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
#!/bin/bash | |
find ./ -type f -name "*.pyc" -exec rm -f {} \; |
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
#!/bin/bash | |
ln -s `pwd`/$1 `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`/$1 |
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
#!/usr/bin/perl | |
#=============================================================================== | |
# | |
# FILE: renametree.pl | |
# | |
# USAGE: ./renametree.pl | |
# | |
# DESCRIPTION: rename files and directories in the current tree to | |
# eliminate special characters |
OlderNewer