Install omz and dependencies
#!/bin/bash
sudo apt update && sudo apt install -y zsh curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Install Plugins
| import os | |
| import json | |
| import time | |
| import traceback | |
| import requests | |
| import subprocess | |
| import functools | |
| from pydantic import BaseModel | |
| set tabstop=4 | |
| set expandtab | |
| set shiftwidth=4 | |
| set autoindent | |
| set pastetoggle=<f5> |
Install omz and dependencies
#!/bin/bash
sudo apt update && sudo apt install -y zsh curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Install Plugins
| const { readFileSync, writeFileSync } = require("fs"); | |
| const { parseSaveGame } = require('oni-save-parser'); | |
| const modsFileContent = JSON.parse(readFileSync('mods.json', { | |
| encoding: 'utf-8', | |
| })) | |
| console.log('parsing game... (this might take a while)') | |
| const gameSave = parseSaveGame(readFileSync('QueencardWorld5.sav').buffer, { | |
| versionStrictness: 'none' | |
| }) |
| #!/bin/bash | |
| set -euxo pipefail | |
| FRPC_TXT=$(cat <<-END | |
| [Unit] | |
| Description=frp client service for %i | |
| After=network.target | |
| [Service] | |
| Type=simple |
| #!/bin/sh | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <Disk> <MountPoint>\n\nEXAMPLE\n$0 H:\\\\ /mnt/h" | |
| exit 1 | |
| fi | |
| echo "mount -t drvfs $1 $2 -o metadata,uid=1000,gid=1000" | |
| mount -t drvfs $1 $2 -o metadata,uid=1000,gid=1000 | |
| echo "mount returns $?" |