Skip to content

Instantly share code, notes, and snippets.

View wneessen's full-sized avatar

Winni Neessen wneessen

View GitHub Profile
@wneessen
wneessen / setMacDNS.sh
Created January 24, 2011 14:00
Set your MacOS X resolver using scutil for all interfaces
INTERFACES=`echo "list State:/Network/Service/[^/]+/DNS" | scutil | awk -F= '{print $2}'`
SERVER=<yourDNS>
for INTERFACE in ${INTERFACES}
do
echo "get ${INTERFACE}\nd.add ServerAddresses * ${SERVER}\nset ${INTERFACE}" | sudo scutil
done
1. Glühwein bestellen
Einen Glühwein bestellen geht schon mal gar nicht. Damit sagt man, dass man
'ne knickrige Sau ist, keine Freunde hat oder Antialkoholiker ist, quasi das
Allerletzte. Also immer mindestens zehn Stück bestellen.
Nie vorher abzählen, wie viele Leute um einen herum stehen und dann genau
die Anzahl bestellen!
Einfach irgendeine Zahl über die Theke grölen.
Ganz falsch: Die Umstehenden fragen, ob sie überhaupt noch einen Glühwein
haben wollen.
Wichtige Regel: Gefragt wird nicht - saufen ist schließlich kein Spaß.
[wneessen@tiger3 ~]$ ping google.de
PING google.de (209.85.148.147) 56(84) bytes of data.
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=1 ttl=56 time=8.72 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=2 ttl=56 time=8.74 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=3 ttl=56 time=8.55 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=4 ttl=56 time=8.58 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=5 ttl=56 time=8.46 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=6 ttl=56 time=8.63 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=7 ttl=56 time=8.57 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=8 ttl=56 time=8.43 ms
[10:39:01] sys: Available commands:
/me [text]
/topic [text]
/add [skypename]
/history
/find [text]
/fa or /
/alertson [text]
/alertsoff
/leave
CASE COALESCE(HistoryGeneric.handle,0)
WHEN 0 THEN
CASE substring(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE
(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
Documents.Destination,' ',''),')',''),'(',''),
'-',''),'/',''),'.',''),'*',''),',',''),';',''),
'\',''),'-',''),1,1)
WHEN '1' THEN substring(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
REPLACE(REPLACE(REPLACE( REPLACE(REPLACE(
REPLACE(Documents.Destination,' ',''),')',

Keybase proof

I hereby claim:

  • I am wneessen on github.
  • I am winni (https://keybase.io/winni) on keybase.
  • I have a public key whose fingerprint is 6E9E 3C6E 8A2E B99C 3AB3 D9DD 949E 0A1B A1C6 865E

To claim this, I am signing this object: