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
color: black !important; | |
background: white !important; | |
font-size: 2em !important; | |
font-family: sans-serif !important; |
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
// http://zzzscore.com/1to50/en | |
function clickAllSquares(){ | |
var clickedCount=0; | |
for(currentNum=1;currentNum<51;currentNum++){ | |
console.log("processing "+currentNum); | |
cells = document.querySelectorAll("div#grid div"); | |
for(var cellindex=0;cellindex<cells.length;cellindex++){ | |
var foundInt = parseInt(cells[cellindex].innerText); | |
if(foundInt==currentNum){ |
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
// http://zzzscore.com/1to50/en | |
function clickAllSquares(){ | |
var clickedCount=0; | |
for(currentNum=1;currentNum<51;currentNum++){ | |
console.log("processing "+currentNum); | |
cells = document.querySelectorAll("div#grid div"); | |
for(var cellindex=0;cellindex<cells.length;cellindex++){ | |
var foundInt = parseInt(cells[cellindex].innerText); | |
if(foundInt==currentNum){ |
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
var zTypeBotAlphaChars = "abcdefghijklmnopqrstuvwxyz"; | |
var zTypeBotCharToType = 0; | |
ztypebot = setInterval(function() { | |
ig.game.shoot( | |
zTypeBotAlphaChars.charAt(zTypeBotCharToType)); | |
zTypeBotCharToType = (zTypeBotCharToType +1)%26; | |
} | |
, 100); |
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
var xhttp = new XMLHttpRequest(); | |
xhttp.open("GET","https://bitbloxs.herokuapp.com/boxes?api_key=thisistheapikey"); | |
xhttp.onload = (e)=>{ | |
console.log(xhttp.status); | |
console.log(xhttp.responseText); | |
} | |
xhttp.send(null); | |
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
@Test | |
public void firefoxUseExtensions() throws IOException { | |
// ************************************************************************** | |
// profile is good for setting preferences and fiddling with browser settings | |
// ************************************************************************** | |
// Download the extension to a local folder | |
String s = File.separator; | |
String extensionPath = System.getProperty("user.dir") + |
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
package com.seleniumsimplified.webdriver.drivers; | |
import org.junit.Test; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.firefox.FirefoxBinary; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import org.openqa.selenium.firefox.FirefoxOptions; | |
import org.openqa.selenium.firefox.FirefoxProfile; | |
import org.openqa.selenium.remote.DesiredCapabilities; |
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
package com.seleniumsimplified.webdriver.drivers; | |
import com.seleniumsimplified.webdriver.manager.Driver; | |
import com.seleniumsimplified.webdriver.manager.ProxyPort; | |
import org.junit.BeforeClass; | |
import org.junit.Ignore; | |
import org.junit.Test; | |
import org.openqa.selenium.WebDriver; | |
//import org.openqa.selenium.firefox.MarionetteDriver; | |
import org.openqa.selenium.firefox.FirefoxDriver; |
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
Found this little Galaxians game which is quite nice and hackable: | |
http://michal.biniek.pl/games/galaxian.html | |
~~~~~~~~ | |
var infiniteLivesBot = setInterval(function(){if(oLives.iLives<3){oLives.add();}},1000); | |
~~~~~~~~ | |
~~~~~~~~ | |
var autofireBot = setInterval(function(){MyShip.shoot();},200) |
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
for (x = app.todos.models.length - 1; x >= 0; x--) { | |
app.todos.models[x].destroy() | |
} |