Skip to content

Instantly share code, notes, and snippets.

View dugger's full-sized avatar

Alex Dugger dugger

View GitHub Profile
@dugger
dugger / gist:9548932
Created March 14, 2014 14:35
Overlays in CK Editor
<div id="cboxOverlay" style="position: fixed; top: 0px; left: 0px; z-index: 9999; overflow: hidden; width: 1348px; height: 655px; background-color: rgb(255, 255, 255); color: rgb(85, 85, 85); font-family: sans-serif; font-size: 16px; line-height: 22px; opacity: 0.9; cursor: pointer; ">&nbsp;</div>
<div class="cboxSlideshow_off" id="colorbox" style="position: fixed; top: 0px; left: 0px; z-index: 9999; overflow: hidden; box-sizing: content-box; color: rgb(85, 85, 85); font-family: sans-serif; font-size: 16px; line-height: 22px; padding-bottom: 0px; padding-right: 0px; width: 1348px; height: 655px; ">
<div id="cboxWrapper" style="position: absolute; top: 0px; left: 0px; z-index: 9999; overflow: hidden; height: 655px; width: 1348px; ">
@dugger
dugger / my_hash.rb
Created October 2, 2015 18:53
Lets create a hash that can handle missing keys (treat them as nil)! 😉
class MyHash < Hash
def []=(key=nil, value)
super(key,value)
end
def [](key=nil)
super(key)
end
end
Verifying that +alexdugger is my blockchain ID. https://onename.com/alexdugger

Keybase proof

I hereby claim:

  • I am dugger on github.
  • I am thedugger (https://keybase.io/thedugger) on keybase.
  • I have a public key ASAoIWTio9L2Vdcn1IODvplm_2OClM_7TZyMdsxmbKVF9Qo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 16jNFxWd39qePok4kF1NPziZrw7RFDQLFF https://explorer.blockstack.org/address/16jNFxWd39qePok4kF1NPziZrw7RFDQLFF