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| # 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 |
| { | |
| "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*", | |
| } | |
| } |
| #! /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/* |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
| FROM mhart/alpine-node:10 AS builder | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN yarn install | |
| COPY . . | |
| RUN yarn build && yarn --production | |
| FROM mhart/alpine-node:10 | |
| WORKDIR /app | |
| COPY --from=builder /app . |
| # Delete branches that are already merged (but master/development/stage) | |
| git branch --merged | egrep -v "(^\*|master|development|stage)" | xargs git branch -d | |
| # Delete all local branches (but master/development/stage) | |
| git branch | egrep -v "(^\*|master|development|stage)" | xargs git branch -D |
Made to work along with gitfiti, you can draw with this tool and then export the data and use it with gitfiti.
##Usage
Left click to increment the color, right click to clear the cell, clear button to clear everything! Dragging also works!ContributionsDraw.export() into the console.ContributionsDraw.import([...])NOTE: This is developed for and tested in Chrome, other browsers might not support yet some ES6 stuff, you might need to compile it to ES5.