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
A top-level App component returns <Button /> from its render() method.
What is the relationship between <Button /> and this in that Button’s render()?
Does rendering <Button><Icon /></Button> guarantee that an Icon mounts?
Can the App change anything in the Button output? What and how?
| <?php | |
| namespace App\Http\Controllers\Auth; | |
| use Illuminate\Http\Request; | |
| use App\Http\Requests; | |
| use App\Http\Controllers\Controller; | |
| class AuthController extends Controller |
| 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 |
by alexander white ©
| <?php | |
| //Call this with the shown parameters (make sure $time and $end are integers and in Unix timestamp format!) | |
| //Get a link that will open a new event in Google Calendar with those details pre-filled | |
| function make_google_calendar_link($name, $begin, $end, $location, $details) { | |
| $params = array('&dates=', '/', '&details=', '&location=', '&sf=true&output=xml'); | |
| $url = 'https://www.google.com/calendar/render?action=TEMPLATE&text='; | |
| $arg_list = func_get_args(); | |
| for ($i = 0; $i < count($arg_list); $i++) { | |
| $current = $arg_list[$i]; |
| <?php | |
| /** | |
| * Automatically login a single WordPress user upon arrival to a specific page. | |
| * | |
| * Redirect to home page once logged in and prevent viewing of the login page. | |
| * Compatible with WordPress 3.9.1+ | |
| * Updated 2014-07-18 to resolve WP_DEBUG notice: "get_userdatabylogin is deprecated since version 3.3! Use get_user_by('login') instead." | |
| * Updated 2019-07-09 to reformat code, pass 2nd parameter to `do_action()`, and hook into priority 1. | |
| * |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |