Skip to content

Instantly share code, notes, and snippets.

View bruvik's full-sized avatar
🛴
I may be slow to respond.

Anders Bruvik bruvik

🛴
I may be slow to respond.
View GitHub Profile
dscl /Search read /Users/$USER AuthenticationAuthority | egrep -o "[A-Z0-9._%+-]+@[A-Z0-9.-]+\.(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)"
@bruvik
bruvik / dafgu_filter.txt
Created September 16, 2012 11:41 — forked from MagerValp/dafgu_filter.txt
rsync wrapper script
- .DS_Store
- /Shared
- /Guest
- /*/Library/Application Support/SyncServices/data.version
- /*/Library/Application Support/Firefox/Crash Reports
- /*/Library/Caches
- /*/Library/Logs
- /*/Library/Mail/Envelope Index
- /*/Library/Mail/Envelope Index-journal
- /*/Library/Mail/AvailableFeeds
@bruvik
bruvik / hack.sh
Created March 31, 2012 17:29 — forked from rustymyers/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#