Skip to content

Instantly share code, notes, and snippets.

View gmacdougall's full-sized avatar

Gregor MacDougall gmacdougall

  • Toronto, Ontario, Canada
View GitHub Profile
2017-03-24 14:37:02 denissellu Hello,
2017-03-24 14:37:08 denissellu Sorry I'm late
2017-03-24 14:37:16 denissellu I'm ready for the interview now
2017-03-24 14:43:29 gmacdougall Hey. That's no problems.
2017-03-24 14:43:32 gmacdougall How are you doing?
2017-03-24 14:45:35 denissellu I'm good thank you
2017-03-24 14:45:37 denissellu how are you
2017-03-24 14:47:35 gmacdougall Doing very well. As I mentioned previously, we're looking to do some interviews for our blog to give people an idea of what to expect at SolidusConf.
2017-03-24 14:47:49 gmacdougall I'm just going to ask some questions, get some answers and we'll format it in to a sensible blog post
2017-03-24 14:48:25 denissellu cool, sounds good
2017-03-30 08:00:56 gmacdougall Good day. Did you have time for the SolidusConf blog interview now?
2017-03-30 08:14:17 alexstoick Hey
2017-03-30 08:14:25 alexstoick How much time you think it’s gonna take? :smile:
2017-03-30 08:14:32 alexstoick i have about 1h
2017-03-30 08:14:46 gmacdougall Most of the previous ones have been 20-30 minutes
2017-03-30 08:14:50 alexstoick ok
2017-03-30 08:14:53 gmacdougall It depends on how fast you can type :)
2017-03-30 08:14:56 alexstoick yep
2017-03-30 08:14:58 alexstoick :smile:
2017-03-30 08:15:08 alexstoick pretty confident in my typing skills :smile:
require 'aws-sdk'
require 'timeout'
def wait_for_completion(opsworks, result)
status = 'running'
Timeout::timeout(300) do
while (status == 'running') do
sleep(5)
response = opsworks.describe_deployments(
deployment_ids: [result.deployment_id]
class PopulateBundleManifests < ActiveRecord::Migration
def up
e = entries.map { |entry| entry.split(' ') }
results = manifests.map do |line|
id, parent_id = line.split(' ')
[
parent_id,
e.select { |entry| entry.first === id }.map { |entry| entry.last}
]
end
FROM ruby:2.2.7
ENV N_VERSION 2.1.7
ENV NODE_VERSION 8.1.2
ENV PHANTOMJS_VERSION 2.1.1
ENV YARN_VERSION 0.24.6
# Gems with native extensions
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential fontconfig curl
https://www.tommyjohn.com/admin/products/cc-armory-trunk/variants/1069130378/edit
https://www.tommyjohn.com/admin/products/cc-armory-trunk/variants/1069130377/edit
https://www.tommyjohn.com/admin/products/cc-armory-trunk/variants/1069130376/edit
https://www.tommyjohn.com/admin/products/cc-armory-trunk/variants/1069130379/edit
https://www.tommyjohn.com/admin/products/cc-armory-trunk/variants/1069130380/edit
https://www.tommyjohn.com/admin/products/cc-armory-boxer-brief/variants/1069130383/edit
https://www.tommyjohn.com/admin/products/cc-armory-boxer-brief/variants/1069130382/edit
https://www.tommyjohn.com/admin/products/cc-armory-boxer-brief/variants/1069130381/edit
https://www.tommyjohn.com/admin/products/cc-armory-boxer-brief/variants/1069130384/edit
https://www.tommyjohn.com/admin/products/cc-armory-boxer-brief/variants/1069130385/edit
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4L
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4M
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4S
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4XL
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4XXL
10-day-laundry-skipper-trunk-set 10DLASKIP6
10-day-laundry-skipper-trunk-set 10DLASKIP6L
10-day-laundry-skipper-trunk-set 10DLASKIP6M
10-day-laundry-skipper-trunk-set 10DLASKIP6S
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4L Black/Mykonos Blue/Navy
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4M Black/Mykonos Blue/Navy
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4S Black/Mykonos Blue/Navy
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4XL Black/Mykonos Blue/Navy
10-day-laundry-skipper-boxer-brief-set 10DLASKIP4XXL Black/Mykonos Blue/Navy
10-day-laundry-skipper-trunk-set 10DLASKIP6L Black/Mykonos Blue/Navy
10-day-laundry-skipper-trunk-set 10DLASKIP6M Black/Mykonos Blue/Navy
10-day-laundry-skipper-trunk-set 10DLASKIP6S Black/Mykonos Blue/Navy
10-day-laundry-skipper-trunk-set 10DLASKIP6XL Black/Mykonos Blue/Navy
10-day-laundry-skipper-trunk-set 10DLASKIP6XXL Black/Mykonos Blue/Navy
var React = require('react');
var WeatherForm = require('WeatherForm');
var WeatherMessage = require('WeatherMessage');
class Weather extends React.Component {
constructor(props) {
super(props);
this.state = {
location: 'Miami',
temp: 88