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
| On Mon, Mar 19, 2018 at 10:07:12AM -0700, [redacted] wrote: | |
| > Hi David, | |
| > I'm working on a piece about how the Bitcoin blockchain can accommodate | |
| > arbitrary data, potentially making it illegal in certain countries and | |
| > circumstances. The paper about this can be found here: | |
| > | |
| > https://fc18.ifca.ai/preproceedings/6.pdf | |
| > | |
| > I'm wondering whether you might be available to comment before 1pm PT today. | |
| > |
| //a quick example of how to use actual 'if' statements inside template literals, | |
| //without using ternary operator. Sometimes this is cleaner if you have complex conditionals or nested conditionals. | |
| //data param is passed in via render(template(data), this) - if not using lit-html, could be any function | |
| template = (data) => html` | |
| <div id="job_edit" class="modal"> | |
| <div class="modal-content"> | |
| ${ | |
| //we're just going to wrap an anonymous inline function here and then call it with some data | |
| (job => { //job here, is just an example, it could be anything, it's passed in below in (data.job) | |
| if(job) |
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
UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.
Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar
I've worked with AngularJS for many years now and still use it in production today. Even though you can't call it ideal, given its historically-formed architecture, nobody would argue that it became quite a milestone not only for evolution of JS frameworks, but for the whole web.
It's 2017 and every new product/project has to choose a framework for development. For a long time I was sure that new Angular 2/4 (just Angular below) will become the main trend for enterprise development for years to come. I wasn't even thinking of working with something else.
Today I refuse to use it in my next project myself.
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| import requests | |
| import sys | |
| import json | |
| def waybackurls(host, with_subs): | |
| if with_subs: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
| else: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
This guide is unmaintained and was created for a specific workshop in 2017. It remains as a legacy reference. Use at your own risk.
Workshop Instructor:
This workshop is distributed under a CC BY-SA 4.0 license.
| // by davey @beesandbombs | |
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { |