Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
<meta charset="UTF-8">
{ | |
"meta": { | |
"theme": "classy" | |
}, | |
"basics": { | |
"firstName": "Brandon", | |
"lastName": "Brown", | |
"name": "Brandon Brown", | |
"email": "[email protected]", | |
"phone": "", |
build { | |
# ... | |
provisioner "shell" { | |
inline = [ | |
"echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections", | |
"sudo apt-get update", | |
"sudo apt-get dist-upgrade -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef -y --allow-downgrades --allow-remove-essential --allow-change-held-packages", | |
"sudo apt-get autoremove -y", | |
"sudo apt-get clean", |
module.exports = (on, config) => { | |
// ... | |
const wpOptions = webpack.defaultOptions | |
wpOptions.webpackOptions.resolve = { | |
extensions: ['.ts', '.js'], | |
} | |
wpOptions.webpackOptions.module.rules.push({ | |
test: /\.ts$/, | |
exclude: [/node_modules/], |
{ | |
"editor.fontLigatures": true, | |
"editor.glyphMargin": false, | |
"editor.lineNumbers": "off", | |
"editor.snippetSuggestions": "top", | |
"editor.tabCompletion": true, | |
"editor.minimap.enabled": false, | |
"explorer.confirmDelete": false, | |
"explorer.openEditors.visible": 0, | |
"window.title": "${rootName}${separator}${activeEditorMedium}", |
#!/usr/bin/env node | |
// $ npm install -d fs-extra ora open puppeteer | |
const { spawn } = require('child_process') | |
const readline = require('readline') | |
const path = require('path') | |
const fse = require('fs-extra') | |
const open = require('open') |
#!/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 " " |
.elem { | |
width: 100vmin; | |
height: 100vmin; | |
margin-top: calc((100vh - 100vmin)/2); | |
margin-left: calc((100vw - 100vmin)/2); | |
} |
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" |