Skip to content

Instantly share code, notes, and snippets.

View w-barath's full-sized avatar
🏠
Working from home

William Barath w-barath

🏠
Working from home
View GitHub Profile
@w-barath
w-barath / ffav1.sh
Last active October 3, 2023 18:50
bash script around ffmpeg to simplify batch-processing AV1/Opus encoded MKV and WEBM files
#!/bin/bash
# ffav1.sh Copyright 2021-2023 William Barath [email protected]
# see the embedded license (-license) and acknowledgements (-help)
#### initial state: ##########################################################
APP="ffav1.sh" AUTHOR="\"William Barath\" <[email protected]>";
GITHUB_GISTS="https://gist.github.com/w-barath";
VERSION="2023.09.29" COPYRIGHT="Copyright 2021-2023 $AUTHOR";
@w-barath
w-barath / gist:24ea31e55af8912a357285e557a78ff6
Created January 28, 2019 22:27
Stylus phpMyAdmin conveniences
Applies To: .*/phpMyAdmin/.*
#page_content div.tools.print_ignore > a:nth-child(6) {
position: fixed;
z-index: 1000;
top: 2em;
right: .5em;
background: #FFC;
color: #821;
padding:.5em;
@w-barath
w-barath / 1fps jQuery
Created November 20, 2014 22:14
greasemonkey fps jQuery save laptop battery
// ==UserScript==
// @name 1fps jQuery
// @namespace *
// @description jQuery animations 1fps or off
// @version 1
// @grant none
// ==/UserScript==
if ($ && $.fx && $.fx.interval) {
$.fx.interval=1000; // try to slow it down