Logo Abdelhak's Blog
    Logo Inverted Logo
    • Posts
    Hero Image
    Doom Emacs Configuration

    Intro I’ve been using Linux exclusively since 2010, GNU Emacs was always installed on my machine, but I didn’t discover the real Emacs until 2020, in the beginning, I started my Vanilla Emacs configuration from scratch, but after a while, it becomes a mess. As a new Emacs user, I didn’t understand the in the beginning how to optimize my configuration and how to do things correctly. I discovered then Spacemacs, which made things much easier, but it was a little slow, and just after, I found the awesome Doom Emacs, and since, I didn’t quit my Emacs screen!

    April 24, 2022 Read
    Hero Image
    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:

    January 23, 2022 Read
    Hero Image
    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.

    April 16, 2020 Read
    Navigation
    • About
    • Skills
    • Experiences
    • Education
    • Publications
    Contact me:
    • firstname (dot) lastname@universite-paris-saclay.fr

    Toha Theme Logo Toha
    © 2022 Copyright
    Powered by Hugo Logo