-
SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.
apt update apt install -y libsasl2-modules mailutils
-
Enable 2FA for the gmail account that will be used by going to security settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1970-01-01 open Expenses:Education:Books | |
1970-01-01 open Expenses:Education:Classes | |
1970-01-01 open Expenses:Education:Tuition | |
1970-01-01 open Expenses:Food:Grocery | |
1970-01-01 open Expenses:Food:ConvenienceStore | |
1970-01-01 open Expenses:Food:Restaurant | |
1970-01-01 open Expenses:Home:Electricity | |
1970-01-01 open Expenses:Home:Gas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script for a fresh installation of Blowfish-theme Hugo project | |
# Method: Hugo submodule | |
# Blowfish theme: https://blowfish.page/docs/installation/ | |
# | |
# Verified on: | |
# go version go1.22.2 darwin/arm64 | |
# hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended darwin/arm64 BuildDate=2024-03-20T11:40:10Z VendorInfo=brew | |
# Blowfish v2.65.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
usage() { | |
echo "" | |
echo "Usage: $0 [URL]" | |
echo "Example: $0 https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b" | |
} | |
if [ "$#" -ne 1 ]; then | |
echo "Invalid number of arguments!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
MNIST PyTorch Lightning Example | |
Ref: https://docs.ray.io/en/latest/tune/examples/includes/mnist_ptl_mini.html | |
""" | |
import math | |
import torch | |
from filelock import FileLock |
Evernote | OneNote | Trello | |
---|---|---|---|
Free | N | Y | Y |
Fast UI | Y | Y | N |
Offline mode | Y | Y | Y (mobile app only) |
Google Drive integration | Y (documents yes, folders not sure) | N | Y |
iOS app | Y | Y | Y |
macOS app | Y | Y | Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Reference: https://github.com/ray-project/ray/blob/f8a91c7fad248b1c7f81fd6d30191ac930a92bc4/rllib/examples/env/simple_corridor.py | |
Fixes: | |
ValueError: ('Observation ({}) outside given space ({})!', array([0.]), Box([0.], [999.], (1,), float32)) | |
""" | |
import gym | |
from gym.spaces import Box, Discrete | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# These files should exist: | |
# $ ls | |
# ILSVRC2012_devkit_t12.tar.gz ILSVRC2012_img_train.tar ILSVRC2012_img_val.tar | |
# | |
# When this script is finished: | |
# $ ls | |
# imagenet ILSVRC2012_devkit_t12.tar.gz ILSVRC2012_img_train.tar ILSVRC2012_img_val.tar | |
# $ ls imagenet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matplotlib | |
pandas | |
seaborn |
NewerOlder