Step-by-step guide to transfer and set up an old GPG key (for Git commit signing) on a new machine.
WARNING: tested only on my setup (LineageOS 18.1 on instantnoodle), other setups may break and brick the device!
Step-by-step instructions (for reinstalling patched boot.img for Magisk):
- upgrade LineageOS to the latest by the standard way in Android GUI (download + install + reboot)
- if using not the latest Magisk: wipe old (possibly hidden) Magisk app then install the up-to-date one from the official Magisk github repo
install (git clone) payload_dumper from GitHub (in Termux or in an SSH session on the Android device) for the 1st time, or update (git pull) laterthe Android terminal session: wget the same LineageOS nightly image installed in step 1 from https://download.lineageos.org/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################################ | |
| ########### 2024 July 03 - TLP P14s Gen 5 AMD by Sylvain POULAIN ############### | |
| ################################################################################ | |
| # Content of /etc/tlp.d/tlp.conf for P14s Gen 5 AMD | |
| # (Also works with T14 Gen 5 : same hardware, same motherboard) | |
| ################################################################################ | |
| # Complete harware list => https://linux-hardware.org/?probe=1c547a828f | |
| ################################################################################ | |
| # /!\ For better performance use "acpi.ec_no_wakeup=1" in Kernel option | |
| # https://patchwork.kernel.org/project/linux-acpi/patch/ZnFYpWHJ5Ml724Nv@ohnotp/ |
- Don't know what Melodics is? Watch this great introduction by Slynk
- Download Melodics
- I had audio glitches so I had to run the application like this:
export PULSE_LATENCY_MSEC=5\
&& export WINEPREFIX="/home/alinz/.wine"\
&& wine "$USER/.wine/dosdevices/c:/Program Files/Melodics/Melodics.exe"TL;DR: Melodics runs out-of-the-box with the current version of Bottles and its default settings. However Melodics uses your browser to handle logins, and expects your browser to be able to call the Melodics app once logged-in. Read "Melodics Desktop Integration" below to set that up.
Versions tested:
| Ubuntu | Gentoo | Fedora |
|---|---|---|
| bc | sys-devel/bc | bc |
| bison | sys-devel/bison | bison |
| build-essential: g++ gcc libc6-dev make | sys-libs/glibc sys-libs/libcxx virtual/libc sys-devel/make | gcc gcc-c++ glibc glibc-devel libcxx libcxx-devel make |
| ccache | dev-util/ccache | ccache |
| curl | net-misc/curl | curl |
| flex | sys-devel/flex | flex |
| g++-multilib | sys-devel/gcc[multilib,cxx] | gcc-c++.i686 |
| gcc-multilib | - | gcc.i686 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://archive.org/download/archlinux_pkg_mysql-workbench/mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz | |
| wget https://archive.org/download/archlinux_pkg_mysql-workbench/mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz.sig | |
| sudo pacman -U mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz | |
| sudo pacman -S {lib32-,}icu | |
| sudo ln -s /usr/lib/libicui18n.so /usr/lib/libicui18n.so.61 | |
| sudo ln -s /usr/lib/libicuuc.so /usr/lib/libicuuc.so.61 | |
| sudo ln -s /usr/lib/libicudata.so /usr/lib/libicudata.so.61 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Alias Command | |
| =============================== | |
| g git | |
| ga git add | |
| gaa git add --all | |
| gapa git add --patch | |
| gau git add --update | |
| gb git branch | |
| gba git branch -a | |
| gbda git branch --merged | command grep -vE "^(*|\smaster\s$)" | command xargs -n 1 git branch -d |
NewerOlder