-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
cat /Users/*/Documents/cities.csv | shuf -n 1 |
Grid[{{Inning, 1, 2, 3, 4, 5, 6, 7, 8, 9}, {Mets, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {Reds, 0, 0, 0, 0, 0, 0, 0, 0, 0}}] |
test4 = RulePlot[CellularAutomaton[30]];Export["/Users/xxxxxx/Documents/test4.jpg", test4] |
x=Input["Please enter the card you drew (in quotes): ",{}];ToString[x] |
Do[a=RandomReal[{1, 100}, {6}]; Print[a]; b=FindAnomalies[a]; Print[b]; Pause[3], 4] |
["Shravan","Arpit","Motikant","Vinay","Shwetha","Bobby","Shobhit","Lohith","Kush"].sample(5) |
FromCharacterCode @ RandomInteger[{33, 126}, 20] |
Do[Print[RandomWord[]],{30}] |
Do[Print[RandomWord[]];Pause[n],{n,10}] |