Instantly share code, notes, and snippets.
Discover gists
vidia /nginx-unificontroller.conf
Last activeJuly 18, 2025 21:23
Example, working, NGINX config for proxying to Unifi Controller software and using letsencrypt. Includes websocket fix. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
# I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt. So here are the fruits of my labor. | |
# The unifi default port is 8443 running on localhost. | |
# License: CC0 (Public Domain) | |
server { | |
# SSL configuration | |
# | |
listen 443 ssl default_server; | |
listen [::]:443 ssl default_server; |
mjkstra /arch_linux_installation_guide.md
Last activeJuly 18, 2025 21:21
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI systemkieranklaassen /cc.md
CreatedJuly 15, 2025 22:38
RobChiocchio /install-flatpak-betterdiscord.sh
Last activeJuly 18, 2025 21:14
Install BetterDiscord for the Flatpak version of Discord on Linux This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script installs BetterDiscord for the Flatpak version of Discord on Linux. | |
# Written by Rob Chiocchio on 04/30/2024 | |
### Variables ### | |
# Color variables | |
NO_COLOR="\033[0m" | |
COLOR="\033[0;36m"# Cyan | |
# Flatpak Discord AppID and download URL for latest BetterDiscord Linux AppImage release |
NewerOlder