Deploying Tranquil PDS with systemd quadlets, using Caddy instead of the bundled nginx. All commands run as root.
Hostname. Handles are served as subdomains of it.
Deploying Tranquil PDS with systemd quadlets, using Caddy instead of the bundled nginx. All commands run as root.
Hostname. Handles are served as subdomains of it.
| set supportDir to (POSIX path of (path to home folder)) & "Library/Application Support/" | |
| set launcherDir to supportDir & "Vesktop Launcher/" | |
| set defaultLabel to "vesktop (Default)" | |
| set newLabel to "➕ New profile…" | |
| set deleteLabel to "🗑️ Delete profile…" | |
| do shell script "mkdir -p " & quoted form of launcherDir | |
| tell me to activate |
| #!/bin/bash | |
| # Firewall allow libvirt VM NAT Networking (converted to ufw commands) | |
| # Ref: https://wiki.archlinux.org/title/Libvirt#Using_nftables | |
| # The old solution is to set `firewall_backend=iptables` in `/etc/libvirt/network.conf` | |
| # instead of setting firewall rules in nftables, ufw, etc. | |
| # However, this uses the legacy iptables backend and should be considered deprecated. | |
| sudo ufw allow in on virbr0 to any port 53 proto udp comment 'allow VM DNS requests to host' |
| # Normalize EOL for all files that Git considers text files. | |
| * text=auto eol=lf | |
| # Git LFS Tracking (Assets) | |
| # 3D Models | |
| *.fbx filter=lfs diff=lfs merge=lfs -text | |
| *.gltf filter=lfs diff=lfs merge=lfs -text | |
| *.glb filter=lfs diff=lfs merge=lfs -text | |
| *.blend filter=lfs diff=lfs merge=lfs -text |
| #!/bin/bash | |
| # .NET Project Build Script | |
| # Builds cross-platform executables for Windows, macOS, and Linux | |
| set -e | |
| # Colors for output | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |
| // Reference: https://github.com/sinai-dev/UnityExplorer/issues/181#issuecomment-1296365106 | |
| UnityExplorer.UI.UIManager.UICanvas.scaleFactor = 2.0f; |
| #!/bin/bash | |
| # Force public key authentication | |
| cat > /etc/ssh/sshd_config.d/20-force_publickey_auth.conf <<EOF | |
| PasswordAuthentication no | |
| AuthenticationMethods publickey | |
| EOF | |
| # Deny root login | |
| echo "PermitRootLogin no" > /etc/ssh/sshd_config.d/20-deny_root.conf |
| storage: /verdaccio/storage/data | |
| plugins: /verdaccio/plugins | |
| auth: | |
| htpasswd: | |
| file: /verdaccio/storage/htpasswd | |
| algorithm: bcrypt | |
| uplinks: | |
| # npmjs: | |
| # url: https://registry.npmjs.org/ | |
| openupm: |
| /** | |
| * @name system24-yuna0x0 | |
| * @description A tui-style discord theme. Customized by yuna0x0. | |
| * @author refact0r | |
| * @version 1.0.0 | |
| * @invite nz87hXyvcy | |
| * @website https://github.com/refact0r/system24 | |
| * @source https://github.com/refact0r/system24/blob/master/system24.theme.css | |
| * @authorId 508863359777505290 | |
| * @authorLink https://www.refact0r.dev |
| ## Taiwan | |
| Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch | |
| ## Taiwan | |
| Server = https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch | |
| ## Taiwan | |
| Server = https://free.nchc.org.tw/arch/$repo/os/$arch | |
| ## Taiwan | |
| Server = https://ncuesaweb.ncue.edu.tw/linux/archlinux/$repo/os/$arch | |
| ## Taiwan | |
| Server = http://archlinux.cs.nycu.edu.tw/$repo/os/$arch |