Skip to content

Instantly share code, notes, and snippets.

View alvinkatojr's full-sized avatar

Alvin Kato J.R. alvinkatojr

View GitHub Profile
@oriolgual
oriolgual / autoconf.rb
Created May 2, 2021 07:35
Autoconf 2.69, needed to install Erlang with BigSur (fails with 2.71)
class Autoconf < Formula
desc "Automatic configure script builder"
homepage "https://www.gnu.org/software/autoconf"
url "https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz"
mirror "https://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz"
sha256 "954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969"
license all_of: [
"GPL-3.0-or-later",
"GPL-3.0-or-later" => { with: "Autoconf-exception-3.0" },
]
@eviltester
eviltester / gist:11093f0e4c501a41990e227393184eda
Last active February 24, 2026 13:58
uncheck twitter interests
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;});
@liangfu
liangfu / ffmpeg.md
Created May 24, 2017 04:46 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@staltz
staltz / introrx.md
Last active March 24, 2026 13:52
The introduction to Reactive Programming you've been missing
@oginorasta
oginorasta / Intellij Shortcut list
Last active October 28, 2022 08:45
All the shortcuts I know and use in Intellij Idea resp. Android Studio. v 1.0
Strg Alt Shift Key Function
x Einf Generate/Insert dialog
x x ENTER Statements completion like blocks and brackets
x x T Surrond codeblock with…
x W Select succesively increasing code blocks
x F11 bookmarks and mark the line with selected key
x F11 invokes a list of bookmarks. Pressing a key takes to associated bookmark.
x x Backspace go to most recent code edit. Hit again to go even further back.
x E recent opened files
x x E recent edited files