Skip to content

Instantly share code, notes, and snippets.

View Urpagin's full-sized avatar
🈳
Diffusion Frro Em

Urpagin Urpagin

🈳
Diffusion Frro Em
View GitHub Profile
@gtello
gtello / README.md
Created August 24, 2023 15:53
Guide to Installing Arch Linux on a USB Drive with Persistence

Guide to Installing Arch Linux on a USB Drive with Persistence

On an Arch machine, run: sudo pacman -S arch-install-scripts to have the commands to install the OS into the USB

Run the following as root

Make sure USB is NOT mounted and format it

wipefs -a /dev/sdX where X is the assigned letter your USB is mounted on

fdisk /dev/sdX

@hardselius
hardselius / toc.md
Last active December 15, 2025 03:51
My Gists

My gists

This is my gist. There are many like it, but this one is mine.

Big Brain SEO since March 2025 until ???

For some reason, this gist seem to show up as a top result when googling for "github gists". I don't know why, but it's amusing. Anyways. Keep commenting if you want to. I guess that will give me an idea of for how long this bs continues. Cheers people. Free Palestine! 🇵🇸

Vim

@andreibosco
andreibosco / gist:cb8506780d0942a712fc
Created October 21, 2014 17:28
Using GNU Stow to manage your dotfiles

Fonte: http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html?round=two

I accidentally stumbled upon something yesterday that I felt like sharing, which fell squarely into the "why the hell didn't I know about this before?" category. In this post, I'll describe how to manage the various configuration files in your GNU/Linux home directory (aka "dotfiles" like .bashrc) using GNU Stow.

The difficulty is that it would be helpful to manage one's configuration files with a version control system like Git, Mercurial or Bazaar, but many/most dotfiles reside at the top-level of your home directory, where it wouldn't be a good idea to initialize a VCS repository. Over time I've come across various programs which aim to manage this for you by keeping all the files in a subdirectory and then installing or linking them into their appropriate places. None of those programs ever really appealed to me. They would require a ton of dependencies (like Ruby and a ton of libraries for it) or t