The following will minify your assets with grunt each time a generation write completes.
- Install Dependencies
The following will minify your assets with grunt each time a generation write completes.
The instructions are multifold, before we begin, consider what you will call the bucket for your files. E.g. my-storage-bucket
.
Cloudflare R2 is free for the first 10GB of storage, then is $0.015/GB-month of storage. R2 uniquely does not charge for transfers, for uploading and downloading.
References used to construct this guide:
Posted on https://www.last.fm/music/Bloc+Party/Another+Weekend+In+The+City/+shoutbox?sort=popular | |
I was an original compiler of this, though track listing changed. | |
https://web.archive.org/web/20100914172131/https://www.last.fm/user/balupton links a 2017 journal entry where I shared my track listing (the actual entry was not archived, my llast.fm account was deleted when last.fm was acquired by CBS, and the computer with the full track listing crashed) | |
From fragments of various backups, I compiled two albums | |
My incomplete track listing for "Another Weekend in the City” | |
01 England | |
02 Emma Kate's Accident |
// Create our server | |
var server; | |
server = http.createServer(function(req,res){ | |
// Set CORS headers | |
res.setHeader('Access-Control-Allow-Origin', '*'); | |
res.setHeader('Access-Control-Request-Method', '*'); | |
res.setHeader('Access-Control-Allow-Methods', 'OPTIONS, GET'); | |
res.setHeader('Access-Control-Allow-Headers', '*'); | |
if ( req.method === 'OPTIONS' ) { | |
res.writeHead(200); |
<link rel="preconnect" href="https://rsms.me/" /> | |
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" /> | |
<style> | |
:root, | |
html, | |
body | |
article, | |
p, | |
h1, | |
h2, |
// https://gist.github.com/1145804 | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
history = window.history, | |
$ = window.jQuery, | |
document = window.document; | |
// Check to see if the HTML5 History API is enabled for our Browser |
I'm @balupton, author of dorothy which is the largest public bash codebase that I am aware of.
Dorothy is coded using set -e
(errexit) to avoid || return $?
statements on every single one of its thousands of lines of code, for the most part this has worked well, however I was suprised when the down
command would report a failure via:
However it would also report a success within the called function:
# test input/output availability, accurately but noisely | |
(: </dev/stdin || printf '%s\n' 'cannot read stdin') || : | |
(: >/dev/stdin || printf '%s\n' 'cannot write stdin') || : | |
(: </dev/stdout || printf '%s\n' 'cannot read stdout') || : | |
(: >/dev/stdout || printf '%s\n' 'cannot write stdout') || : | |
(: </dev/stderr || printf '%s\n' 'cannot read stderr') || : | |
(: >/dev/stderr || printf '%s\n' 'cannot write stderr') || : | |
(: </dev/tty || printf '%s\n' 'cannot read tty') || : | |
(: >/dev/tty || printf '%s\n' 'cannot write tty') || : |