Skip to content

Instantly share code, notes, and snippets.

View blowback's full-sized avatar

Ant Skelton blowback

View GitHub Profile
@blowback
blowback / subvert_froala_getxhr.css
Last active August 25, 2016 15:21
Make the Froala WYSIWG editor play nice with Firebase Stogage
.fr-image-upload-layer {
border: 0px !important;
padding: 0px !important;
}
.fr-image-upload-layer:hover {
background: none !important;
}
.fr-image-parasite {
[root@nas admin]# parted --list
Model: ATA ST1000DM003-1ER1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB btrfs
@blowback
blowback / keybase.md
Created April 14, 2014 12:00
keybase.io shennanigans

Keybase proof

I hereby claim:

  • I am blowback on github.
  • I am ant (https://keybase.io/ant) on keybase.
  • I have a public key whose fingerprint is D6E5 E483 2025 087E E65F 5571 10EF B378 B693 64B3

To claim this, I am signing this object:

@blowback
blowback / crash_printer.rb
Created January 24, 2014 14:47
Crash a Xerox ColorQube 8570DN printer *hard*
#!/usr/bin/env ruby
# crash a Xerox ColorQube 8570DN *hard*. You'll have
# to unplug the piece of crap from the wall and let it
# have a little lie down. Then there's the 15 minute
# power-up. Deep joy.
#
# usage: crash_printer PRINTER_IP_ADDRESS
require 'socket'
@blowback
blowback / thiel4.rb
Created May 7, 2011 15:28
Experiments in Parslet transformations
#!/usr/bin/env ruby
require 'parslet'
require 'ap'
t = {
:result => {
:term => {
:factor => "a",
:plus => "+ ",
:term => {