$ ffmpeg -i <source> -vf "fps=30,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" <target>.gif
# How to Align macOS Terminal Window Dimensions with Tiling | |
1. Size the Dock vertically to the desired height. | |
2. Tile Terminal.app to the desired portion of your screen. | |
3. Open Terminal preferences -> Profile -> Default profile -> Window. | |
4. In the Window Size section, tweak the Columns and Rows. | |
5. Relaunch and retile Terminal.app. | |
6. If the window launches to a different size than tiled, GOTO step 4. | |
Note that terminals may use altogether different sizes when presenting demos on another display. |
$ gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
$ gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
The included instructions fail to explain how to remove any existing batteries during replacement. So we document the full process here.
- Select either of the individual light ends of the LazerBrite system for battery replacement.
- Unscrew any plastic diffusal attachments from the individual light, to reveal the bare LED.
- On the other side of the individual light, unscrew any plastic attachments.
- Untie any helix loops from the black battery cover.
- Use a medium flathead driver (screwdriver, coin, back of a utensil, etc) to unscrew the battery cover.
- Firmly smack the open battery holder against a clean, hard surface until the two CR2032 batteries fall out.
The KX3 transceiver is designed for HF amateur band operation. The KX3 natively supports 160m - 6m.
An optional 2m accessory can extend the band support to 2m, though the installation of that accessory is a more intensive, electronics hobbyist task.
As with all radios, do not transmit when the antenna is disconnected. Avoid touching the antenna or feed line when transmitting. Power down the radio and disconnect the feed line when making antenna adjustments.
Yaesu sells handheld transceivers with an optional belt clip, detached by default. To attach the clip, remove any battery. Then firmly insert the two belt clip screws with an appropriate screwdriver. My radio came with two small Phillips head screws.
The battery charges via a barrel plug located on the right side of the radio.
A growing list of notes, bugs, issues, problems, design flaws, oddities, quirks, bad UX, nonintuitivity, challenges, frequently asked questions, gotchas, glitches, and errors with the Baofeng UV-5x3 amateur radio transceiver.
DO NOT TRANSMIT ON THE RADIO WHILE THE ANTENNA IS DISCONNECTED, UNFOLDED, OR DAMAGED; DOING SO MAY RESULT IN PAINFUL BURNS FROM SPURIOUS RADIO FREQUENCY EMISSIONS.
Homebrew keeps changing the syntax to install casks. | |
As of this writing, the syntax is `brew install homebrew/cask/<formula>`. |
- Backup any critical data.
- Launch an administrative PowerShell session.
- Change directory like
cd "C:\Users\andrew\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState"
- Run
optimize-vhd -Path ext4.vhdx -Mode full
- Wait a few minutes for the process to complete.
- Relaunch WSL.
`include "fulladder.sv" | |
module fulladder_chain #(parameter WIDTH)(input carry_in, [WIDTH-1:0] a, [WIDTH-1:0] b, output carry_out, [WIDTH-1:0] sum); | |
const int sizes[] = {WIDTH-2, 0}; | |
const int CARRY_WIDTH = sizes.max; | |
wire [CARRY_WIDTH:0] carries; |