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 {
##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:8080
git config --global https.proxy http://proxyuser:proxypass@prxrj.prevnet:8080
curl -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%; | |
} |
<div data-role="page" id="chatPage" data-theme="c" class="type-interior"> | |
<div data-role="content"> | |
<div class="content-primary"> | |
<div data-role="header" data-position="fixed" data-tap-toggle="false"> | |
<h1>Pub Messenger</h1> | |
</div><!-- /header --> | |
<div data-role="content"> | |
<ul data-role="listview" id="messageList"> |