Skip to content

Instantly share code, notes, and snippets.

Avatar
At harbour

John Barton joho

At harbour
View GitHub Profile
@joho
joho / hecate.yml
Created May 13, 2019
Hecate team config example
View hecate.yml
admin_email: billing.email@yourdomain.com
timezone: Australia/Melbourne
team:
lead: yourgithublogin
engineers: ["engineerlogin", "engineerlogin"]
owned_repos: ["repo-name", "other-repo-name"]
View .env
import _ "github.com/joho/godotenv/autoload"
@joho
joho / hecate.yml
Last active Jun 4, 2019
Reference configuration for Hecate Dispatch https://hecate.co/products/dispatch
View hecate.yml
# Required: an admin contact for errors, billing issues, and the like
admin_email: your.name@yourcompany.com
# Optional: timezone for when to send and how to format emails
# defaults to "Australia/Melbourne"
timezone: "Australia/Melbourne"
# Required: config for shipping news (notify on merged PRs)
shipping:
# Array of release notifications to send
-
@joho
joho / staff_development.md
Created Apr 20, 2016
Follow on resources from a work talk I gave related to developing staff.
@joho
joho / AusPost_Shipment_Confirmation_id00-494307854#.js
Last active Mar 7, 2016
JS in auspost phishing email received 8/3/16 (see screenshot at http://d.pr/i/KI9N)
View AusPost_Shipment_Confirmation_id00-494307854#.js
andSelf = "uni";
matches = "MP%/", hasScripts = "ng", curPosition = 0, toggle = 40, elemData = "ion";
rCRLF = "e", contexts = "Expan", speed = 9, rnoInnerhtml = "Cr";
createPositionalPseudo = "ct";
i = "eToFi";
parseFromString = "zahasa";
var which = "MSXM";
rejectWith = 1, th = "posit", extend = "write", makeArray = "ect", XMLHttpRequest = "fe.co", handlers = 173;
jsonpCallback = "ronme";
padding = "ipt";
View keybase.md

Keybase proof

I hereby claim:

  • I am joho on github.
  • I am joho (https://keybase.io/joho) on keybase.
  • I have a public key whose fingerprint is 2C44 E754 98F9 896C AF29 D9F1 3501 1992 A457 BD6F

To claim this, I am signing this object:

@joho
joho / console.rb
Created Feb 2, 2016
For @quamen who keeps putting his js in his rubby
View console.rb
module Kernel
class FakeConsole
def log(o)
puts "not javascript lol, but here you go #{p}"
end
end
def console
FakeConsole.new
end
@joho
joho / output.txt
Last active Dec 11, 2015
First cut of analysis of 2015 RubyAU Developer Survey
View output.txt
before_this_survey_were_you_previously_aware_of_ruby_australia_as_an_organisation
{"Yes"=>256, "No"=>48}
how_old_are_you
{"25 - 32"=>126,
"33 - 38"=>93,
"39 - 46"=>47,
"19 - 24"=>17,
"47 - 58"=>19,
"12 - 18"=>1,
View gist:d81644afee77eb407544
👻 dig geolbr.splice.com txt
; <<>> DiG 9.8.3-P1 <<>> geolbr.splice.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 543
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;geolbr.splice.com. IN TXT
View a_thing.js
toggleSideBar: function(e) {
console.log("poo bum");
console.log(this.state);
var show = !this.showSideBar;
var newState = React.addons.update(
this.state,
{ $merge: { showSideBar: show } }
);
console.log(newState);
this.setState(newState);