Skip to content

Instantly share code, notes, and snippets.

Working from home

Chris Hoffman angus65

Working from home
View GitHub Profile
View gist:8302cf7eec777ed9e9a38a5d04874275
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
# Initializes Oh My Zsh
# add a function path
fpath=($ZSH/functions $ZSH/completions $fpath)
angus65 / svn_2_git_commands
Last active Feb 14, 2017
SVN to Git conversion
View svn_2_git_commands
#Create Authors File
java -jar svn-migration-scripts.jar authors choffman > ~/authors_temp.txt
#use Git to clone the SVN Repo to local folder
git svn clone --stdlayout --authors-file=authors.txt ediDownload
#NON standard repos.... like Utilities
git svn clone --authors-file=authors.txt ediDownload
angus65 / bashrc_git_alais
Last active Aug 29, 2015
git alias commands for bashrc
View bashrc_git_alais
alias less='less -r'
# --show-control-chars: help showing Korean or accented characters
alias ls='ls -F --color --show-control-chars'
alias ll='ls -l'
alias g='git '
alias got='git '
alias get='git '
alias ga='git add '
angus65 / 0_reuse_code.js
Created Jan 19, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
angus65 / SVN_AutoCommit.bat
Last active Jan 2, 2016
Auto Commit of SVN Changes into SubVersion.
View SVN_AutoCommit.bat
# Delete Missing Files
svn status | ? { $_ -match '^!\s+(.*)' } | % { svn rm $Matches[1] }
# Add New Files
svn status | ? { $_ -match '^\?\s+(.*)' } | % { svn add $Matches[1] }
# Remove Locks
svn cleanup
# Commit with a message.
svn commit -m "Night Automatic commit" --username <<SVN_USER_NAME>> --password <<SVN_PASSWORD>>
# Remove Locks
svn cleanup
angus65 / svn ignore
Created Dec 19, 2013
Svn Ignore pattern I use for tortoise svn
View svn ignore
*.so *.so.[0-9]* *.o .lo .la ## ..rej .rej .~ ~ .# .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk .msi .res *.pch *.suo *.exp .~ .~ ~. release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user _ReSharper.* ReSharper. *.resharper.user *.al .libs *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp *.cache *.pdb