Skip to content

Instantly share code, notes, and snippets.

View MattesGroeger's full-sized avatar

Mattes Groeger MattesGroeger

View GitHub Profile
@MattesGroeger
MattesGroeger / .zshrc
Created November 25, 2011 11:29
My .zshrc (part), gitconfig and diff_merge.sh for opening git diffs with DiffMerge app
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
plugins=(git osx brew svn)
# Normal aliases
alias gco='git co'
alias gci='git ci'
alias grb='git rb'
alias d='git diff --word-diff $@'
alias c='git commit -v $@'
alias s='git status -sb'
@MattesGroeger
MattesGroeger / switch_branch.sh
Created May 16, 2011 20:31
Run this script to switch branches for multiple projects at the same time. Execute script with terminal command "sh switch_branch.sh".
#! /bin/sh
# path to local branch workspace
branch="/Users/user/Documents/workspaces/workspace_project_branch"
# path to remote branch
remotebranch="https://svnhoster/project/branches"
# modules
MODULE[0]="client_core"
if (tutorialMode)
{
var tutorialChain:ITutorialActionChain = TutorialChainBuilder.create(context)
.addAction(new WaitAction(2))
.addConcurrentChain()
.addAction(new MoveMapAction(new GridPoint(-6, -5), 3))
.addSequentialChain()
.addAction(new WaitAction(1))
.addAction(new ZoomMapAction(1, 2))
.finalizeSubChain()