Skip to content

Instantly share code, notes, and snippets.

View ydbondt's full-sized avatar
:octocat:
Solution Architect @ Unifly

Youri De Bondt ydbondt

:octocat:
Solution Architect @ Unifly
View GitHub Profile
sudo arp-scan -I wlan0 192.168.1.0/24 | grep b8:27:eb
@ydbondt
ydbondt / gist:4259364
Last active October 13, 2015 21:38
My Git Aliasses
[alias]
lg = log --all --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
branch-name = "!git rev-parse --abbrev-ref HEAD"
publish = "!git push -u origin $(git branch-name)"
delete-merged-branches = "!git checkout master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
changed = "!git log --color --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' $(git branch-name) ^central/master --no-merges"