Skip to content

Instantly share code, notes, and snippets.

View fabricionaweb's full-sized avatar
👊

Fabricio fabricionaweb

👊
View GitHub Profile
@fabricionaweb
fabricionaweb / thelounge.css
Last active April 10, 2024 18:35
some css for thelounge, small changes
/* remove shadow */
.window {
box-shadow: none;
}
/* remove logo */
.logo-container {
display: none;
}
/* fix search position after remove logo */
.jump-to-input {
@fabricionaweb
fabricionaweb / .zshrc
Created March 9, 2024 16:58 — forked from khongi/.zshrc
Unraid Zsh with persistent config
# This is your .zshrc, put it in /boot/config/extra/
export ZSH="/root/.oh-my-zsh"
ZSH_THEME="robbyrussell"
DISABLE_UPDATE_PROMPT="true"
plugins=(
zsh-autosuggestions
@fabricionaweb
fabricionaweb / on-going
Last active April 4, 2024 09:07
omegabrr list
A Condition Called Love
Hananoi-kun to Koi no Yamai
An Archdemon's Dilemma: How to Love Your Elf Bride
Maou no Ore ga Dorei Elf wo Yome ni Shitanda ga, Dou Medereba Ii?
As a Reincarnated Aristocrat, I'll Use My Appraisal Skill to Rise in the World
Tensei Kizoku, Kantei Skill de Nariagaru: Jakushou Ryouchi wo Uketsuida node, Yuushuu na Jinzai wo Fuyashiteitara, Saikyou Ryouchi ni Natteta
Astro Note
{
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"package.json": "package-lock.json, .eslint*, .babel*, prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*",
"tailwind.config.js": "tailwind.config*, postcss.config*",
".env": ".env*",
}
}
#!/usr/bin/env sh
log_file="$(dirname $0)/xseed.log"
log() {
echo "[$(date +'%Y-%m-%d %T')] $1" >> "$log_file"
}
log "----------------"
@fabricionaweb
fabricionaweb / tschroot
Created August 21, 2023 08:25 — forked from schtobia/tschroot
Mount /tmp, /dev/pts, /dev/shm and /proc into chroot and change into chroot
#! /bin/sh
[ ! -d "$1" ] && echo "$1 is not a valid directory." && exit 1;
trap "umount \"${1}\"/tmp \"${1}\"/dev/null \"${1}\"/dev/pts \"${1}\"/dev/random \"${1}\"/dev/shm \"${1}\"/dev/urandom \"${1}\"/proc" EXIT INT TERM HUP PIPE &&
mount --bind /tmp "${1}/tmp" && \
mount --bind /dev/null "${1}/dev/null" && \
mount --bind /dev/pts "${1}/dev/pts" && \
mount --bind /dev/random "${1}/dev/random" && \
mount --bind /dev/shm "${1}/dev/shm" && \
mount --bind /dev/urandom "${1}/dev/urandom" && \
mount --bind /proc "${1}/proc" && \
# after the virtual disk has already been expanded (e.g. in proxmox)
apk add --no-cache cfdisk e2fsprogs-extra
# choose partition then "Resize" > "Write" (to finalize)
cfdisk
# replace * with partition you are resizing
resize2fs /dev/*
@fabricionaweb
fabricionaweb / .restic-env
Last active November 22, 2023 13:45
Backups with restic
# backblaze
export B2_ACCOUNT_ID=""
export B2_ACCOUNT_KEY=""
export RESTIC_BACKBLAZE="b2:bucket"
# cloudflare (s3 uses AWS variables)
export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""
@fabricionaweb
fabricionaweb / radarr.yml
Last active March 26, 2024 14:04
Recyclarr configurations
radarr:
movies:
include:
- template: radarr-quality-definition-sqp-uhd
- template: radarr-quality-profile-sqp-2
- template: radarr-custom-formats-sqp-2
quality_profiles:
- name: SQP-2
reset_unmatched_scores:
@fabricionaweb
fabricionaweb / lxc_plex_intel_quicksync.md
Created February 1, 2023 13:44 — forked from packerdl/lxc_plex_intel_quicksync.md
Intel QuickSync passthrough to an unprivileged LXC container running plex.

Running Plex in an Unprivileged LXC with Intel QuickSync Passthrough

First setup an unprivileged Ubuntu container with Plex Media Server installed. Inside the container take note of the id of the plex group.

# Your Plex group's ID may be different
$ getent group plex | cut -d : -f3
998