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
/* | |
* 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 |
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
import CoreGraphics | |
import simd | |
/// # Some Convencience Extensions |
This is a React hook that creates a timeout, and provides functions for pausing, resuming, and resetting that timeout.
db = db.getSiblingDB("admin"); | |
dbs = db.runCommand({ "listDatabases": 1 }).databases; | |
// Iterate through each database and get its collections. | |
dbs.forEach(function(database) { | |
db = db.getSiblingDB(database.name); | |
}); |
Instantiate this class around a tree-like object, e.g.
const filetree = new IterableTree({
name : "Desktop",
children : [
{ name : "funny.gif" },
{ name : "resume.pdf" },
{ name : "memes",
children : [
{ name : "distracted-boyfriend.png" },
/* | |
ADD THESE LINES TO YOUR SITE'S STYLESHEETS TO HIDE THE GENIUS WEB ANNOTATOR STUFF. | |
*/ | |
genius-back-page, genius-back-page-mobile-clickjacker, genius-pre-annotation-prompt { | |
display: none; | |
visibility: hidden; | |
opacity: 0; | |
position: absolute; | |
left: -10000px; |
Designer/developer fascinated by the promise of the web. Front end proficiency strong. Some excursions through full-stack development/deployment. Four years running successful freelance business. Youth educator in media-literacy focussed summer program. Fascinated by the way we use technology to engage with the world around us. Philosophy B.A. with breadth and depth of hands-on technical experience in design, complex problem-solving and analysis, and online technologies. Managerial and team experience as editor of student publications. Occasional musician.
RewriteCond %{HTTP_HOST} ^mydomainname\.com$ [OR] | |
RewriteCond %{HTTP_HOST} ^www\.mydomainname\.com$ | |
RewriteCond %{REQUEST_URI} !^/subfoldername/ | |
RewriteRule (.*) /subfoldername/$1 | |
#from http://stackoverflow.com/a/11090555/2776197 |
# Download all the images from a webpage | |
# Usage: imagegrab URL | |
function imagegrab () { | |
wget -nd -r -l 2 -A jpg,jpeg,png,gif $1 | |
} | |
# Grab all the colours from a stylesheet and dump them in a snippets file | |
# Totally useless with minified stylesheets. | |
# Usage: stylegrab styleSheetURL styleExpression | |
function stylesgrab () { |