Skip to content

Instantly share code, notes, and snippets.

@Fire-
Fire- / !dynamic-scale.kapchat.css
Last active February 14, 2023 02:55
KapChat changes - dynamic scaling with font size, inverted message order, custom font
/* main, full replace, dynamic kapchat. This will override all CSS in the default clear theme */
html {
font-size: 24px;
/* everything scales with this font-size; default is 16px.
* Usage of `em` in font-size refers to the parent's font-size as 1em.
* Usage of `rem` refers to the root em value ( this ) instead.
* Use `rem` when possible.
*/
width: 100%;
height: 100%;
@Fire-
Fire- / v2f.sh
Created June 20, 2017 04:28
video to gif
## change seek (-ss) and length (-t) values as appropriate.
## Preview with ffplay first.
ffmpeg -ss 00:00:13.80 -t 00:00:11.90 -i input.file -vf "crop=in_w:720,fps=50" -an -r 50 -f image2pipe -c:v ppm - | magick convert -set delay 2 - -delay 2 -layers Optimize output.file.gif
@Fire-
Fire- / railgun-sound.js
Last active August 20, 2017 09:27
sound settings for railgun & mixer
const [muted, unmuted] = [false, true];
let Config = {
Software: {
Playback: {
"Device Name": "Speakers",
Levels: {
"Realtek HD Audio Output": [0.0, unmuted],
Microphone: [0.0, muted],
"Front Pink In": [-34.5, muted],
"Rear Blue In": [-15.0, muted],