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
{ | |
"name": "yarn-flags-order", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"echo": "echo $NODE_ENV" | |
} | |
} |
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
#!/usr/bin/env osascript -l JavaScript | |
const help = ` | |
Export Things 3 area/project into Markdown format and upload it to GitHub Gist | |
./thingist.js --area <area-name> | |
./thingist.js --project <project-name> | |
./thingist.js --project <project-name> --token <github-token> --gist <gist-id> | |
Options: |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>test apple-touch-icon</title> | |
<canvas id=c width=180 height=180 style="border: 1px solid black"></canvas> | |
<div id=t></div> | |
<script> | |
const ctx = window.c.getContext('2d') | |
ctx.fillStyle = `rgb(${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)})`; | |
ctx.fillRect(0, 0, 180, 180); |
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
# depends on eyeD3, ffmpeg, and jq (`brew install eye-d3 ffmpeg jq`) | |
# run when in the directory with unarchived tracks | |
ffmpeg \ | |
-f concat \ | |
-safe 0 \ | |
-i (find (pwd) -name '*.mp3' | sed -e "s/\(.*\)/file '\1'/" | sort | psub) \ | |
-c copy \ | |
(basename -s " - Track 001.mp3" (find . -iname '* - Track 001.mp3'))".mp3" |
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
/* theverge.com */ | |
.hidden:has(.m-ad), | |
.duet--content-cards--content-card:has([aria-label="Copy link"]) { | |
display: none !important; | |
} | |
.font-polysans { | |
font-family: Helvetica, Arial, sans-serif !important; | |
} |
OlderNewer