This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'segment' | |
require './lib/configurable' | |
require './lib/pipedrive/client' | |
module Analytics | |
class Update | |
include Configurable | |
attr_reader :params |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:((function()%20%7B%20%20var%20imgs%3Ddocument.getElementsByTagName(%27img%27)%3Bfor(var%20i%3D0%3Bi%3Cimgs.length%3Bi%2B%2B)%7Bimgs%5Bi%5D.setAttribute(%27src%27,%27https://avatars1.githubusercontent.com/u/4478671%3Fv%3D3%26s%3D400%27)%3B%7D%7D)()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe JourneyLog do | |
subject(:journey_log) { described_class.new } | |
let(:journey_klass) { double(:journey_klass) } | |
let(:journey) { double(:journey) } | |
describe "Starting a journey" do | |
it "adds a journey to the log" do | |
allow(journey_klass).to receive(:new).with(:station).and_return(journey) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe JourneyLog do | |
subject(:journey_log) { described_class.new(journey_klass: journey_klass) } | |
let(:journey_klass) { double(:journey_klass) } | |
let(:journey) { double(:journey) } | |
describe "Starting a journey" do | |
it "adds a journey to the log" do | |
allow(journey_klass).to receive(:new).with(:station).and_return(journey) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Leo Allen | |
email = [email protected] | |
[push] | |
default = simple | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = vim | |
[color] | |
ui = auto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
[ 0] { | |
:name => "_outline.md", | |
:path => "issues/_outline.md", | |
:sha => "04db9a6e3b8f2be4c77fe627a62ddf72a49dc74b", | |
:size => 1132, | |
:url => "https://api.github.com/repos/makersacademy/oystercard/contents/issues/_outline.md?ref=master", | |
:html_url => "https://github.com/makersacademy/oystercard/blob/master/issues/_outline.md", | |
:git_url => "https://api.github.com/repos/makersacademy/oystercard/git/blobs/04db9a6e3b8f2be4c77fe627a62ddf72a49dc74b", | |
:download_url => "https://raw.githubusercontent.com/makersacademy/oystercard/master/issues/_outline.md?token=AMbuTfscTXyCf2ic0X9no7GTw5mNNcFEks5VxKeLwA%3D%3D", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= partial :"full_graduates", locals: { category: "career changer" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# improve colors | |
set -g default-terminal 'xterm-256color' | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# act like vim | |
setw -g mode-keys vi | |
bind h select-pane -L |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Bvar%20imgs%20%3D%20document.getElementsByTagName(%22img%22)%3Bfor(var%20i%3D%200%3B%20i%3Cimgs.length%3Bi%2B%2B)%20%7Bimgs%5Bi%5D.setAttribute(%22src%22%2C%20%22https%3A%2F%2Fscontent-lhr3-1.xx.fbcdn.net%2Fhphotos-xap1%2Fv%2Ft1.0-9%2F532263_634508385632_131969757_n.jpg%3Foh%3De98154d2f2f3884fbb9b73a71eb52caf%26oe%3D55E6B875%22)%3B%7D%7D)() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
ruby "2.2.2" | |
gem "sinatra" | |
gem "makers_styles", github: "makersacademy/style_guide" | |
group :development, :test do | |
gem "rspec" | |
gem "pry" |