Skip to content

Instantly share code, notes, and snippets.

@acegiak
acegiak / Less Horrific Itch.js
Created February 26, 2023 13:43
Tampermonkey/Greasemonkey: Automatically filter out horror games from itch.io
// ==UserScript==
// @name Remove Horror From Itch
// @match *://itch.io/*
// @run-at document-start
// @grant none
// @description add exclude horror filter to all itch.io pages
// ==/UserScript==
var oldUrlPath = window.location;
@acegiak
acegiak / vidprocess.py
Last active May 20, 2023 05:56
Split video by silence and upload to Youtube
#!/usr/bin/python
# Written for Ubuntu 16.10
# Requires:
# ffmpeg - https://www.ffmpeg.org/
# youtube-upload - https://github.com/tokland/youtube-upload
# usage: vidprocess.py "filename.mp4" "Title of video - Part " "Description of video." "comma,separated,list of tags,for youtube"
# Make sure to set up youtube-upload with a credentials file first. Script currently assumes secrets file is located at ~/.scripts/youtube/client_secret.json
import subprocess,sys,shlex,re