start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2018/12/06 21:48] – abeverley | start [2024/09/04 08:23] (current) – abeverley | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== About me ===== | ===== About me ===== | ||
- | Please either check out my [[http:// | + | Please either check out my [[http:// |
+ | |||
+ | ===== Build MariaDB with readline support ===== | ||
+ | |||
+ | I've been frustrated with the use of editline (libedit) instead of readline that MariaDB is now built with in Debian 11. I have found editline to be buggy: its implementation of Ctrl-R and editing of wrapped lines do not work well, plus Ctrl-W not being mapping to delete a word by default is infuriating! | ||
+ | |||
+ | As I understand it, Debian is no longer able to distribute MariaDB built against readline as the former is GPL2 and the latter GPL3, and apparently the 2 are incompatible | ||
+ | |||
+ | ===== Building packages from later versions of Debian for earlier releases ===== | ||
+ | |||
+ | I had a problem recently whereby [[https:// | ||
+ | |||
+ | apt-get install dpkg-dev devscripts | ||
+ | vim / | ||
+ | apt-get update | ||
+ | apt source chkrootkit | ||
+ | apt build-dep chkrootkit | ||
+ | cd chkrootkit-0.55 | ||
+ | dch --bpo # Update package version so as not to conflict | ||
+ | debuild -uc -us | ||
+ | |||
+ | ==== Example: building openarc package from experimental ==== | ||
+ | |||
+ | Add experimental sources to ''/ | ||
+ | |||
+ | deb-src http:// | ||
+ | |||
+ | apt-get build-dep openarc | ||
+ | apt-get source openarc | ||
+ | cd openarc-1.0.0~beta3+dfsg/ | ||
+ | # Download additional patches | ||
+ | cd debian/ | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | # Apply | ||
+ | cd ../.. | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | dch --bpo # Add letter to suggested version | ||
+ | dpkg-source --commit | ||
+ | debuild -uc -us | ||
+ | |||
+ | ==== References ==== | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | Versioning info: https:// | ||
+ | |||
+ | ===== Building Debian packages of Perl modules ===== | ||
+ | |||
+ | On production servers, I much prefer to use Perl modules from Debian repositories, | ||
+ | |||
+ | Sometimes a Perl module is either not available in the main Debian repositories, | ||
+ | |||
+ | ===== JSON Web Tokens with Perl ===== | ||
+ | |||
+ | Some examples of [[how to use JWTs with Perl]] | ||
+ | |||
+ | ===== Bulk resizing images ===== | ||
+ | |||
+ | # Maximum width 400px and max height 700px | ||
+ | mogrify -resize ' | ||
+ | |||
+ | # Maximum width 400px | ||
+ | mogrify -resize ' | ||
+ | |||
+ | ===== Using Overlay (OpenStreetMap) ===== | ||
+ | |||
+ | [[overlay|Using Overlay to extract data from OpenStreetMap]] | ||
===== Using iptables and PHP to create a captive portal ===== | ===== Using iptables and PHP to create a captive portal ===== | ||
Line 51: | Line 124: | ||
===== Customise live Ubuntu for internet cafe environment ===== | ===== Customise live Ubuntu for internet cafe environment ===== | ||
- | * A page with instructions on how to customise a copy of Ubuntu and make it network bootable in order to use within an internet cafe environment. In my opinion this is vastly superior to most arrangements in internet cafes that I use! [[cubuntu|Customise live Ubuntu for internet cafe environment]] | + | A page with instructions on how to customise a copy of Ubuntu and make it network bootable in order to use within an internet cafe environment. In my opinion this is vastly superior to most arrangements in internet cafes that I use! [[cubuntu|Customise live Ubuntu for internet cafe environment]] |
===== Setup SMTP authentication with Postfix running on Debian ===== | ===== Setup SMTP authentication with Postfix running on Debian ===== | ||
Line 64: | Line 137: | ||
===== Tomatina tomato festival ===== | ===== Tomatina tomato festival ===== | ||
- | * A page with advice about the Tomatina festival that I attended in 2006. [[http:// | + | A page with advice about the Tomatina festival that I attended in 2006. [[http:// |
- | + | ||
- | ===== Random computer notes ===== | + | |
- | * A page with some random notes. [[Computer_notes|Computer notes]] | ||
andy@andybev.com | andy@andybev.com | ||
start.1544132921.txt.gz · Last modified: 2018/12/06 21:48 by abeverley