Skip to content

Instantly share code, notes, and snippets.

View Orangetronic's full-sized avatar

David Miller Orangetronic

View GitHub Profile
@Orangetronic
Orangetronic / vec2 stuff
Created November 21, 2020 23:35
Dump this in an iOS playground, and click around to simulate what would be index finger point tracking
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
import CoreGraphics
import simd
/// # Some Convencience Extensions
@Orangetronic
Orangetronic / autocorrects.md
Last active November 21, 2023 23:57
A list of autocorrections I have witnessed my telephone make on my behalf.

autocorrects

being a list of instances where autocorrect has mangled my meaning

  • if to orb
  • of to if
  • ill to i’ll
  • reindexes to Reindeer’s
  • already visited to pressured visiting
  • colour to collie
  • this to these
@Orangetronic
Orangetronic / spongecase.js
Last active June 22, 2022 22:09
a crYoTPGRApHicaLly rEVeRsIBle SPoNGebOb-casE alGORiThm
/*
* Cryptographically reversible spongebob-case text transformation
*
* Sometimes you want to encode some text in a way that is not completely
* secret, but is quite hard to read. But what if you need to decode it again?
*
* Now you can!
*
* to De-sponge some text, simply pass the sponged text back through the sponge
* function