Skip to content

Instantly share code, notes, and snippets.

View junkdog's full-sized avatar
🐥

Adrian Papari junkdog

🐥
  • Stockholm
View GitHub Profile
@junkdog
junkdog / .profile
Last active August 29, 2015 13:56 — forked from vrutberg/.profile
# searches pom.xml files for $1 - skip target folders
alias poms="find . -name pom.xml -and -not -path '*/target/*' -print0 | xargs -0 fgrep -n --color=auto $1"
# copies the output of the last command to the clipboard
copylast() {
fc -s | pbcopy
}
# will show you how many commits there are that matches $1
numcommits() {
import static org.junit.Assert.*;
import com.artemis.Entity;
import com.artemis.World;
import org.junit.Test;
public class Test {
@Test