Skip to content

Instantly share code, notes, and snippets.

View ReturnRei's full-sized avatar
👺

Riccardo Pagnozzi ReturnRei

👺
View GitHub Profile

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@ReturnRei
ReturnRei / Garuda linux Qtile on Encrypted Raid0
Last active December 22, 2021 01:58
Garuda linux Qtile on Raid0
TLDR: Wanted an Arch based system with LUKS, BTRFS on a mdadm array. Here's the journey if it might help someone.
## Used garuda qtile but couldn't login in the live cd
Got into TTY with ctrl+alt+F2
sudo su
systemctl stop sddm
pacman -Syyu
systemctl start sddm
## Now GUI login works
@ReturnRei
ReturnRei / ubuntu-raid.sh
Created November 4, 2021 17:04 — forked from umpirsky/ubuntu-raid.sh
Install Ubuntu on RAID 0 and UEFI/GPT system
# http://askubuntu.com/questions/505446/how-to-install-ubuntu-14-04-with-raid-1-using-desktop-installer
# http://askubuntu.com/questions/660023/how-to-install-ubuntu-14-04-64-bit-with-a-dual-boot-raid-1-partition-on-an-uefi%5D
sudo -s
apt-get -y install mdadm
apt-get -y install grub-efi-amd64
sgdisk -z /dev/sda
sgdisk -z /dev/sdb
sgdisk -n 1:0:+100M -t 1:ef00 -c 1:"EFI System" /dev/sda
sgdisk -n 2:0:+8G -t 2:fd00 -c 2:"Linux RAID" /dev/sda
@ReturnRei
ReturnRei / Arch on Mac M1.txt
Last active July 29, 2023 20:58
Install Arch / EndeavourOS Mac M1 Parallels
This gist is provided as an addition to my youtube video
https://www.youtube.com/watch?v=dKvetujHjYQ&t=737s
## Useful links
https://wiki.archlinux.org/title/Install_Arch_Linux_from_existing_Linux#Using_a_chroot_environment
https://archlinuxarm.org/platforms/armv8/generic
https://www.reddit.com/r/archlinux/comments/6kwt61/systemd_doesnt_create_machineid_during/
https://arm.endeavouros.com/endeavouros-arm-install/
## Get into chroot