Doom Emacs Configuration
This repository How to install Emacs stuff Intro My private Doom modules This file Doom configuration files Pseudo early-init Useful functions Fixes Check for external tools Doom modules (init.el) File skeleton Input (:input) General (:config) Completion (:completion) User interface (:ui) Editor (:editor) Emacs builtin stuff (:emacs) Terminals (:term) Checkers (:checkers) Tools (:tools) Operating system (:os) Language support (:lang) Email (:email) Apps (:app) Private Additional packages (packages.el) General Emacs settings User information Common variables Secrets Better defaults File deletion Window Split defaults Messages buffer Undo and auto-save Auto-save Undo Visual undo (vundo) Editing Emacs sources Frame Focus created frame Browsers Emacs daemon Initialization Tweaks Save recent files Package configuration User interface Font Theme Doom Modus themes Ef (εὖ) themes Lambda themes Mode line Clock Battery Mode line customization Set transparency Dashboard Custom splash image Dashboard Which key Window title SVG tag and svg-lib Focus Scrolling All the icons Tabs Zen (writeroom) mode Highlight indent guides Editing File templates Scratch buffer Mouse buttons Very large files Evil Aggressive indent YASnippet Completion & IDE Company Tweak company-box Treemacs Projectile Tramp Eros-eval dir-locals.
Push partition image to an Android phone
Prepare your device In your Android phone, enter recovery mode and enable ADB (usually, you need a custom recovery like TWRP, OrangeFox or LineageOS' recovery… etc). On a Linux machine, forward a local TCP port to a remote port on the Android device (let say local 6789, remote 9876). adb forward tcp:6789 tcp:9876 adb shell Netcat your file Once connected to the device's shell, start netcat in listen mode on port 9876, and redirect stdout to the partition block device:
Restore a partimage to a smaller disk
Sometimes; when working with partimage, someone can create a backup of a 1TB partition which contains -for example- only 10GB of data; in this case, when we want to restore it, partimage will fail if the restore disk does not have enough space (1TB in this case). I faced this problem and here the trick I used to restore the backup image to a smaller disk image. Create an image file Create an image file with the right size (with seek, we don't need to actually have the whole space):