Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
lidgnulinux / create_appimage_from_musl_rootfs_distro.md
Last active December 3, 2024 00:29
Create Appimage File using Minimal Rootfs Archive Musl Distro (e.g alpine linux).

Create Appimage Using Minimal Rootfs Archive Musl Distro.

What do we need / prerequisite ?

  • Rootfs archive musl distro, I'm using alpine minirootfs archive. We can get it here.
  • AppRun executable, it's needed for launch our app. Get it here.
  • Appimagetool, available here
  • Desktop file / .desktop.
  • Icon file.
@lidgnulinux
lidgnulinux / 00_qipy
Last active November 28, 2024 01:15
(WIP) simple qi frontend written using python.
#!/usr/bin/python3
import glob, os
import argparse
import shutil
import subprocess
import re
# from urllib.request import urlretrieve
# import requests
@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 November 22, 2024 19:21
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 11, 2024 00:47
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 :