Skip to content

Instantly share code, notes, and snippets.

@vdeemann
vdeemann / hide-seen-posts-on-tumblr
Created May 24, 2026 17:55
Tracks posts you scroll past on Tumblr's Explore page. On the next page refresh, those posts are hidden — before they paint, no flash.
// ==UserScript==
// @name Tumblr Explore - Hide Seen Posts
// @namespace https://github.com/vdeemann
// @version 2.2.2
// @description Tracks posts you scroll past on Tumblr's Explore page. On the next page refresh, those posts are hidden — before they paint, no flash.
// @author Dee
// @match https://www.tumblr.com/explore*
// @match https://www.tumblr.com/dashboard/explore*
// @grant GM_getValue
// @grant GM_setValue
@vdeemann
vdeemann / youtube-theater-mode-view
Created May 22, 2026 20:37
In theater mode: title, Subscribe row, and description are centered as a group at the top with empty space on either side. Recommendations sidebar appears on the right starting at the comments section. No flicker on page load.
// ==UserScript==
// @name YouTube Theater Mode - Centered Top + Sidebar Beside Comments
// @namespace https://github.com/vdeemann
// @version 9.0.0
// @description In theater mode: title, Subscribe row, and description are centered as a group at the top with empty space on either side. Recommendations sidebar appears on the right starting at the comments section. No flicker on page load.
// @author Dee
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
@vdeemann
vdeemann / deepcut-global-playlist-search
Last active May 24, 2026 05:48
Search across one, several, or all of your playlists at once on deepcut.live.
@vdeemann
vdeemann / deepcut-fm-dj-auto-mute
Last active May 19, 2026 09:33
Auto-mutes songs from DJs not on your favorites list on deepcut.fm
// ==UserScript==
// @name Deepcut DJ Auto-Muter
// @namespace https://github.com/vdeemann
// @version 2.1.0
// @description Auto-mutes songs from DJs not on your favorites list on deepcut.fm
// @author vdeemann
// @match https://deepcut.live/*
// @match https://deepcut.fm/*
// @match https://deep-cut.fm/*
// @match https://www.deepcut.live/*
# MacPorts - MUST be first in PATH
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Commented out Homebrew paths
#export PATH="/usr/local/opt/icu4c/bin:$PATH"
#export PATH="/usr/local/opt/icu4c/sbin:$PATH"
#source /opt/local/share/asdf/asdf.sh
# Enable history in iex console
@vdeemann
vdeemann / soundcloud-artist-repost-hider
Last active May 19, 2026 03:38
Hide reposts from specific artists on SoundCloud
// ==UserScript==
// @name SoundCloud Artist Repost Hider
// @namespace http://tampermonkey.net/
// @version 2.1
// @description Hide reposts from specific artists on SoundCloud
// @author You
// @match https://soundcloud.com/*
// @grant GM_setValue
// @grant GM_getValue
// @run-at document-idle
colorscheme default
" Set line numbers
:set number
:set relativenumber
" Highlight searches
set hlsearch
" :noh to clear highlighting
@vdeemann
vdeemann / modules_and_functions_6.exs
Last active December 12, 2024 00:22
programming-elixir-1.6-chapter-6
defmodule Chop do
def guess(actual, range), do: guess_conditional(actual, range, div(Range.size(range),2))
def guess_conditional(actual, range, current_guess) do
if actual > 0 and actual <= Range.size(range) do
guess_helper(actual, range, current_guess)
end
end
def guess_helper(actual, _, current_guess) when current_guess == actual do
"#{current_guess}"
end
1.) Open your current Firefox Profile folder
a.) On the Firefox address bar type about:support
b.) Folder path is in “Profile Folder” section, use that and navigate to it
2.) create a folder called chrome (if it doesnt exist)
3.) go into created folder and create a userChrome.css file
4.) In userChrome.css paste in code from:
(use the gist snippet below)
5.) activate custom stylesheets in Firefox:
public class Puzzle4 {
public static void main(String [] args) {
Value [] values = new Value[6];
int number = 1;
int i = 0;
while (i < 6) {
values[i] = new Value();
// 0-1 1-10 2-100 3-1000 4-10000 5-100000 6-
values[i].intValue = number;
// 0-10 1-100 2-1000 3-10000 4-100000 5-1000000 6-