Skip to content

Instantly share code, notes, and snippets.

Avatar
😷
Recovering from COVID-19

Steve Anderson IrregularShed

😷
Recovering from COVID-19
View GitHub Profile
@IrregularShed
IrregularShed / FontSinclair.js
Created Dec 10, 2018
Sinclair ZX Spectrum-derived Espruino font
View FontSinclair.js
/* Glyphs copyright (c) 1982 Sinclair Research Ltd/Amstrad plc/Sky plc. Non-commercial use approved. */
/* Made with ❤ by Steve Anderson/Irregular Shed, 2018. */
/*
Classic 8x8 Sinclair font, taken from a ZX Spectrum, with
* added backtick and Euro symbols
* pounds sterling and copyright symbols moved to standard ISO/IEC 8859-1 locations
Created using http://ebfc.mattbrailsford.com/
View MDL tab fix.js
a = document.querySelector('#tabset .mdl-tabs__tab-bar a[is-active]:not(.is-active)');
if (a) a.classList.add('is-active');
b = document.querySelector('#tabset .mdl-tabs__panel[is-active]:not(.is-active)');
if (b) b.classList.add('is-active');
@IrregularShed
IrregularShed / ir-codes.md
Last active Dec 30, 2018
A variety of IR codes
@IrregularShed
IrregularShed / Dash button MACs.md
Created Jan 23, 2017
Addresses for Dash Buttons
View Dash button MACs.md

Andrex dash button: 50:f5:da:46:23:1b

@IrregularShed
IrregularShed / hey.js
Created Oct 11, 2016
Love Javascript
View hey.js
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+
@IrregularShed
IrregularShed / Google Glass Camera Preview Sizes.java
Created Nov 11, 2014
All the different valid values for the preview images coming out of a Google Glass camera.
View Google Glass Camera Preview Sizes.java
/*
Valid Google Glass Camera preview sizes:
1920x1080, 1280x960, 1280x720, 1024x768, 1024x576, 960x720, 800x480, 768x576, 720x576, 720x480,
768x576, 640x480, 640x368, 640x360, 512x384, 512x288, 416x304, 416x240, 352x288, 320x240,
320x192, 256x144, 240x160, 224x160, 176x144, 160x120, 128x96,
960x1280, 720x1280, 768x1024, 576x1024, 720x960, 480x800, 576x768, 576x720, 576x768, 480x720,
480x640, 368x640, 384x512, 288x512, 304x416, 240x416, 288x352, 240x320, 192x320, 144x256,
160x240, 160x224, 144x176, 120x160, 96x128
*/
View keybase.md

Keybase proof

I hereby claim:

  • I am irregularshed on github.
  • I am irregularshed (https://keybase.io/irregularshed) on keybase.
  • I have a public key whose fingerprint is A26A 5052 8F83 EF0D 1107 6741 4A00 553A 57D7 ADE8

To claim this, I am signing this object:

@IrregularShed
IrregularShed / london2012bedamned.user.js
Created Apr 18, 2012
Userscript to remove annoying Olympic logo from BBC Website; also removes a link from homepage ("Olympics")
View london2012bedamned.user.js
// ==UserScript==
// @name London 2012 Be Damned
// @version 0.1
// @namespace http://www.twindx.com/
// @include http://www.bbc.co.uk/*
// @description Remove the annoying Olympic logo at the top of the BBC website.
// @updateURL https://raw.github.com/gist/2416831#file_london2012bedamned.user.js
// ==/UserScript==
GM_addStyle("div.blq-masthead-container li#blq-nav-promo {display:none !important;} \