Skip to content

Instantly share code, notes, and snippets.

View angus65's full-sized avatar

Chris Hoffman angus65

View GitHub Profile
# 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 February 14, 2017 20:36
SVN to Git conversion
#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 August 29, 2015 13:56
git alias commands for bashrc
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 January 19, 2014 21:00
Here are some things you can do with Gists in GistBox.
// 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 January 2, 2016 15:29
Auto Commit of SVN Changes into SubVersion.
# 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 December 19, 2013 22:52
Svn Ignore pattern I use for tortoise svn
*.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