Skip to content

Instantly share code, notes, and snippets.

View bashbers's full-sized avatar
🎨
Crafting

Brian bashbers

🎨
Crafting
View GitHub Profile
@bashbers
bashbers / sunshine-setup.md
Created August 7, 2024 09:45
Setup sunshine

Sunshine setup for windows with a ultrawide screen

  1. Install Sunshine.
  2. Install a dummy monitor using VDD and walkthrough the readme.
  3. Install Monitor swapper and walkthrough the readme.
  4. Setup a Moonlight client on your client of choice, eg LG TV Moonlight Client

The dummy monitor is needed for Windows as it cannot stream an arbitrary resolution without a "monitor" supporting that resolution.

The monitor swapper automatically swaps between your ultrawide screen and the dummy monitor, which effectively streams any resolution you want to the client of your choice.

@bashbers
bashbers / 0_README.md
Created September 20, 2021 11:27 — forked from 0xcaff/0_README.md
OpenVPN, rTorrent and Flood Docker Compose Configuration

The Setup

This is a docker-compose file for a simple, secure torrent setup. It includes [rTorrent] (a torrent client), [flood] (a web interface for rTorrent), [OpenVPN] (to tunnel traffic through your ISP) and a simple iptables firewall to allow rTorrent to only access the internet through a VPN.

To run everything, put your open vpn configuration file in ./vpn.ovpn and the other configuration files from this gist in a directory then go to that

inotifywait -m /etc/minecraft/mods/ -e create -e delete |
while read dir; do
tar -cvzf mods.tar.gz mods/
mv mods.tar.gz /var/www/html/mods.tar.gz
systemctl restart nginx
echo "nginx rebooted, file is ready to download"
done
@bashbers
bashbers / profiles.json
Created February 4, 2020 09:39
Profiles for Windows Terminal Preview
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"alwaysShowTabs": true,
"startingDirectory": ".",