Skip to content

Instantly share code, notes, and snippets.

View lnlsn's full-sized avatar
🏠
Working from home

LnLsn lnlsn

🏠
Working from home
  • Sao Paulo - Brazil
View GitHub Profile
@lnlsn
lnlsn / README.md
Created June 15, 2022 23:36 — forked from gbrlsnchs/README.md
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS-encrypted root and swapfile)

Installation guide for Void Linux with LUKS-encrypted btrfs root

NOTE

I have ported this Gist to a handbook. I'll not maintain this Gist anymore, but will keep it here for future references. You can access the respective chapter in the handbook here.

Introduction

In this guide you will find:

  • btrfs with Zstandard compression
  • LUKS-encrypted root and swapfile
  • GRUB with UEFI
@lnlsn
lnlsn / README.md
Created May 25, 2022 19:57 — forked from vibowit/README.md
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS Encryption)

Void Linux installation guide!

Live image

Logging in

User is anon and password is voidlinux. The root user is root and has the same password. This document implies you're using the root user, so no sudo is used until the main user is created and used.

Setting keyboard layout

@lnlsn
lnlsn / nixos.md
Created January 24, 2021 11:15 — forked from martijnvermaat/nixos.md
Installation of NixOS with encrypted root

Keybase proof

I hereby claim:

  • I am lnlsn on github.
  • I am lnlsn (https://keybase.io/lnlsn) on keybase.
  • I have a public key whose fingerprint is B3CB B146 CE4D EFBD 4021 9A6F 0BCF A427 3AB4 AA76

To claim this, I am signing this object:

# initialization file (not found)
@lnlsn
lnlsn / arch-linux-install.md
Created December 15, 2018 19:17 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
#!/bin/bash
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
export _JAVA_AWT_WM_NONREPARENTING=1
$HOME/opt/incubating/bin/netbeans
sudo pacman -S npm
sudo npm install --unsafe-perm -g elm elm-test elm-oracle elm-format
sudo ln -s /usr/lib/libtinfo.so /usr/lib/libtinfo.so.5
# Add this to your .vimrc if you use Vim with Vundle:
Plugin 'ElmCast/elm-vim'
@lnlsn
lnlsn / template.txt
Created May 25, 2018 10:53 — forked from dweinstein/template.txt
my org-mode template for exporting to LaTeX/PDF
#+TITLE: Template org-mode document for export to LaTeX/PDF
#+AUTHOR: David Weinstein
#+LaTeX_HEADER: \usepackage[left=1in,top=1in,right=1in,bottom=1.5in]{geometry}
#+LaTeX_HEADER: \usepackage{palatino}
#+LaTeX_HEADER: \usepackage{fancyhdr}
#+LaTeX_HEADER: \usepackage{sectsty}
#+LaTeX_HEADER: \usepackage{engord}
#+LaTeX_HEADER: \usepackage{cite}
#+LaTeX_HEADER: \usepackage{graphicx}
@lnlsn
lnlsn / gist:0bea7537f211a2384050c17133e3c988
Created May 16, 2018 16:46 — forked from dmitshur/gist:6927554
How to `go get` private repos using SSH key auth instead of password auth.
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
	insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!