Skip to content

Instantly share code, notes, and snippets.

View billwestfall's full-sized avatar
🤔
thinkin'

Bill Westfall billwestfall

🤔
thinkin'
View GitHub Profile
@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 / 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_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]]
url = "https://hypem.com/popular";Import[url]
ToString[RandomWord[Language -> "Arabic"],CharacterEncoding -> "UTF8"]
For[i=1,i<=1000,i++,Print[i];Pause[10]]
import System.Random
g <- newStdGen
randomR (1, 624) g
-- rerun the last two steps for new random seed

cd /Users/billw/go/src/github.com/grafeas/grafeas/samples/server/go-server/api/server/main

go run main.go

cd /Users/billw/go/src/github.com/grafeas/client-go/example/v1alpha1

go run main.go

cd Users/billw/Documents/old/github_new/Grafeas/v1alpha1

RandomInteger[{1,670}]
> i <- 2
> repeat {if (i > 24) break else {print(i); Sys.sleep(1); i <- i + 2;}}