Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
lidgnulinux / retrieve_branch_and_push.md
Last active December 6, 2024 09:12
Dummy approach to update mirror repository.

Let's say we have branch(es) on main repository and we want to fetch it/them to our mirror repository, how do we do it ?

  1. Fetch the branch using this command !

    $ git fetch https://gitlab.com/main/repository remote_branch_name:local_branch_name
    
  2. Switch to new fetched branch !

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.11.0-gnu Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24301
@lidgnulinux
lidgnulinux / config-6.11.0-gnu
Created September 23, 2024 02:45
Kernel Linux Libre Config.
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 6.11.0-gnu Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.3.1 20230310"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110301
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=20244508
@lidgnulinux
lidgnulinux / appimage_musl.md
Created September 10, 2024 11:51
Menjalankan berkas appimage di lingkungan musl.

Menjalankan Berkas Appimage pada Distro Non-glibc / Musl.


Persiapan.

  • Base image / arsip distro yg menggunakan glibc, sebagai contoh kita ambil Ubuntu Noble, Oracular, dll. Base image bisa diunduh di sini .
  • Berkas appimage, kami baru mencoba menjalankan berkas appimage Inkscape.
  • Module fuse, usahakan kita sudah menge-load module fuse.
@lidgnulinux
lidgnulinux / recipe
Created August 26, 2024 01:43
Example of package recipe for dragora distro.
# Build recipe for slurp.
set -e
program=slurp
version=1.5.0
release=0
pkgcategory=x-apps
@lidgnulinux
lidgnulinux / Alpine_Linux_minirootfs_install.md
Last active September 5, 2025 11:38
Install Alpine Linux Via Minirootfs Archive.

Install Alpine Linux Via Minirootfs Archive.

Prerequisites.

  • Any live usb bootable.
  • Alpine Linux minirootfs archive, we can get it here. We can choose alpine-minirootfs-3.20.2-x86_64.tar.gz.
  • Some partitions, for root system (/), efi (if you have uefi machine) and swap (optional).
  • Basic commandline knowledge.

Steps.

@lidgnulinux
lidgnulinux / Fedora_via_rootfs_installation.md
Last active October 23, 2025 16:21
Experimental way to install fedora via rootfs archive / the arch way. GRUB kind of work.

Experimental way to install fedora via rootfs archive / the arch way.

Don't ever try this if you don't know what you're doing !

Prerequisites.

  • Any live usb bootable.
  • Fedora rootfs archive, we can get it here. It's better to choose the most update / latest archive.
  • Some partitions, for root system (/), efi (if you have uefi machine) and swap (optional).
  • Basic commandline knowledge.
@lidgnulinux
lidgnulinux / Static_IP_guide.md
Created July 28, 2024 01:19
Simple guide for setting static IP.

Opening.

Hello, couple years ago, I wanted to set and have a static IP, but due lack of knowledge I can't have it. Now I manage to set it and it's kinda work. Here are some methods I'm using.

Methods.

Netplan (Ubuntu & Debian).

I start with netplan. For netplan I just need to make this configuration :

@lidgnulinux
lidgnulinux / INSTALL.md
Last active October 3, 2025 06:49
Install Cosmic Desktop for Ubuntu, Debian Sid, and Alt Linux.

INSTALLATION GUIDE

Download packages

We borrow rpm packages from fedora 41, because we won't build all components ourselves. Download all packages using wget !

$ wget -ci packages.txt
@lidgnulinux
lidgnulinux / post-install.md
Last active July 3, 2024 03:16
Post-installation guide openbsd.

Openbsd post-installation guide.

  • Boot openbsd from linux's grub.

    We can boot openbsd via linux's grub. These are how we can boot openbsd via linux's grub :

    • Enter grub !
    • Press "c" to enter grub shell !
    • List all partitions using ls command !
  • Because I install openbsd at /dev/sda1, so my partition will be shown as "hd0,msdos1".