Skip to content

Instantly share code, notes, and snippets.

View aaronraimist's full-sized avatar
I may be slow to respond.

Aaron Raimist aaronraimist

I may be slow to respond.
View GitHub Profile
HPZ07 / DisableYoutubeScrolling.user.js
Last active November 27, 2023 17:39
Disable YouTube Spacebar Scrolling
View DisableYoutubeScrolling.user.js
// ==UserScript==
// @name Disable YouTube spacebar scrolling
// @namespace
// @version 0.2
// @description Disables spacebar scrolling and forces it to pause the video instead
// @author HPZ07
// @match*
// @grant none
// ==/UserScript==
kylehowells / FreeSpaceViewController.swift
Created May 4, 2022 23:24
UIViewController subclass to show both the Settings app displayed free space, and the real free space.
View FreeSpaceViewController.swift
// FreeSpaceViewController.swift
// Free Space
// Created by Kyle Howells on 04/05/2022.
import UIKit
class FreeSpaceViewController: UIViewController {
merlinmann /
Last active September 6, 2023 22:48
bios - Merlin likes to change his Twitter bio for some reason. #runx

Good Twitter Bios runx


The bar is in the globe.

This is a factory, not a circus.

I weigh less than a slice of bread.

juanca / github_load_all_diffs.js
Created March 2, 2017 18:42
Github PR bookmarklet: Load all file diffs
View github_load_all_diffs.js
document.querySelectorAll('.load-diff-button').forEach(node =>
Jamesits /
Last active October 22, 2023 13:04
Install Caddy Server on Ubuntu with Systemd.
# Should work on all Debian based distros with systemd; tested on Ubuntu 16.04+.
# This will by default install all plugins; you can customize this behavior on line 6. Selecting too many plugins can cause issues when downloading.
# Run as root (or sudo before every line) please. Note this is not designed to be run automatically; I recommend executing this line by line.
apt install curl
curl | bash -s personal dns,docker,dyndns,hook.service,http.authz,http.awses,http.awslambda,http.cache,http.cgi,http.cors,http.datadog,http.expires,http.filemanager,http.filter,http.forwardproxy,http.geoip,http.git,http.gopkg,http.grpc,http.hugo,http.ipfilter,http.jekyll,http.jwt,http.locale,http.login,http.mailout,http.minify,http.nobots,http.prometheus,http.proxyprotocol,http.ratelimit,http.realip,http.reauth,http.restic,http.upload,http.webdav,net,tls.dns.auroradns,,tls.dns.cloudflare,tls.dns.cloudxns,tls.dns.digitalocean,tls.dns.dnsimple,tls.dns.dnsmadeeasy,tls.dns.dnspod,tls.dns.dyn,tls.
ascendbruce /
Last active November 24, 2023 09:51
Use macOS-style shortcuts in Windows

Use macOS-style shortcuts in Windows / keyboard mappings using a Mac keyboard on Windows

ℹ️ There is a newer alternative project that does similar things and more, check it out at

Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)

With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.

How does it work

# This should be the public-facing name (ie: dns name)
# The room ID is NOT the room alias. The ID can be found at the bottom of the room settings dialog in riot-web
# This is your user ID and access token. The access token must match the user.
USER_ID="" # The home server should match this domain as well (ie: as a HS should be in the user)
Two9A / decronym.php
Last active September 24, 2023 08:38
Decronym: A simple Reddit bot
View decronym.php
* Dirty, dirty Reddit bot: Decronym
class Reddit {
const USERNAME = 'Decronym';
const PASSWORD = '***';
const CLIENTID = '***';
const SECRET = '***';