Hi! If you see an error or something is missing (like :focus-within for few years :P) please let me know ❤️
Element -- selects all h2 elements on the page
h2 {| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="templating.js" type="text/javascript" charset="utf-8"></script> | |
| </head> | |
| <body> | |
| <template id=t> |
##what are generators##
yield a value, the function pauses until .next(modifiedYieldValue) is calledvar myGen = function*() {
var one = yield 1;
var two = yield 2;
var three = yield 3;
console.log(one, two, three);| #!/usr/bin/env node | |
| var args = process.argv.slice(2); | |
| //console.log('Started'); | |
| // String startsWith polyfill | |
| if (!String.prototype.startsWith) { | |
| Object.defineProperty(String.prototype, 'startsWith', { | |
| enumerable: false, |
git config --global url."https://".insteadOf git://git config --global http.proxy http://proxyuser:proxypass@prxrj.prevnet:8080git config --global https.proxy http://proxyuser:proxypass@prxrj.prevnet:8080curl -v -U proxyuser:proxypass -x http://prxrj.prevnet:8080 --url http://www.google.com --proxy-ntlm| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| ul li:nth-last-child(2) { | |
| ... | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Building a router</title> | |
| <script> | |
| // Put John's template engine code here... | |
| (function () { | |
| // A hash to store our routes: |
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |