Skip to content

Instantly share code, notes, and snippets.

View joegyoung's full-sized avatar

Joseph Young joegyoung

View GitHub Profile
@Lukas-Heiligenbrunner
Lukas-Heiligenbrunner / updateAllProxmox.sh
Last active February 19, 2023 21:26
Proxmox script to update all containers
#!/bin/bash
# update all containers
# execute on host
# list of container ids we need to iterate through
containers=$(pct list | tail -n +2 | cut -f1 -d' ')
function update_container() {
container=$1
echo "[UPDATER] Updating $container..."
@kylemcdonald
kylemcdonald / stylegan.ipynb
Created February 5, 2019 16:57
StyleGAN.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@calebreister
calebreister / backup.sh
Last active August 29, 2015 14:10
This is a shell script that runs incremental backups on the btrfs filesystem. I used the instructions on the wiki for the initial setup. It is designed to work with the Ubuntu btrfs configuration. THIS SCRIPT COMES WITH ABSOLUTELY NO WARRANTY. Any loss of data is not my responsibility. However, it does work for me, and I regularly use it.
#!/bin/sh
#Find a date in file name:
#ls | grep -E $datematch
if [ "$(whoami)" != "root" ]; then
echo Please run this script as root.
exit
fi