This file contains 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
window.location.href = URL.createObjectURL(new Blob([new TextEncoder().encode(document.documentElement.outerHTML).buffer], { type: 'text/html' })); |
This file contains 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
prompt('Copy the the text below and paste it into the adress bar', URL.createObjectURL(new Blob([new TextEncoder().encode(document.documentElement.outerHTML).buffer], { type: 'text/plain' }))); |
This file contains 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
const fs = require('fs'); | |
const exec = require('child_process').execSync; | |
const files = fs.readdirSync('.').filter(f => f.endsWith('.wav')); | |
if (!fs.existsSync('./out')) fs.mkdirSync('./out'); | |
files.forEach(file => exec('ffmpeg -i ' + file + ' -c:a libopus -ac 2 ./out/' + file.replace('.wav', '.webm'), {stdio: 'inherit'})); | |
console.log('########'); |
This file contains 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
commit() { # commit <message> | |
git stage -A | |
git commit -m "$*" | |
git push | |
} | |
archive-branch() { # archive-branch <name> | |
git tag archive/$* $* | |
git push origin archive/$* | |
git branch -D $* |
This file contains 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
:root { | |
--bg-0: #0000; /* Brightest */ | |
--bg-1: #0000; | |
--bg-2: #0000; | |
--bg-3: #0000; /* Darkest */ | |
--text-0: #23aeb5; /* Darkest */ | |
--text-1: #23aeb5; | |
--text-2: #23aeb5; | |
--text-3: #23aeb5; /* Brightest */ | |
--color-0: #23aeb5; /* "Ring" Color */ |