Skip to content

Instantly share code, notes, and snippets.

View peterwooley's full-sized avatar

Peter Wooley peterwooley

View GitHub Profile
//
// FakeKeyEvents.swift
// CutBox
//
// Created by Jason Milkins on 26/3/18.
// Copyright © 2019-2020 ocodo. All rights reserved.
//
import Foundation
import Carbon
@itod
itod / split_keyboards.md
Last active November 14, 2024 19:07
Every "split" mechanical keyboard currently being sold that I know of
@magnusdahlstrand
magnusdahlstrand / ExportDocsAsPNGs.jsx
Created February 28, 2013 16:57
Illustrator script to export open documents to 24-bit PNG files.
function main() {
if (app.documents.length) {
var outputDir = Folder.selectDialog('Select output folder.', '~');
if (outputDir) {
for (var i = 0; i < app.documents.length; i++) {
doc = app.documents[i];
@mahemoff
mahemoff / names.txt
Created April 5, 2012 22:24
Reserved username list
###
A meta-compilation of:
https://raw.github.com/gist/1453705/d253733a56632a8d2c29321a75c18b627fa4dda8/reserved_usernames.rb
http://blog.postbit.com/reserved-username-list.html
http://www.quora.com/How-do-sites-prevent-vanity-URLs-from-colliding-with-future-features
(Took out some company-specific terms at the top of the first one (e.g. imulus, stacks), added one term so far - 'edits'.)
NOTE: Does not include profanities. You may or may not want to add a list of those.
(See https://www.google.com/search?q=profanity+list, but don't try to apply regexp's here because Scunthorpe - http://en.wikipedia.org/wiki/Scunthorpe_problem)