Skip to content

Instantly share code, notes, and snippets.

View m-ueberall's full-sized avatar

Markus Ueberall m-ueberall

View GitHub Profile
@m-ueberall
m-ueberall / gist:c5df7d50c896e77941fb29fad8e10801
Created October 28, 2018 08:50
Get ImportExportTools (v3.3.0) extension to work again with Thunderbird 60.2.1
mkdir /tmp/ie
cd /tmp/ie
#wget -O importexporttools-3.3.0-sm+tb.xpi https://addons.thunderbird.net/thunderbird/downloads/latest/importexporttools/addon-324492-latest.xpi
wget https://addons.thunderbird.net/thunderbird/downloads/latest/importexporttools/addon-324492-latest.xpi
unzip *.xpi install.rdf
sed -i 's|59|99|' install.rdf
zip -9mu *.xpi install.rdf
# now install the add-on "from file" (see, e.g., http://kb.mozillazine.org/Extensions_%28Thunderbird%29)
@m-ueberall
m-ueberall / lxd-latest_readthedocs_io.sh
Created August 26, 2018 07:58
Quick and dirty script to work around the currently broken/missing HTML, PDF archive download from https://lxd.readthedocs.io/
#!/bin/bash
#quick and dirty script to download current version of HTML files from https://lxd.readthedocs.io/en/latest/ as both HTML, PDF export is broken atm
#required external tools: wget, egrep, sed, perl, find, google-chrome-[un]stable, pdftk
BASEDIR=lxd.readthedocs.io/en/latest
#download all the files, but make sure nothing is "in the way" first
rm -Rf ./$BASEDIR/
echo Downloading all HTML files from https://$BASEDIR/ ...
LANG=C wget -l 0 -r -np -k https://$BASEDIR/ 2>&1 | egrep '\.html.*saved' >lxd-latest_readthedocs_io.log