ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
class Solution(object): | |
def partitionDisjoint(self, A): | |
""" | |
:type A: List[int] | |
:rtype: int | |
""" | |
if not A: | |
return 0 | |
left = A[:1] | |
right = A[1:] |
brew install [email protected] | |
bundle config build.libv8 --with-system-v8 | |
bundle config build.therubyracer --with-v8-dir=$(brew --prefix [email protected]) | |
bundle install |
I hereby claim:
To claim this, I am signing this object:
driver.execute_script "$(document).on('page:load', function () { window.turbolink = true; });" | |
driver.execute_script "$(document).on('page:before-change', function () { window.turbolink = false; });" | |
wait = Selenium::WebDriver::Wait.new(:timeout => 10) | |
wait.until { driver.execute_script 'return window.turbolink;' } |
Sequel.migration do | |
up do | |
# Table: Burndown Project | |
# String: Name - The name of the project | |
# String: Description - Short description of the project | |
create_table(:burndown_project) do | |
primary_key :id | |
String :name | |
String :description | |
end |
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
As configured in my dotfiles.
start new:
tmux
start new with session name:
browser = Watir::Browser.new :ie | |
browser.goto http://yourlegacyaspdotnetpage | |
browser.text_field(:id => 'this_field will_force_a_post_back').set ('This is gonna suck') | |
browser.send_keys :tab | |
Watir::Wait.until { browser.ready_state.eql? "complete" } | |
# Rest of your code |