Skip to content

Instantly share code, notes, and snippets.

Eaden McKee eadz

Block or report user

Report or block eadz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@eadz
eadz / gist:c87bfaee5b39b83c1d4354756b57fd5f
Created Nov 17, 2017
Melbourne Tech Companies with Commercial Expresso Machines
View gist:c87bfaee5b39b83c1d4354756b57fd5f
# Please Fork / Comment to help make this list a great resource for coffee lovers who work in tech.
Seek
@eadz
eadz / ruby-redux.rb
Last active Aug 10, 2018
Redux in Ruby
View ruby-redux.rb
# Redux in Ruby
class Store
attr_reader :state
def initialize(initial_state, *reducers)
@reducers = reducers
@state = initial_state || {}
end
View keybase.md

Keybase proof

I hereby claim:

  • I am eadz on github.
  • I am eadz (https://keybase.io/eadz) on keybase.
  • I have a public key ASB8MgwUsH_RlBmuVFwgEvvyCSZbcAo11tXpd570OIrxfgo

To claim this, I am signing this object:

View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-toast/paper-toast.html">
View gist:32b773247c4ef22fcba9
#!ipxe
set coreos-version alpha
set base-url http://storage.core-os.net/coreos/amd64-usr/${coreos-version}
kernel ${base-url}/coreos_production_pxe.vmlinuz sshkey="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIqYyhq4JO53xzlx4SI0IFuiVv8IWzcYgzP9gdvL9lL+m1c8TtYsL+P752p0sO68bMRupTEj/f3XtqU1nUL8vvubW8n0svl1av3q8SmQYVHsLhUgW4IVLkvbRfOsfZ7Jwkv8OCCz69L+WMZdLpj5KCTawiaQNJQl5DOJzTiRf1sDeBIOp9dVDCLMZUISh5CnYb4Cd3og4WH32r1jbS6M04UNebna1gtFPe52bETMgLxq6nYBVBKPeTL8G6EhTHFxniTZvbfwn3WNlWZBc44OGsERhQzDOZ3znJA1rc68GGkHZy47l0SI2/GAkdJwYVaE5BkisRyL0nlqk6COcHB42T eadz@Eadens-MacBook-Air.local"
initrd ${base-url}/coreos_production_pxe_image.cpio.gz
boot
@eadz
eadz / gist:10220496
Created Apr 9, 2014
slack custom css
View gist:10220496
/*
User Stylesheet for Slack.
Use with http://www.squarefree.com/userstyles/make-bookmarklet.html
to make a custom css Bookmarket
*/
.light_theme .message {
@eadz
eadz / time.rb
Created Sep 27, 2013
Ruby missing time
View time.rb
» Time.parse("1 Jan 1111") + 1.year
=> 1111-12-25 00:00:00 +1000
» Time.parse("1 Jan 1500") + 1.year
=> 1500-12-23 00:00:00 +1000
» Time.parse("1 Jan 1900") + 1.year
=> 1901-01-01 00:00:00 +1000
View bigredbutton.rb
#!/usr/bin/env ruby
#
# AUTHORS
# Eaden McKee <eadz@eadz.co.nz>
# First Big Red Button Version
# Forked from DelcomLightHid https://raw.github.com/puyo/delcom_light_hid
# ( for a different device)
# Originally by
# Ian Leitch <ian@envato.com>, Copyright 2010 Envato
# * Original single light RGY version
View JS Barcode Scanner Example
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Example</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
// http://www.selfcontained.us/2009/09/16/getting-keycode-values-in-javascript/
keycode = {
getKeyCode : function(e) {
You can’t perform that action at this time.