Skip to content

Instantly share code, notes, and snippets.

View alvadorn's full-sized avatar

Igor Sant'Ana alvadorn

View GitHub Profile
@alvadorn
alvadorn / arch-linux-install.md
Last active June 16, 2020 23:30 — forked from mattiaslundberg/arch-linux-install
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.

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 ptbr keymap

@alvadorn
alvadorn / application_record.rb
Last active March 19, 2017 13:47 — forked from Emethium/all_the_stuff.rb
Lesson halp
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end