julia array of tuple
array of a pair of Int64 stack = Tuple{Int64,Int64}[] push!(stack,(1,2))
duplicity rollback
https://mailinabox.email uses duplicity for backup – the maintainers have repeatedly pushed a new releases which break duplicity for mail in a box. If this happens to you the way to get it back is thus (you’ll want find the file that goes with your version of ubuntu and with your Read more
flac to mp3 – find
find . -name “*.flac” -exec ffmpeg -i {} -ab 320k -map_metadata 0 -id3v2_version 3 {}.mp3 \;
HP M29w linux – ubuntu 24.04
This got me 90 % of the way: https://medium.com/@anzaloquin/how-to-configure-an-hp-scanner-on-ubuntu-overcoming-common-challenges-and-exploring-free-software-bf0a876cda07 the last 10 percent was getting the URI for my printer by running $ scanimage -L hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=########## and then running $ hp-scan -dhpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=########## which then triggered the HPLIP to install more software and then I could get it to scan by Read more
What I Wish Someone Told Me About Postgres – for posterity
https://challahscript.com/what_i_wish_someone_told_me_about_postgres What I Wish Someone Told Me About Postgres Nov 11, 2024 I’ve been working professionally for the better part of a decade on web apps and, in that time, I’ve had to learn how to use a lot of different systems and tools. During that education, I found that Read more
mailinabox
if nsd doesn’t start disable or configure ipv6sysctl -w net.ipv6.conf.all.disable_ipv6=0 sysctl -w net.ipv6.conf.default.disable_ipv6=0 service nsd start
get your pages indexed with google search console and google cloud
https://github.com/goenning/google-indexing-script