This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
start [2023/10/21 14:27] abeverley |
start [2024/01/28 15:08] abeverley [Building packages from later versions of Debian for earlier releases] |
||
---|---|---|---|
Line 24: | Line 24: | ||
debuild -uc -us | debuild -uc -us | ||
- | References: | + | ==== Example: building openarc package from experimental ==== |
+ | |||
+ | Add experimental sources to ''/etc/apt/sources.list'': | ||
+ | |||
+ | deb-src http://httpredir.debian.org/debian/ experimental main contrib | ||
+ | |||
+ | apt-get build-dep openarc | ||
+ | apt-get source openarc | ||
+ | cd openarc-1.0.0~beta3+dfsg/ | ||
+ | dch --bpo # Can keep suggested new version | ||
+ | debuild -uc -us | ||
+ | |||
+ | ==== References ==== | ||
https://ostechnix.com/how-to-build-debian-packages-from-source/ | https://ostechnix.com/how-to-build-debian-packages-from-source/ | ||
https://unix.stackexchange.com/questions/112157/ | https://unix.stackexchange.com/questions/112157/ | ||
+ | Versioning info: https://www.debian.org/doc/debian-policy/ch-controlfields.html#version | ||
===== JSON Web Tokens with Perl ===== | ===== JSON Web Tokens with Perl ===== | ||
Some examples of [[how to use JWTs with Perl]] | Some examples of [[how to use JWTs with Perl]] | ||
+ | |||
+ | ===== Bulk resizing images ===== | ||
+ | |||
+ | # Maximum width 400px and max height 700px | ||
+ | mogrify -resize '400x700>' *.png | ||
+ | | ||
+ | # Maximum width 400px | ||
+ | mogrify -resize '400>' *.png | ||
===== Using Overlay (OpenStreetMap) ===== | ===== Using Overlay (OpenStreetMap) ===== |