This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Toggle hidden files in Finder: shift + cmd + .
Related tutorial: http://krypted.com/mac-os-x/mavericks-show-hidden-files/
""" | |
Usage: | |
python google_drive_file.py 1nOwa2UN36-IDeZtqu4TLTNxGo8R5-mGF ~/Downloads/pycon_talk.mp4 | |
""" | |
import requests | |
def download_file_from_google_drive(id, destination): | |
def get_confirm_token(response): |
// Ctrl+Shift+C to open Chrome Console. | |
// Choose an IFrame of the Vimeo Video with a comment `player.vimeo.com` | |
// in the drop-down list `top`. | |
// Run a script: | |
var videos = []; | |
$$('script')[3].textContent.match(/\{[^{]+?mp4[^}]+?\}/g).forEach( | |
x => { o = JSON.parse(x); | |
videos.push(o);}); | |
videos.sort((a, b) => a.quality.localeCompare(b.quality)).forEach( |
# codename/app.py
def create_app():
app = FrameworkApp()
...
return app
$ gunicorn --workers=2 'codename.app:create_app()'
#!/usr/bin/env python | |
# coding: utf8 | |
"""Example of a spaCy v2.0 pipeline component that requests all countries via | |
the REST Countries API, merges country names into one token, assigns entity | |
labels and sets attributes on country tokens, e.g. the capital and lat/lng | |
coordinates. Can be extended with more details from the API. | |
* REST Countries API: https://restcountries.eu (Mozilla Public License MPL 2.0) | |
* Custom pipeline components: https://spacy.io//usage/processing-pipelines#custom-components |
{"lastUpload":"2018-09-20T13:26:37.455Z","extensionVersion":"v3.1.2"} |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
These tips have been collected through the years from professors, past and present. You can also check out the Learning How To Learn coursera for other general tips
In a conceptual class such as this, it is particularly important to maintain a steady effort throughout the semester, rather than hope to cram just before homework deadlines or exams. This is because it takes time and practice for the ideas to sink in. Make sure you allocate a sufficient number of hours every week to the class, including enough time for understanding the material as well as for doing assignments. (As a rough guide, you should expect to do at least three hours of problem solving for each hour of lecture.) Even though this class does not have any major projects for undergraduate students, you should plan to spend as much time on it as on any of your other technical classes. Possibly even more.
The homeworks are explicitly designed **to help you to learn the materi
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 10px sans-serif; | |
} | |
.axis path, | |
.axis line { |