Get that nasty brew out of your system directories!
sudo rm -rf /usr/local/Homebrew/
sudo rm -rf /usr/local/Caskroom/
sudo rm -rf /usr/local/Cellar/
Now remove all broken symlinks from /usr/local/opt/
which, on a typical brew-infected system, will be all of them:
This is in response to Kai Hendry's NodeJS vs Go error handling
- 0:00 Storytime: TJ leaves node because it sucks
- 0:25 Example: A simple service to increment a number
- 0:40 - 0:51 Node.js: A Naive Route Implementation
See https://github.com/therootcompany/base62-token.js.
const DICT = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
const PREFIX_LEN = 4
const CHECKSUM_LEN = 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"regions": [ | |
{ | |
"name": "New York 1", | |
"slug": "nyc1", | |
"features": [ | |
"backups", | |
"ipv6", | |
"metadata", | |
"install_agent", |
- Film is captured at 23.976 fps (not actually 24 fps)
- A USA Blu-Ray is played at 24 fps
- EU broadcast is 25 fps
If you want to pair Latvian audio from a Tet+ stream (Baltic Streaming service) with a USA Blu-Ray, you need to adjust the video playback to be 25.025025024 fps - which turns out to be 24 * (25 / 23.976).
It's better to squish the USA video than to expand the EU audio because the audio has already lost information that cannot be reexpanded, but the video has extra frames that can be dropped or merged with minimal loss of quality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CC = {}; | |
window.CC = CC; | |
(function () { | |
"use strict"; | |
// 4242-4242-4242-4242 | |
function formatVisa(digits, pos) { | |
var all = ""; | |
all += digits.slice(0, 4); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
let request = require('@root/request'); | |
let Postmark = module.exports; | |
Postmark._serverToken = process.env.POSTMARK_SERVER_TOKEN || ''; | |
// Divide streams into Transactional vs Bulk and Important vs Casual | |
Postmark.streams = { |