Skip to content

Instantly share code, notes, and snippets.

View feffi's full-sized avatar

feffi feffi

View GitHub Profile
@feffi
feffi / pdns.conf
Created June 8, 2014 22:16
/etc/powerdns/pdns.conf
[...]
#################################
# launch Which backends to launch and order to query them in
#
# launch=
launch=gmysql
[...]
service pdns stop
@feffi
feffi / extractAuthors.sh
Created April 16, 2013 08:13
Extract author names from subversion log (for migration to git)
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = ${author} <${author}@LOCALHOST.NET>" >> authors.txt;
done
@feffi
feffi / authors.txt
Created April 16, 2013 09:35
authors.txt example file
rob = Ronald McDonald <dude@example.com>
someguy = Some Guy <someone@example.com>
@feffi
feffi / gist:5394735
Created April 16, 2013 09:49
disable macbook sudden motion
sudo pmset -a sms 0
@feffi
feffi / brewFetchOutdated.sh
Created April 16, 2013 09:40
fetch brew outdated packages for later installation
brew fetch `brew outdated | awk '{ print $1 }' | tr '\n' ' '`
@feffi
feffi / gist:5394738
Created April 16, 2013 09:50
disable macbook sudden motion
sudo pmset -a sms 1
@feffi
feffi / gist:5394743
Created April 16, 2013 09:52
delete inactive macports
port uninstall inactive
@feffi
feffi / gist:5394749
Created April 16, 2013 09:53
find files with umlauts in their names
find . -name "*[^a-zA-Z0-9 -_/.]*"
@feffi
feffi / gist:5394770
Created April 16, 2013 09:56
disable OSX Dashboard
defaults write com.apple.dashboard mcx-disabled -boolean yes