Skip to content

Instantly share code, notes, and snippets.

View billwestfall's full-sized avatar
🤔
thinkin'

Bill Westfall billwestfall

🤔
thinkin'
View GitHub Profile
For[i=1,i<=1000,i++,Print[i];Pause[10]]
ToString[RandomWord[Language -> "Arabic"],CharacterEncoding -> "UTF8"]
url = "https://hypem.com/popular";Import[url]
@billwestfall
billwestfall / mathematica_random_word_loop.wl
Created July 9, 2018 02:32
update loop count and pause as desired
For[i=1,i<3,i++,Print[RandomWord[]];Pause[2]]
@billwestfall
billwestfall / random_word_arabic.wl
Created July 9, 2018 05:44
random word in arabic
ToString[RandomWord[Language -> "Arabic"],CharacterEncoding -> "UTF8"]
@billwestfall
billwestfall / mathematica_random_word_arabic_loop.wl
Created July 9, 2018 05:51
update count, language and pause as needed
For[i=1,i<3,i++,Print[ToString[RandomWord[Language -> "Arabic"],CharacterEncoding -> "UTF8"]];Pause[2]]
@billwestfall
billwestfall / mathematica_random_word_do_loop.wl
Created July 13, 2018 21:35
using the Do loop in mathematica to print a word and then pause n seconds until next word, gradually slowing down the loop
Do[Print[RandomWord[]];Pause[n],{n,10}]
@billwestfall
billwestfall / random_word_multiple.wl
Created July 21, 2018 05:16
Random word 30 times no pause
Do[Print[RandomWord[]],{30}]
FromCharacterCode @ RandomInteger[{33, 126}, 20]
["Shravan","Arpit","Motikant","Vinay","Shwetha","Bobby","Shobhit","Lohith","Kush"].sample(5)