Extract and create archive files
-x
Extract-z
(De)compress archive with gzip-v
Verbose-f
Location of archive
Cheatsheet of common typographical characters (not an exhaustive reference). HTML character references listed are decimal numeric character references, which are the base-10 equivalent of their corresponding base-16 (hexadecimal) Unicode code point. Also see named character references.
Glyph | HTML reference | Name |
---|---|---|
‘ | ‘ |
Left single quotation mark |
’ | ’ |
Right single quotation mark/apostrophe |
“ | “ |
Left double quotation mark |
” | ” |
Right double quotation mark |
Install Xcode Command Line Tools.
xcode-select --install
Install Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/Applications/Utilities/Terminal.app
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
</head> | |
<body> | |
<h1>Hello, world!</h1> | |
</body> |
Divergence-convergence model by Béla H. Bánáthy
Double Diamond by British Design Council
prototype
Infinity
/-Infinity
+0
/-0
null
is an objectNaN === NaN
is always falsetypeof
always returns object"
for all different reference typesNaN
(not a number) is literally "number"
but as a stringvoid
looks like a Java class but its only job is to return undefined
// H5BP Front-end Developer Interview Questions | |
// https://github.com/h5bp/Front-end-Developer-Interview-Questions#jscode | |
// Usage: | |
// 1 = add(1)(); | |
// 3 = add(1, 2)(); | |
// 6 = add(1, 2)(3); | |
// 10 = add(1, 2)(3, 4); | |
// 0 = add()(); | |
var add = function () { |