Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Test
// @namespace test
// @version 0.1
// @description Test Userscript
// @author iamnobody
// @license MIT
// @match *://*/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name pomodoro timer (Full-Screen Timer Watermark with Add Button)
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Full-screen timer watermark with a button to add custom time in minutes
// @author iamnobody
// @license MIT
// @match *://*/*
DTJURCWUKL-eyJsaWNlbnNlSWQiOiJEVEpVUkNXVUtMIiwibGljZW5zZWVOYW1lIjoiQXNodXRvc2ggSmluZGFsIiwibGljZW5zZWVUeXBlIjoiUEVSU09OQUwiLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsImZhbGxiYWNrRGF0ZSI6IjIwMjUtMDYtMDQiLCJwYWlkVXBUbyI6IjIwMjYtMDYtMDMiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlBEQiIsImZhbGxiYWNrRGF0ZSI6IjIwMjUtMDYtMDQiLCJwYWlkVXBUbyI6IjIwMjYtMDYtMDMiLCJleHRlbmRlZCI6dHJ1ZX0seyJjb2RlIjoiUFNJIiwiZmFsbGJhY2tEYXRlIjoiMjAyNS0wNi0wNCIsInBhaWRVcFRvIjoiMjAyNi0wNi0wMyIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJQUlIiLCJmYWxsYmFja0RhdGUiOiIyMDI1LTA2LTA0IiwicGFpZFVwVG8iOiIyMDI2LTA2LTAzIiwiZXh0ZW5kZWQiOnRydWV9LHsiY29kZSI6IlBDV01QIiwicGFpZFVwVG8iOiIyMDI2LTA2LTAzIiwiZXh0ZW5kZWQiOnRydWV9LHsiY29kZSI6IkFJTCIsInBhaWRVcFRvIjoiMjAyNi0wNi0wMyIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiQUlGIiwicGFpZFVwVG8iOiIyMDI2LTA2LTAzIiwiZXh0ZW5kZWQiOmZhbHNlfV0sIm1ldGFkYXRhIjoiMDIyMDI1MDYxMVBTQUEwMTEwMDhYIiwiaGFzaCI6IjcwOTM1NTQ0LzA6LTU4MTAwODAzMCIsImdyYWNlU
@ajorpheus
ajorpheus / userChrome.css
Created May 8, 2025 10:44 — forked from bayashi/userChrome.css
firefox userChrome.css
/* For Mac: ~/Library/Application Support/Firefox/Profiles/FOOBAR.default/chrome/userChrome.css */
/* hide tab bar */
#TabsToolbar { visibility: collapse !important; }
/* hide header of side bar */
#sidebar-header { visibility: collapse; }
/* multiple bookmark toolbar */
#personal-bookmarks {
display: block;
@ajorpheus
ajorpheus / monitor-time-machine-launch.md
Last active March 26, 2025 12:48
Monitor launch of Time Machine App and quit or launch Amethyst accordingly
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.user.timemachine-amethyst-monitor</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>/Users/az/Dropbx/scripts/tm-amethyst-manager.sh</string>
@ajorpheus
ajorpheus / pdfexpert_batch_ocr.applescript
Created July 20, 2024 11:30 — forked from nuclearsecrecy/pdfexpert_batch_ocr.applescript
Applescript to batch run OCR on many PDF files using PDF Expert
# Applescript to batch OCR PDFs using PDF Expert.
# By Alex Wellerstein. Last updated June 18, 2024. No copyright asserted -- released for public domain use.
# Absolutely no warranties, guarantees, promises, ANYTHING provided. Use at your own risk.
#
# Will automatically save and close each PDF after OCR completes.
# Assumes PDF Expert is the default program to open PDFs!
# Does not have robust error handling. Held together with duct tape.
# Just a temporary solution until Readdle actually supports batch operations.
# Seems to work on OS 14.3.1, with PDF Expert 3.10.4.
# Has not been extensively tested to see what happens if you try to do other work while it is running; could foul up.
@ajorpheus
ajorpheus / google_redirect_remove.user.js
Last active January 21, 2024 09:44 — forked from PolarBearGG/google_redirect_remove.js
Userscript to remove URL redirection from google sites
// ==UserScript==
// @name Google Redirect Remove
// @id google_redirect_remove
// @namespace scripts.zachbrowne.com
// @description Remove URL redirection from google sites
// @license GPL v3
// @include *://www.google.*/*q=*
// @include *://www.google.*/*tbs=*
// @include *://www.google.*/search?*
// @include *://www.google.*/webhp?*
@ajorpheus
ajorpheus / shell-setup.ps1
Created June 20, 2023 07:59 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@ajorpheus
ajorpheus / query-sparsebundle-band-size.sh
Created May 17, 2023 11:02 — forked from sansumbrella/query-sparsebundle-band-size.sh
Query band size of a sparsebundle (also accessible in Info.plist of bundle)
# find out how big the sparse-band-size is in a mounted volume
hdiutil info -verbose | grep band-size
# default Time Machine sparsbundle virtual-band-size = 16384 (8MB)
# create-sparsebundle's virtual-band-size = 262144 (128MB)
@ajorpheus
ajorpheus / temp
Created March 16, 2023 11:16
Temp
Add-Type -TypeDefinition @'
using System.Runtime.InteropServices;
[Guid("5CDF2C82-841E-4546-9722-0CF74078229A"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IAudioEndpointVolume
{
// f(), g(), ... are unused COM method slots. Define these if you care
int f(); int g(); int h(); int i();
int SetMasterVolumeLevelScalar(float fLevel, System.Guid pguidEventContext);
int j();
int GetMasterVolumeLevelScalar(out float pfLevel);