Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Aaron Raimist aaronraimist

I may be slow to respond.
View GitHub Profile
juanca / github_load_all_diffs.js
Created Mar 2, 2017
Github PR bookmarklet: Load all file diffs
View github_load_all_diffs.js
document.querySelectorAll('.load-diff-button').forEach(node =>
ascendbruce /
Last active Nov 28, 2022
Use macOS-style shortcuts in Windows

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

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

Here's some examples of how this script work:

shobotch /
Last active Nov 22, 2022
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

kylehowells / FreeSpaceViewController.swift
Created May 4, 2022
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 {
Two9A / decronym.php
Last active Oct 10, 2022
Decronym: A simple Reddit bot
View decronym.php
* Dirty, dirty Reddit bot: Decronym
class Reddit {
const USERNAME = 'Decronym';
const PASSWORD = '***';
const CLIENTID = '***';
const SECRET = '***';
Jamesits /
Last active Apr 11, 2022
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.
# 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)