Disable EOL uninstall warnings:
Disable auto updates when installing
Add "EOLUninstallDisable=1" to mmc.cfg in C:\WINDOWS\system32\Macromed\Flash
(C:\Windows\SysWOW64\Macromed\Flash on 64-bit)
---
Defuse flash player time bomb:
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
// npm install @uttori/audio-wave | |
// UTTORI_AUDIOWAV_DEBUG=1 DEBUG=AudioWAV node wav-checker.js | |
const path = require('path'); | |
const { readdir, readFile } = require('fs').promises; | |
const { AudioWAV } = require('@uttori/audio-wave'); | |
async function* getFiles(dir) { | |
const dirents = await readdir(dir, { withFileTypes: true }); | |
for (const dirent of dirents) { | |
const res = path.resolve(dir, dirent.name); |
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 MarkdownItRenderer = require('@uttori/plugin-renderer-markdown-it'); | |
const config = { | |
// Uttori Specific Configuration | |
uttori: { | |
// Prefix for relative URLs, useful when the Express app is not at root. | |
baseUrl: '', | |
// Good Noodle List, f a domain is not in this list, it is set to 'external nofollow noreferrer'. |
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
#!/bin/bash | |
curl -s https://packagecloud.io/install/repositories/kintaro/pcb/script.deb.sh | sudo bash | |
sudo apt-get -y install kintarosnes |
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
# Compress WAV Files with FLAC | |
find . -name "*.wav" -exec flac --best -A "tukey(0.5)" -A flattop --exhaustive-model-search --replay-gain --verify --delete-input-file {} \; | |
# Re-Encode FLAC Files | |
find . -name "*.flac" -exec flac --best -A "tukey(0.5)" -A flattop --exhaustive-model-search --replay-gain --force --verify {} \; | |
# Convert SHN to FLAC | |
for file in ./*.shn; do | |
ffmpeg -i "$file" "$file.flac" | |
done |
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
[user] | |
name = Matthew Callis | |
email = | |
signingkey = XXXXXXXXXXXXXXXX | |
[github] | |
user = MatthewCallis | |
[push] | |
default = current | |
[pull] | |
default = current |
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
<?php | |
$max_file_size = 5 * 1024 * 1024 * 10; // 50MB | |
$path = "💎/"; # "~/domain.tld/cool_files/uploads/"; // Upload Directory, outside of web access dir. | |
// $valid_formats = array("rar","zip","7z","pdf","xlsx","xls","docx","doc","txt"); | |
// $valid_formats_server = array( | |
// "application/pdf", | |
// "application/octet-stream", | |
// "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", | |
// "application/vnd.openxmlformats-officedocument.wordprocessingml.document", | |
// "application/msword", |
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
// http://callmenick.com/2014/05/13/css-toggle-switch-examples/ | |
$toggle-size: 26px; | |
$toggle-width: $toggle-size * 2; | |
$toggle-speed: 0.2s; | |
input { | |
&.toggle { | |
position: absolute; | |
// margin-left: -9999px |
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
.console | |
.warn | |
margin-top: 1em | |
label | |
font-weight: 700 | |
input, | |
textarea | |
font-family: Monaco, Menlo, Consolas, "Courier New", monospace | |
font-size: 12px | |
line-height: 1.7em |