Skip to content

Instantly share code, notes, and snippets.

View Delivator's full-sized avatar
🏠
Working from home

David Delivator

🏠
Working from home
View GitHub Profile
@Delivator
Delivator / geogame-firefox-lag-fix.user.js
Last active May 9, 2025 14:09
Fixes a bug where google streetview laggs horribly on 3rd party websites like Geotastic or geoguessr.
// ==UserScript==
// @name Geotastic/guessr lag fix on Firefox Linux
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Spoofs a Chromium-based user agent for geotastic.net and geoguessr.com to potentially improve performance.
// @author Google Gemini 2.5 Pro
// @match *://geotastic.net/*
// @match *://www.geotastic.net/*
// @match *://geoguessr.com/*
// @match *://www.geoguessr.com/*
@Delivator
Delivator / my-linux-journey.md
Last active May 17, 2025 11:39
Documenting my switch from Windows 11 to Linux

Intro

After pewdiepie's video I decided that I also want to try and switch to Linux for daily driving. My usecases are basic coding, trying out bleeding edge tech, photo editing for personal use with Lightroom and Photoshop and gaming. Basic office stuff too.

I've used headless Linux for a while now with my dedicated servers and raspberry pi's over the years. Also a little bit of using desktop envionments but I don't even know which ones.

I knew that I didn't want to ditch windows 100% mostly because of Games with Anticheat that don't work on linux (yet) and Photoshop and Lightroom. So I decided to buy a secondary NVMe SSD and install linux on that. Didn't feel like dual booting (or am I dual booting?) so I just made this ssd my default boot drive in the bios. If I want to switch back to Windows I just reboot and hit F12 to change it in the boot menu.

Getting started (picking a distro)

Tried mint first. Liked it but quickly figured out that it doesn't have HDR support and I got a HDR monitor just a yea

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Delivator
Delivator / README.md
Last active March 27, 2025 14:19 — forked from Daan-Grashoff/README.md
Bring back the google maps button and make map image clickable when searching on google
Param(
[Parameter(Mandatory=$True)]
[string]$Path,
[string]$Quality = "36",
[string]$Preset = "p4",
[string]$Tune = "hq",
[string]$Format = "webm",
[bool]$CopyAudio = $False,
[switch]$Keep
)
Param(
[Parameter(Mandatory=$True)]
[string]$Original,
[Parameter(Mandatory=$True)]
[string]$Compare
)
$OriginalSize = (Get-ChildItem $Original | Measure-Object Length -Sum).sum / 1Gb
$CompareSize = (Get-ChildItem $Compare | Measure-Object Length -Sum).sum / 1Gb
[string]$Difference
@Delivator
Delivator / hide_prime-video-player.js
Created July 6, 2021 23:11
Amazon Prime Video hide player controls
// paste this in your browser's console
// hide
document.querySelector(".webPlayerSDKUiContainer").style.opacity = 0
// show again
document.querySelector(".webPlayerSDKUiContainer").style.opacity = 1
@Delivator
Delivator / open_win-terminal_here.reg
Created December 13, 2020 14:21
Add "Open Windows Terminal here" to directory context menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal]
@="Windows Terminal Here"
"Icon"="%USERPROFILE%\\terminal\\wt_32.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal\command]
@="wt.exe -d \"%V\""
// ==UserScript==
// @name Cookie clicker SkyDB backup
// @namespace https://github.com/Delivator
// @version 0.1
// @description A plugin that allows you to save your Cookie Clicker game save to skynet.
// @author Delivator
// @match https://orteil.dashnet.org/cookieclicker/
// @grant none
// ==/UserScript==