Skip to content

Instantly share code, notes, and snippets.

View edward's full-sized avatar

Edward Ocampo-Gooding edward

View GitHub Profile
@edward
edward / launch.json
Last active August 19, 2022 08:31
Visual Studio Code debugging for Exercism
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"--runInBand"
require 'rubygems'
require 'benchmark/ips'
class ExampleClass
def foo; 42; end
end
module ExampleMixin
def foo; 43; end
end

Here’s the idea, inspired by the iOS game Lifeline: Silent Night:

  • You see a poster with the word “For adventure, text 613 ### ####”
  • You text the number and it replies with a message. This message compels you to a certain vista or vantage point in Ottawa via detailed instructions or inspires you to seek out a personal place. The messages might only be sent at night or something. Not sure about this part. Also not sure if we want to gather people playing in one spot or not. (Having strangers run into each other while playing a game like this sounds neat to me but I also want to keep it safe so I don’t know about this part yet.)
  • The game leads you through a mystery with a leadup to a climax and a resolution. Let’s go with 7 stops.
  • Players can leave a voicemail about their experience and are prompted for a donation to help out with messaging fees.
@edward
edward / gist:8572602
Created January 23, 2014 03:59
Running a Happy Hackfest Lessons from many Open Data hackfests

Happy Hackfests

Hi, my name is Edward. I work for an excellent company called Shopify. In my spare time, I put on hackfests with some excellent friends of mine.

Once upon a time, I went to a lot of tech-related meetups. I want to enough meetups that I started to know pretty much everyone who showed up. It was pretty much the same dudes interested in the same things every. single. time. Nice guys, but I wanted something a little different.

Fast-forward to some really awesome party I was at. There were all sorts of people from different backgrounds at this party, and they were all really smart, and really interesting. I met biologists specializing in arctic bacteria that live in semi-transparent rocks that naturally create condensation so that the bacteria can live. I met librarians who told me about the crazy political and philosophical beliefs that go into systems like the Library of Congress system of organizing books, and how you can still see the history of feminism and women’s suffrage just by lookin

@edward
edward / yep.md
Last active January 4, 2016 04:58
Culture at Shopify GTEC 2013

Shopify culture is rad and you could have it too if you did more of what you’re already doing

Talk for GTEC 2013

Hi, I'm Edward. Catch me on twitter at edwardog. I work at Shopify, down the street.

If you could not fail, how would you change the culture in the public service to be the best place to work at on the planet?

I am certain that all the pieces are there, but there's something in the way of ubiquitous innovation and growth in the organization.

Shopify is a company of motivated people who make the best stuff for building businesses on the internet. I'm not going to prescribe that you do everything that we do, but I encourage you to steal the parts that make sense for you.

@edward
edward / gist:8307972
Created January 7, 2014 22:17
Recruiter Hacker job posting

Seeking recruiting hacker.

I am looking to find and hire a software developer to join the Shopify Talent Acquisition Team. Help us build the company by optimizing, scaling, and hacking the hiring pipeline to better build and shape the next generation of Shopify. [Add more specific details here?]

Recruiting is different here. Forget every terrible interaction you have had with recruiters who pressure you to consider working for “their rapidly growing market leading client” that they can’t tell you about in any detail, let alone the people you would inevitably spend the next chapter of your life with.

Recruitment at Shopify is human. It’s a series of conversations with people from several teams across the company. The intention is to discover how you, the candidate, are going to have a good time working in a team and ultimately grow as a software developer and as a person. Considering the success of the company, how many friends of staff referrals we get, and our sub-1% annual turnover, this focus on

@edward
edward / gist:8108608
Created December 24, 2013 03:55
Example of destructuring in Ruby
class Whatever
def ohai(message: nil, times: nil)
message * times
end
end
Whatever.new.ohai({times: 3, message: 'yep'}) # => "yepyepyep"
@edward
edward / gist:7951522
Created December 13, 2013 21:20
A talk on running hackfests from Edward at Open Data Ottawa. Presented at APIUS 2013 in Sherbrooke Quebec, October 26th, 2013.

Happy Hackfests

Hi, my name is Edward. I work for an excellent company called Shopify. In my spare time, I put on hackfests with some excellent friends of mine.

Once upon a time, I went to a lot of tech-related meetups. I want to enough meetups that I started to know pretty much everyone who showed up. It was pretty much the same dudes interested in the same things every. single. time. Nice guys, but I wanted something a little different.

Fast-forward to some really awesome party I was at. There were all sorts of people from different backgrounds at this party, and they were all really smart, and really interesting. I met biologists specializing in arctic bacteria that live in semi-transparent rocks that naturally create condensation so that the bacteria can live. I met librarians who told me about the crazy political and philosophical beliefs that go into systems like the Library of Congress system of organizing books, and how you can still see the history of feminism and women’s suffrage just by lookin

@edward
edward / gist:7745814
Created December 2, 2013 06:14
Setting up Amber
➜ google-calendar-api ls -la
total 8
drwxr-xr-x 5 edward staff 170 2 Dec 01:11 .
drwxr-xr-x 4 edward staff 136 2 Dec 01:10 ..
-rw-r--r-- 1 edward staff 879 2 Dec 01:11 index.html
drwxr-xr-x 2 edward staff 68 2 Dec 01:10 js
drwxr-xr-x 2 edward staff 68 2 Dec 01:10 st
➜ google-calendar-api ../vendor/amber/bin/amber serve --base-path `pwd`
Warning: project directory does not contain index.html
Thai dishes that Oren should order, especially from Anna Thai in Ottawa:
Grilled squid (pla muk yang)
Fresh spring rolls
Panaeng Curry w/ chicken
Crispy duck (pad ped makua yao)
light red curry w/ shrimp
pad ki mow w/ shrimp