Document moved to: https://github.com/servo/servo/blob/master/HACKING_QUICKSTART.md
//----------------------------------*\ | |
// TRIGONOMETRY FUNCTIONS | |
//----------------------------------*/ | |
// # Trigonometry in CSS | |
// | |
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf | |
// - Useful if you don't want to use JS. | |
// - With CSS Variables. | |
// - `calc()` can't do power (x ^ y) so I used multiplication instead. |
/** | |
* Responsive rem hack | |
* --- | |
* Makes the `rem` unit behave like a dynamic value based on the viewport, with a max width. | |
* This makes it easy to apply dynamic values to margin and paddings. | |
* warning, `rem` becomes useless for font-sizes. | |
* | |
* Usage: | |
* | |
* .vertical-spacing { |
The Federal Aviation Administration is posting PDFs of the Section 333 exemptions that it grants, i.e. the exemptions for operators who want to fly drones commercially before the FAA finishes its rulemaking. A journalist wanted to look for exemptions granted to operators in a given U.S. state. But the FAA doesn't appear to have an easy-to-read data file to use and doesn't otherwise list exemptions by location of operator.
However, since their exemptions page is just one giant HTML table for listing the PDFs, we can just use wget to fetch all the PDFs, run pdftotext on each file, and then [grep](https://medium.com/@rualthanzauva/grep-was-a-private-command-of-m
/** | |
* | |
* Facebook Birthday Liker - | |
* Likes your friends' posts for your birthday | |
* | |
* Usage: | |
* 1. Face the fact that you're an ungrateful, lazy being | |
* 2. Paste the following code in your console | |
* | |
*/ |
#How I built an audio book reader for my nearly blind grandfather
Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.
####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an
#!/bin/bash | |
# | |
# Open the specified file on GitHub. It will use the master branch by default: | |
# | |
# repo -f app/controllers/application_controller.rb | |
# | |
# Specify a different branch: | |
# | |
# repo -b another-branch -f app/controllers/application_controller.rb |
The docpad-plugin-ghpages
uses the following information to stitch a new repo with contents of ./out
directory onto root of your gh-pages
branch:
git config user.email
git config user.name
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |