Skip to content

Instantly share code, notes, and snippets.

@cmbernard333
cmbernard333 / emerald-loop-caravan-shopping-list.md
Created December 3, 2023 22:59
Emerald Loop Caravan Shopping List
Level Item Price Number Notes
0 Traveler's Backpack 4 gp 2 +5 bulk
0 Blanket 5 sp 6 it's a blanket
3 Healer's Tools (Expanded) 50 gp 1 better healer's tools
4 Biting Snare 15 gp 3 trap them by the toe
0 Oil Flask 1 cp 6 burn stuff for fun and profit
0 Parchment (10 sheets) 1 sp 3 write on it, read from it
3 Potion of Healing (Lesser) 12 gp 2 heal
0 Rations (1 day) 4 sp 30 eat stuff
@cmbernard333
cmbernard333 / docker-compose.yml
Last active February 23, 2023 02:49
docker compose file for automatic ripping machine
version: '3.8'
# use .env later
services:
arm:
container_name: automaticrippingmachine
# image: "automaticrippingmachine/automatic-ripping-machine:latest"
# image: "automaticrippingmachine/automatic-ripping-machine:v2_devel"
image: automaticrippingmachine/automatic-ripping-machine:nvidia
restart: always
privileged: true
@cmbernard333
cmbernard333 / Dockerfile
Created February 22, 2023 04:34
Dockerfile with handbrake built from source
###
### Build an image based on the automatic ripping machine image with a custom built handbrake 1.6.1 with NVIDIA nvenc/nvdec support
### Installs the library for Nvidia Driver version 510
###
# pull automatic ripping machine image
FROM automaticrippingmachine/automatic-ripping-machine:v2_devel as base
# FROM automaticrippingmachine/automatic-ripping-machine:latest as base
MAINTAINER cmbernard333
@cmbernard333
cmbernard333 / output.json
Created May 11, 2022 21:43
candidate-output
❯ curl -X GET http://localhost:8099/employees/top | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 777 0 777 0 0 67901 0 --:--:-- --:--:-- --:--:-- 189k
[
{
"employeeId": 1,
"properties": [
{
"title": "CEO"
<?xml version="1.0" encoding="utf-8"?><UserProfile><achievementsList> KillEliteMonster CompleteTeleporter Discover10UniqueTier1 Die5Times RepeatFirstTeleporter CompleteThreeStages FailShrineChance Discover5Equipment StayAlive1 LogCollector TotalMoneyCollected MajorMultikill Complete30StagesCareer HardHitter DefeatSuperRoboBallBoss AttackSpeed KillBossQuantityInRun FreeMage Die20Times CompleteTeleporterWithoutInjury TotalDronesRepaired CompleteMultiBossShrine LoopOnce EngiArmy BeatArena KillTotalEnemies CompleteMainEnding CleanupDuty KillBossQuick KillElitesMilestone BurnToDeath MultiCombatShrine CommandoFastFirstStageClear EngiClearTeleporterWithZeroMonsters NeverBackDown UseThreePortals CompleteUnknownEnding KillGoldTitanInOneCycle CommandoClearGameMonsoon CompleteThreeStagesWithoutHealing LoaderBigSlam LoaderSpeedRun RescueTreebot FindDevilAltar MercXSkillsInYSeconds</achievementsList><coins>17</coins><discoveredPickups>ItemIndex.AlienHead ItemIndex.ArmorPlate ItemIndex.ArmorReductionOnHit ItemIndex.Artifac
@cmbernard333
cmbernard333 / youtube-dl-pl.bash
Created December 23, 2021 16:31
Youtube DL script for downloading playlists efficiently
#!/bin/bash
function usage() {
echo "$0 usage:" && grep " .)\ #" $0
exit 0
}
function get_yt_dl() {
exe=$(which yt-dlp)
@cmbernard333
cmbernard333 / gettemp.c
Created September 1, 2021 20:55
gettemp for raspberry pi 4
#include <stdarg.h>
#include <stdio.h>
const char* RED = "\033[0;31m";
const char* GREEN = "\033[0;32m";
const char* YELLOW = "\033[0;33m";
const char* RESET = "\033[0m";
void print_c(const char* color, const char* format, ...)
{

Doom Builder 2 Notes

These are quick notes created from tutorials on youtube. These tutorials are listed in the references section.

Note: all editing in Doom Builder 2 is using game configuration ZDoom (Doom in Hexen Format). This makes creating actions/triggers/etc easier in Doom Builder 2.

Glossary

  • Sector: a closed textured array
  • Linedef: an enclosing line for a sector
#!/bin/bash
pacmd load-module module-null-sink sink_name=Virtual_Sink sink_properties=device.description=Virtual_Sink
echo "Started virtual sink 'Virtual_Sink'

At the center of all the infinite planes is a place known only as Core. Core is inhabited by a single being meant to monitor the progress of “The Cycle” - a recurring event that wipes out a set of planes each time “The Cycle” occurs in a process referred to as “recycling”. This process is viewed by these beings as a naturally occuring event that keeps the multiverse in balance and harmony.

The single being is known only as “Drifter” and his position has been occupied by several beings in the past across multiple planes of existence. The current Drifter has been through 3 cycles or three thousand years. Up until recently, the current Drifter was preparing for the end of this next cycle and the recycling of the next series of planes. Before he could witness it he was attacked by a Shapeshifter who claimed Drifter and his kind were responsible for the death of his plane and his people.

Acting quickly, Drifter opened the door to inner Core and scattered the pieces of the key across the planes. The Shapeshifte