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
| Adyen Test Card Numbers | |
| These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform. | |
| For all cards use the following expiration and CVV2/CVC2/or CID for Amex. | |
| For all cards: | |
| Expiration Dates CVV2 / CVC3 CID (American Express) | |
| 08/2018 OR 10/2020 737 7373 |
| var numberOfPaths = function(matrix, i, j, size) { | |
| var count = 0; | |
| if (i == size - 1 && j == size - 1) { | |
| return matrix[i][j]; | |
| } | |
| if (i == size - 1) { | |
| return matrix[i][j + 1] | |
| } | |
| if (j == size - 1) { | |
| return matrix[i + 1][j] |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <?php | |
| /** | |
| * A controller plugin for protecting forms from CSRF | |
| * | |
| * Works by looking at the response and adding a hidden element to every | |
| * form, which contains an automatically generated key that is checked | |
| * on the next request against a key stored in the session | |
| * | |
| * @author Jani Hartikainen <firstname at codeutopia net> | |
| */ |
| function reload_page(){ | |
| $.ajax( | |
| { | |
| url:"", | |
| context:document.body, | |
| success: function(s,x){ | |
| $(this).html(s); | |
| } | |
| } | |
| ); |
| var propertyChangeUnbound = false; | |
| $("#testbox").on("propertychange", function(e) { | |
| if (e.originalEvent.propertyName == "value") { | |
| alert("Value changed!"); | |
| } | |
| }); | |
| $("#testbox").on("input", function() { | |
| if (!propertyChangeUnbound) { | |
| $("#testbox").unbind("propertychange"); |
| /** | |
| * Sentry filter | |
| * | |
| * Checks if the user is logged in | |
| */ | |
| Route::filter('Sentry', function() | |
| { | |
| if ( ! Sentry::check()) { | |
| return Redirect::route('cms.login'); | |
| } |