Terms I did not know and learnd over time.
- TC
- TC39
- ES6 (ES5, ES3)
- Core (about an open source project)
- Commit bit
- SemVer
| Decimal | Hex | Binary | | |
|---------|-----|----------| | |
| 0 | 00 | 00000000 | | |
| 1 | 01 | 00000001 | | |
| 2 | 02 | 00000010 | | |
| 3 | 03 | 00000011 | | |
| 4 | 04 | 00000100 | | |
| 5 | 05 | 00000101 | | |
| 6 | 06 | 00000110 | | |
| 7 | 07 | 00000111 | |
Programmers likes to fix things. When there is a typo in your code, then your code won't work. There are many requests to fix typo in the article from inconstant numbering in footnotes to wrong filename for images. When spotting someone's mistake, get creative and title your PR like "Instagram is only worth 1 Instragram not 2 Instragrams". Programmer's attention to detail extends not only the article itself, but also the license doc in the repo.
Don't forget to fact check before spotting mistake though. It's important. Keyword to use is AFAIK and can confirm.
Programmers love to know the source of information. There are few requests to add hyperlinks to contents referenced in the article. Some are from original autho
I've changed link to each video. I'll add links to slides as I find them :)
Simon Swain - Cold War Simulation
Yan Zhu - Weird Tricks to Improve Web Security 10000000% Slides
Jed Schmidt - Inline Styles
Michelle Bu - building component libraries
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script src="https://craig.global.ssl.fastly.net/js/mousetrap/mousetrap.min.js"></script> | |
<style> | |
#container{ | |
margin-right: auto; | |
margin-left: auto; | |
text-align: center; | |
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Upstart</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<meta name="keywords" content="poem, generator" /> | |
<meta name="date" content="2013-10-09" /> | |
<style type="text/css"> | |
a {text-decoration:none;color:black;} |
I hereby claim:
To claim this, I am signing this object:
var input = document.getElementById('message-input'); | |
function setReminder(who, what, when){ | |
var msg = `/remind ${who} ${what} ${when}` | |
input.value = msg | |
TS.view.submit() | |
} |
// creating input element with labal this way adds `htmlfor` attribute not `for` in <label> tag... disabling "clicl label to interact with input" | |
// screen shot : https://twitter.com/kosamari/status/744402490871906304 | |
/* WITH YO*/ | |
var yo = require('yo-yo') | |
function yoInput (id) { | |
return yo` | |
<div> | |
<input type="file" name="file" id="${id}"> | |
<label for="${id}">label for the file input (yo)</label> |
This is a ServiceWorker template to turn small github pages into offline ready app.
Whenever I make small tools & toys, I create github repo and make a demo page using github pages (like this one).
Often these "apps" are just an index.html
file with all the nessesary CSS and JavaScript in it (or maybe 2-3 html/css/js
files). I wanted to cache these files so that I can access my tools offline as well.
Make sure your github pages have HTTPS enforced, you can check Settings > GitHub Pages > Enforce HTTPS
of your repository.