Skip to content

Instantly share code, notes, and snippets.

View batden's full-sized avatar

Philippe Jean Guillaumie batden

  • France
  • 18:16 (UTC +02:00)
View GitHub Profile
@batden
batden / EDI-Prerequisites
Last active January 17, 2024 15:35
EDI-Prerequisites
For Ubuntu.
sudo apt install --no-install-recommends bear lib32gcc-s1 lib32stdc++6 libc6-i386 libstdc++-11-dev libobjc-11-dev
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libllvm11_11.1.0-6_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang-11-dev_11.1.0-6_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang-common-11-dev_11.1.0-6_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang1-11_11.1.0-6_amd64.deb
sudo dpkg -i libllvm*
sudo dpkg -i libclang*
@batden
batden / Building-Poedit-from-Git
Last active February 29, 2024 15:13
Building-Poedit-from-Git
For Ubuntu Mantic/Noble.
Dependencies:
sudo apt install --no-install-recommends git build-essential gawk gettext libpugixml-dev libicu-dev liblucene++-dev libgtkspell3-3-dev \
nlohmann-json3-dev libcld2-dev libcpprest-dev libwxgtk-webview3.2-dev \
libboost-all-dev libsecret-1-dev
Source code:
git clone https://github.com/vslavik/poedit.git
@batden
batden / Building-libjxl-from-Git
Last active March 2, 2024 07:27
Building-libjxl-from-Git
For Ubuntu.
Dependencies:
sudo apt install --no-install-recommends build-essential asciidoc clang cmake doxygen git graphviz freeglut3-dev libavif-dev libbrotli-dev libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev pkg-config python3-sphinx
Source code:
git clone https://github.com/libjxl/libjxl.git --recursive --shallow-submodules
Compilation:
cd libjxl/
@batden
batden / pbackup.sh
Last active April 6, 2024 11:13
Backup-installed-packages
#!/bin/bash
# Usage:
# chmod +x pbackup.sh
# ./pbackup.sh
DISTRO=$(lsb_release -sc)
DATE=$(date +%Y-%m-%d)
# Clean up the system.
if [ $DISTRO == jammy ]; then