Skip to content

Instantly share code, notes, and snippets.

View shmup's full-sized avatar

Jared Miller shmup

View GitHub Profile
shmup /
Last active June 15, 2024 20:01
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client:

shmup /
Last active June 14, 2024 20:02
How to connect to Twitch with HexChat (SSL)


Here's a method to chat in a twitch #channel with HexChat

  1. Get HexChat here (or your package manager):

  2. Click Add and name it Twitch or whatever.

  3. Now click Edit and change the server/port up top to:

shmup / gist:6ed5af7c3f09f2e547974a5486b3fd24
Created January 16, 2018 23:56
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~
shmup /
Last active March 19, 2024 11:50 — forked from hunterbridges/
How to connect to Twitch with IRSSI (SSL)


Here's a method to chat in a twitch #channel with IRSSI

Get your oauth token here:

Server block

server = {
 address = "";
shmup /
Last active March 15, 2024 03:40
8bitdo pro 2 quick reminder




shmup / proton
Created December 7, 2023 19:41
easily run an .exe with proton on linux
#!/usr/bin/env bash
# This script launches a Windows executable using Proton within a Linux environment.
# It requires exactly one argument: the path to the executable to run.
# It sets up a separate Proton prefix for each executable to avoid conflicts.
# Usage: proton <path-to-executable>
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <executable-path>"
exit 1
shmup / paste.vim
Created February 18, 2024 21:18 — forked from romainl/paste.vim
Sharing is caring
" Mac OS X (requires curl)
" ------------------------
command! -range=% SP <line1>,<line2>w !curl -F 'sprunge=<-' | tr -d '\n' | pbcopy
command! -range=% CL <line1>,<line2>w !curl -F 'clbin=<-' | tr -d '\n' | pbcopy
command! -range=% VP <line1>,<line2>w !curl -F 'text=<-' | tr -d '\n' | pbcopy
command! -range=% PB <line1>,<line2>w !curl -F 'c=@-' | tr -d '\n' | pbcopy
command! -range=% IX <line1>,<line2>w !curl -F 'f:1=<-' | tr -d '\n' | pbcopy
command! -range=% EN <line1>,<line2>w !curl -F 'file=@-;' | tr -d '\n' | pbcopy
command! -range=% XO <line1>,<line2>w !curl -F 'file=@-' | tr -d '\n' | pbcopy
command! -range=% TB <line1>,<line2>w !nc 9999 | tr -d '\n' | pbcopy
shmup / perms.txt
Last active February 6, 2024 00:38
linux perm/group/selinux notes
chgrp pissgroup file | change file's group to pissgroup
chmod 755 directory | set r/w/execute for owner, r/execute for group and others on dir
chown username:groupname file | change owner and group of file
getent group wheel | list all users of a group
gpasswd -a username piss | add user to the group piss (alternative)
gpasswd -d username piss | remove user from the group piss
groupadd piss | create a new group named piss
groupdel piss | delete the group named piss
shmup / moolist
Last active January 27, 2024 17:18
quickly run any of the breathing moos on with tt++
#!/usr/bin/env bash
# quickly run any of the breathing moos on with tt++
# requires: curl, fzy (or fzf but update script), tt++
set -euo pipefail
html_content=$(curl -s '')
shmup / Caddyfile
Created January 7, 2024 23:36
streaming with srs and ffmpeg
:8888 {
root * /crypt
file_server browse
@tsFiles {
path *.ts
header @tsFiles Content-Type video/MP2T
log {
output stdout