Skip to content

Instantly share code, notes, and snippets.

View zvaavtre's full-sized avatar

Dave Minnigerode zvaavtre

View GitHub Profile
@zvaavtre
zvaavtre / .gitignore
Last active August 19, 2018 20:50
Typical .gitignore for Maven, springboot, and IntelliJ
# Intellij
.idea/
*.iml
*.iws
# Mac
.DS_Store
# Maven
log/
@zvaavtre
zvaavtre / .gitconfig
Created August 18, 2018 18:07
.gitconfig with some useful aliases
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
co = checkout
ci = commit
st = status
@zvaavtre
zvaavtre / gist:e63cafb6c6c3a68b14be7bb86c12077f
Created November 4, 2016 21:29
IDEBuildOperationMaxNumberOfConcurrentCompileTask
#!/bin/bash
#
# Look, you are not supoposed to do this. But dang it, it speeds up recompiles by a lot.
#
echo "job count is: " `defaults read com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask`
echo "Changing to: $1"
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask $1
echo "job count is now: " `defaults read com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask`