Skip to content

Instantly share code, notes, and snippets.

View encg's full-sized avatar

Efren encg

  • Los Angeles
  • 08:51 (UTC -07:00)
View GitHub Profile
@kdmukai
kdmukai / README.md
Last active July 17, 2025 17:40
Run Proxmox Backup Server (PBS) on a Proxmox VE host

Run Proxmox Backup Server (PBS) on a Proxmox VE host

Rather than set up even more infrastructure, I run Proxmox Backup Server on the same machine that's running a Proxmox VE host.

Install Proxmox Backup Server

Open a shell on your Proxmox VE host. We'll be installing PBS alongside Proxmox VE at the OS level. We will NOT run PBS inside a container.

@SQLJames
SQLJames / proxmox-realtek.md
Last active July 25, 2025 18:41
proxmox realtek driver issues

Edit 2

Here are the steps I took to upgrade my nodes when the time came. Make sure that your apt upgrade and apt dist-upgrade don't have any errors.

Additionally, on one of my nodes, I had to confirm the grub install location. So It may be good to do this prior to upgrading by confirming the mount point of your boot disk.

apt remove --purge r8168-dkms -y
rm /etc/modprobe.d/blacklist-r8169.conf
sudo sed -i 's/GRUB_CMDLINE_LINUX="r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off loglevel=3"/GRUB_CMDLINE_LINUX=""/' /etc/default/grub
update-grub
@gryan11
gryan11 / gs65stealth_linux_setup.md
Last active February 9, 2025 06:05
Notes on setting up MSI GS65 Stealth as dual boot Linux Laptop

Linux Setup on MSI GS65 Laptop

Preliminary Setup

Make the following usb sticks and drives on windows:

  1. Ubuntu install usb stick
  2. System recovery usb stick
  3. System backup image on usb hard drive

windows setup

@matthewzring
matthewzring / markdown-text-101.md
Last active July 30, 2025 03:33
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE