This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RE: http://xkcd.com/936/ | |
import random | |
n = 4 | |
f = open('/usr/share/dict/words', 'r') | |
w = f.readlines() | |
print " ".join(map(lambda x : x.strip(), random.sample(w, n))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p2p7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 | |
ether XX:XX:XX:XX:XX:XX | |
inet6 fe80::1855:caff:fef2:5bc7%p2p7 prefixlen 64 scopeid 0x8 | |
media: autoselect | |
status: active |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304 | |
ether XX:XX:XX:XX:XX:XX | |
media: autoselect | |
status: inactive |
NewerOlder