Skip to content

Instantly share code, notes, and snippets.

View DeicPro's full-sized avatar

Deiki DeicPro

  • Madrid, Spain
View GitHub Profile

alpine-persistent-usb

Guide for making an Alpine Linux USB with persistence

Note: Replace all instances of {?X} (including the braces) with the proper value

Preparation

  1. Download the latest version of Alpline Standard x86_64
  2. Write it to a USB using dd or rufus and leave a shared or unallocated partition to use later for your /home directory
  3. Reboot to your boot menu and boot to Alpine on the USB
@FreddieOliveira
FreddieOliveira / docker.md
Last active May 8, 2024 09:52
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@ansemjo
ansemjo / ubuntu-cleaner.sh
Last active May 10, 2023 09:51
Clean up unwanted packages on a fresh installation of Ubuntu 20.04 LTS
#!/usr/bin/env bash
set -eu
# mark a few packages as explicitly installed
mark-wanted() {
apt install -y \
bash git tmux vim htop \
unattended-upgrades \
software-properties-common;
}
@oofnikj
oofnikj / answerfile
Last active May 7, 2024 05:55
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
127.0.0.1 a.stat.xiaomi.com
127.0.0.1 abtest.mistat.intl.xiaomi.com
127.0.0.1 abtest.mistat.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 api.account.xiaomi.com
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 api.admob.xiaomi.com
@mauron85
mauron85 / README
Created March 3, 2018 14:11 — forked from rkusa/README
Install alpine linux on xhyve VM
# curl -LO http://wiki.alpinelinux.org/cgi-bin/dl.cgi/v3.3/releases/x86_64/alpine-3.3.1-x86_64.iso
curl -LO http://wiki.alpinelinux.org/cgi-bin/dl.cgi/v3.3/releases/x86/alpine-3.3.1-x86.iso
# create hdd image (8GB)
dd if=/dev/zero of=hdd.img bs=1g count=8
# extract kernel and initramfs
brew install cdrtools
isoinfo -i alpine-3.3.1-x86.iso -J -x /boot/initramfs-grsec > initramfs-grsec
isoinfo -i alpine-3.3.1-x86.iso -J -x /boot/vmlinuz-grsec > vmlinuz-grsec