Skip to content

Instantly share code, notes, and snippets.

brew install ffmpeg
cd /path/to/flac
for i in *.flac; do ffmpeg -i "$i" -vn -c:a alac "$(basename "$i" .flac).m4a"; done;
@receptor
receptor / http2redis.ts
Created March 20, 2019 02:03
Publish HTTP request to Redis channel
process.on("SIGINT", () => process.exit());
import * as bodyParser from "body-parser";
import express from "express";
import redis from "redis";
// logger
const now = () => new Date().toISOString();
const loggerFacility = console;
const logger = {
### Keybase proof
I hereby claim:
* I am receptor on github.
* I am sebp (https://keybase.io/sebp) on keybase.
* I have a public key ASBlTt0ie4yELLDigD6AcIH-B-AqIIlEONlZEZ2MnwRp4Qo
To claim this, I am signing this object: