Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
<meta charset="UTF-8">
#!/bin/bash | |
#Scaling | |
#- Scale can be used as is which will set the height to 560 but keep aspect ratio for width. | |
#- Other options include setting both with & height | |
#- Watch out for sizing errors when not divisible by 2 | |
if [[ ! "$1" || ! "$2" || ! "$3" ]] || [[ "$1" = '--help' ]]; then | |
if [[ "$1" = '--help' ]]; then | |
echo " " |
DOMAIN='brandonb.ca'; curl http://web.archive.org/cdx/search/cdx\?limit\=1\&url\=$DOMAIN | awk '{ print $2 }' | xargs date -j -f "%Y%m%d%H%M%S" |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
body {max-width: 106ex; margin: 0 auto; padding: 1em 1ex; font-family: monospace; color: rgb(64,64,64)} | |
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {color: rgb(192,0,0)} | |
h1, h2, h3, h4, h5, h6 {font-weight: bold; color: black; font-size: 1.2em; margin: 2em 0 1em 0} | |
h1 {text-indent: -2ex; font-size: 2em} | |
h2 {text-indent: -3ex; font-size: 1.5em} | |
h3 {text-indent: -4ex; font-size: 1.2em} | |
h4 {text-indent: -5ex; font-size: 1em} | |
h5 {text-indent: -6ex; font-size: 1em} | |
h6 {text-indent: -7ex; font-size: 1em} | |
h1:before {content: '# '} |
(function(window){ | |
var EVENT_EXISTS = 'GlobalEvents: Event already exists.'; | |
var eventIsRunning, | |
_eventStack, | |
_findByName, | |
stackEvent, | |
removeEvent, | |
eventListener, |
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "src/js/*.js'", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
/** | |
* Modified from the Connect project: https://github.com/senchalabs/connect/blob/master/lib/middleware/errorHandler.js | |
* | |
* Flexible error handler, providing (_optional_) stack traces and logging | |
* and error message responses for requests accepting text, html, or json. | |
* | |
* Options: | |
* | |
* - `showStack` respond with both the error message and stack trace. Defaults to `false` | |
* - `showMessage`, respond with the exception message only. Defaults to `false` |