Last active
December 16, 2015 23:08
-
-
Save swarajban/5511456 to your computer and use it in GitHub Desktop.
Pachow!
This file contains 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
<?php | |
$html = trim(file_get_contents('http://swaraj.me')); | |
system("echo $html | pbcopy"); |
This file contains 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
def main(): | |
hards = ['p', 'ch', 'k', 't', 'w', 'z', 'm'] | |
vowels = ['i', 'o', 'a'] | |
pachow = '' | |
numSyllables = random.randint(1,4) | |
for i in range(0, numSyllables): | |
hard = random.choice(hards) | |
vowel = random.choice(vowels) | |
pachow += hard + vowel | |
pachow += random.choice(hards) | |
pachow += 'ow' | |
print pachow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment