Skip to content

Instantly share code, notes, and snippets.

View devinmancuso's full-sized avatar
🍕
🔥

Devin Mancuso devinmancuso

🍕
🔥
View GitHub Profile
@devinmancuso
devinmancuso / cleanNBABookmarklet
Last active August 29, 2015 14:23
Remove any spoilers from NBA http://watch.nba.com/nba/ homepage bookmarklet
javascript:(function(e,a,g,h,f,c,b,d){
if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){
c=a.createElement("script");
c.type="text/javascript";
c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";
c.onload=c.onreadystatechange=function(){
if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){
h((f=e.jQuery).noConflict(1),b=1);
f(c).remove()}};
@devinmancuso
devinmancuso / PythonAutoTabber.py
Last active August 29, 2015 14:10
Example Python Chrome Keyboard Navigation Automated Unit Testing Using Selenium 2 WebDriver ChromeDriver
# Import unittest module for creating unit tests
import unittest
# Import time module to implement
import time
# Import the Selenium 2 module (aka "webdriver")
from selenium import webdriver
# For automating data input