Skip to content

Instantly share code, notes, and snippets.

@lightrush
lightrush / README.md
Last active January 29, 2023 23:03
Build images with modified set of packages using OpenWrt's Docker-based Image Builder

Build images with modified set of packages using OpenWrt's Docker-based Image Builder

Possibly the simplest and quickest way to build an image with a modified set of packages is using OpenWrt's Docker imagebuilder container.

Make some workspace dir

mkdir -p openwrt/bin
cd openwrt
@iiordanov
iiordanov / capital_gains_etrade_simpletax_input_canada.md
Last active April 3, 2022 23:39
How to fill out Capital Gains Details in Simpletax for eTrade Orders

Intro

This is not financial advice, YMMV, use at your own risk, I assume no responsibility for the correctness or outcome of the usage of any of this information.

What we are Filling Out

We need to fill out three boxes in SimpleTax:

@lightrush
lightrush / README.md
Last active September 2, 2023 22:57
Normalize volume level with PulseAudio

Normalize volume level with PulseAudio and simultaneous output

This should work conceptually on any Linux OS with PulseAudio but these particular instructions are for Ubuntu. There are two major reasons for using simultaneous output. The first is self-evident - we can output to say a bluetooth headset and wired headphones at the same time to enable two people to watch a movie with headphones on a single computer. The second reason is a sort of a convenience for setup. We know the simultaneous sink name so the default.pa config would work without modification so long as simultaneous output is enabled. If we were to set this up without that, we'd have to customize the config with our specific device sink name. That's totally doable but personally I always setup simultaneous output. That's why I haven't described the alternative in this gist.