This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install libusb-1.0-0-dev git cmake build-essential pkg-config | |
sudo apt install debhelper | |
git clone https://github.com/rtlsdrblog/rtl-sdr-blog | |
cd rtl-sdr-blog | |
sudo dpkg-buildpackage -b --no-sign | |
cd .. | |
sudo dpkg -i librtlsdr0_*.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm \ | |
-v ~/tmp/berkeley-mono/origin:/in \ | |
-v ~/tmp/berkeley-mono/patched:/out \ | |
-u $(id -u):$(id -g) \ | |
nerdfonts/patcher \ | |
--progressbars \ | |
--mono \ | |
--adjust-line-height \ | |
--fontawesome \ | |
--fontawesomeext \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# History | |
HISTFILE=~/.zsh_history | |
HISTSIZE=1000000 | |
SAVEHIST=1000000 | |
setopt append_history | |
setopt inc_append_history | |
setopt hist_ignore_dups | |
export PATH=$HOME/.local/bin:$HOME/bin:$HOME/oss-cad-suite/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { act, render, screen } from "@testing-library/react" | |
import { List } from "./List" | |
type IntersectFn = (entries: any[]) => void | |
function mockIntersectionObserver(): [ | |
jest.MockedObject<IntersectionObserver>, | |
IntersectFn | |
] { | |
let intersectionObserverCallback: IntersectFn = () => {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -y -f alsa -thread_queue_size 1024 -i hw:2 -f v4l2 -thread_queue_size 1024 -i /dev/video-hdmi-capture -c:v libx264 -pix_fmt yuv420p -r 60 -c:a aac -ac 2 -ar 48000 lol.mp4 |