These scripts use fzf
and sqlite
to efficiently query your firefox history and bookmarks.
This is heavily inspired by a post from the creator of fzf
: https://junegunn.kr/2015/04/browsing-chrome-history-with-fzf/.
fzf
allows you to select multiple items and the results returned will be the URLs.
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <openssl/sha.h> | |
#define TARGET_PREFIX "20250327" | |
#define MAX_WORDS 256 | |
#define MAX_TEXT 2048 | |
#define MAX_ATTEMPTS (1ULL << 32) // 2^32 attempts (~4.3B, enough for 8-char prefix) |
This file contains 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
_ _ _ ____ _ _ | |
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| | | |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / | | |
| _ | (_| | (__| < | |_) | (_| | (__| <|_| | |
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_) | |
A DIY Guide | |
This file contains 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
CVE-1999-0351 | Pizza Thief | |
---|---|---|
CVE-2002-20001 | DHEat | |
CVE-2003-0001 | Etherleak | |
CVE-2009-2532 | EDUCATEDSCHOLAR | |
CVE-2009-3103 | EDUCATEDSCHOLAR | |
CVE-2011-3389 | BEAST | |
CVE-2012-4929 | CRIME | |
CVE-2012-4929 | TIME | |
CVE-2013-0169 | Lucky Thirteen | |
CVE-2013-2853 | Cookie Cutter |
This file contains 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
#!/usr/bin/env bash | |
[[ $# -ge 1 ]] && query="$1" || query="" | |
cat $BOOTSTRAPDIR/papers.csv | \ | |
bat -l csv --color=always -p | \ | |
fzf -i \ | |
--exact \ | |
--cycle \ | |
--multi \ |
This file contains 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
""" | |
A script to automatically export bookmarks from Firefox's SQLite database. | |
There does not seem to be a programmatic way to get Firefox to export its bookmarks in | |
the conventional HTML format. However, you can access the bookmark information directly | |
in Firefox's internal database, which is what this script does. | |
Always be careful when working with the internal database! If you delete data, you will | |
likely not be able to recover it. |
This file contains 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
#!/usr/bin/env bash | |
[[ $# -ge 1 ]] && radio="mpv --volume=$1 --cache=yes --demuxer-max-bytes=2000000000" || radio="mpv --volume=80 --cache=yes --demuxer-max-bytes=2000000000" | |
echo 'genre,title,id,listeners,description' >/tmp/somafm | |
curl -s -H "Accept: application/json" "https://somafm.com/channels.json" | \ | |
jq -r '.channels[]|["(\(.genre)),\(.title),\(.id),\(.listeners) listeners,\(.description)"]|@csv' | \ | |
tr -d '"' | \ | |
sort >>/tmp/somafm |
This file contains 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
iata | location | airport | url | |
---|---|---|---|---|
CYUL | CYUL Tower | Pierre Elliott Trudeau International Airport | https://www.liveatc.net/hlisten.php?mount=cyul_twr2&icao=cyul | |
CYVR | CYVR Del/Gnd/Twr #1 | Vancouver International Airport | https://www.liveatc.net/hlisten.php?mount=cyvr1_gnd_twr&icao=cyvr | |
CYYC | CYYC Twr/App/Center | Calgary International Airport | https://www.liveatc.net/hlisten.php?mount=cyyc&icao=cyyc | |
CYYZ | CYYZ Tower | Lester B. Pearson International Airport | https://www.liveatc.net/hlisten.php?mount=cyyz7&icao=cyyz | |
EHAM | EHAM Tower (18C/36C-27/09) | Schiphol International Airport | https://www.liveatc.net/hlisten.php?mount=eham01_twr_main1&icao=eham | |
EINN | EINN Twr/App #1 | Shannon Airport | https://www.liveatc.net/hlisten.php?mount=einn2&icao=einn | |
EPRZ | EPRZ Del/Twr/EPWW Radar | Rzeszow-Jasionka Airport | https://www.liveatc.net/hlisten.php?mount=eprz&icao=eprz | |
KACY | KACY Twr/App/Mil | Atlantic City International Airport | https://www.liveatc.net/hlisten.php?mount=kacy_a_twr&icao=kacy | |
KAPA | KAPA Tower (Primary) | Centennial Airport | https://www.liveatc.ne |
This file contains 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
Alabama/Arab | 162.525 | https://wxradio.org/AL-ARAB-WNG642 | |
---|---|---|---|
Arizona/Payson Gila County N. | 162.425 | https://wxradio.org/AZ-PaysonGilaCountyN-WWG41 | |
Arizona/Phoenix | 162.550 | https://wxradio.org/AZ-Phoenix-KEC94 | |
California/Monterey | 162.550 | https://wxradio.org/CA-Monterey-KEC49 | |
California/Monterey Marine | 162.450 | https://wxradio.org/CA-MontereyMarine-WWF64 | |
Canada/Alberta/Calgary | 162.400 | https://wxradio.org/AB-Calgary-XLF339 | |
Canada/Alberta/Edmonton | 162.400 | https://wxradio.org/AB-Edmonton-XLM572 | |
Canada/British Columbia/Chilliwack | 162.400 | https://wxradio.org/BC-Chilliwack-VFV785 | |
Canada/Ontario/Collingwood | 162.475 | https://wxradio.org/ON-Collingwood-XMJ316 | |
Canada/Ontario/Toronto | 162.400 | https://wxradio.org/ON-Toronto-XMJ225 |
Setup for feeding data from my Raspberry Pi to:
- Flightradar24 (ADS-B)
- FlightAware (ADS-B)
- LiveATC (audio)
Hardware:
- Raspberry Pi 4 Debian Bullseye, arm64
- Mode-S Beast MkII (USB ADS-B receiver)
NewerOlder