Skip to content

Instantly share code, notes, and snippets.

View silicondosa's full-sized avatar

Suraj Chakravarthi Raja silicondosa

View GitHub Profile
@silicondosa
silicondosa / commands_to_run
Last active November 11, 2023 00:49
Ubuntu 20.04 system setup commands
## List of commands I am running to setup my Ubuntu system ##########################################################
## Will be used in the future to auto-deploy setups
# Upgrade system
sudo apt update && sudo apt upgrade
# Perform firmware update (for UEFI BIOS, Thunderbolt devices, connected I/0)
sudo service fwupd start
sudo fwupdmgr refresh --force
sudo fwupdmgr update
@sighingnow
sighingnow / Makefile
Last active October 10, 2025 00:40
Detect operating system in Makefile.
# Detect operating system in Makefile.
# Author: He Tao
# Date: 2015-05-30
OSFLAG :=
ifeq ($(OS),Windows_NT)
OSFLAG += -D WIN32
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
OSFLAG += -D AMD64
endif
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active October 18, 2025 19:38
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap