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
    
  
  
    
  | #!/usr/bin/env bash | |
| # Update Brave browser on a Void system. | |
| install_latest_brave_deb() { | |
| # Get machine architecture. | |
| local arch | |
| arch=$(uname -m) | |
| if [ "$arch" == "x86_64" ]; then | |
| arch="amd64" | |
| elif [ "$arch" == "aarch64" ]; then | 
  
    
      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/sh | |
| killall -9 grub-mount | 
  
    
      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
    
  
  
    
  | // ==UserScript== | |
| // @name Rotten Tomatoes Links for Jellyfin | |
| // @namespace https://github.com/stpettersens | |
| // @version 2025-10-25 | |
| // @description This script adds a Rotten Tomatoes link for TV and movies on Jellyfin. | |
| // @author Sam Saint-Pettersen | |
| // @match https://jellyfin.mmedia.stpettersen.xyz/* | |
| // @icon https://www.rottentomatoes.com/assets/pizza-pie/images/favicon.ico | |
| // @grant none | |
| // @run-at document-start | 
  
    
      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
    
  
  
    
  | // ==UserScript== | |
| // @name Rotten Tomatoes Links for Jellyfin | |
| // @namespace https://github.com/stpettersens | |
| // @version 2025-09-15 | |
| // @description This script adds a Rotten Tomatoes link for TV and movies on Jellyfin. | |
| // @author Sam Saint-Pettersen | |
| // @match https://jfdemo.stpettersen.xyz/* | |
| // @icon https://www.rottentomatoes.com/assets/pizza-pie/images/favicon.ico | |
| // @grant none | |
| // @run-at document-start | 
  
    
      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
    
  
  
    
  | #!/sbin/openrc-run | |
| # This will start `/usr/local/bin/copyparty-sfx` | |
| # | |
| # Installation: | |
| # cp -pv copyparty /etc/init.d && rc-update add copyparty | |
| # | |
| # You may want to: | |
| # change '/usr/bin/python3' to another interpreter | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| python3 /usr/local/bin/copyparty-sfx.py -i 127.0.0.1 -p 3923 --dedup -c /etc/copyparty.conf | |
| # HTTPS configuration generated by certbot here | |
| # ... | |
| listen 80; | |
| server_name copyparty.homelab.mydomain.com; | 
  
    
      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
    
  
  
    
  | ^+a:: { | |
| MsgBox "Key bindings are active." | |
| Return | |
| } | |
| !Enter:: { | |
| Run "wt.cmd" | |
| Return | |
| } | 
  
    
      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
    
  
  
    
  | @echo off | |
| @C:\Dev\cygwin64\bin\genisoimage.exe %* | 
  
    
      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
    
  
  
    
  | // Demonstrate threads and signals in D (dlang). | |
| import std.stdio; | |
| import core.thread; | |
| shared bool g_Running = true; | |
| version(Windows) { | |
| import core.sys.windows.windows; | |
| extern(Windows) BOOL CtrlHandler(DWORD fdwCtrlType) nothrow { | 
  
    
      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
    
  
  
    
  | # Install prerequisites | |
| sudo apt-get -y install build-essential libasound2 libasound2-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev mesa-common-dev libudev-dev | |
| # Build Reicast | |
| git clone https://github.com/reicast/reicast-emulator.git | |
| cd reicast-emulator | |
| git checkout master # Make sure on 'master' branch so will find the necessary subdir (not in alpha branch). | |
| cd shell/linux | |
| make | |
| # Run Reicast | 
NewerOlder