Skip to content

Instantly share code, notes, and snippets.

View ianks's full-sized avatar

Ian Ker-Seymer ianks

View GitHub Profile
def sum_price(items: Enumerable<RespondTo[price: Integer]>
# ...
end
@ianks
ianks / current-lead-source-analysis.md
Created April 21, 2020 18:35
Current Lead Source Analysis

Current Values

leadSource Count
"" 892
Direct 4939
Directory 1063
Friends and Family 1
Google Ad Words 2
Google PPC 7233

On all of the FF websites, we currently have a pixel installed with this code:

<script src="https://cdn.flooringstores.com/js/floorforce-analytics.min.js"></script>

It needs to be replaced with this new code, so it points to the new home of the pixel:

require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'tty-markdown'
end
print TTY::Markdown.parse <<~MSG
```ruby
def test
@ianks
ianks / Gemfile
Last active December 8, 2018 02:47
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# gem "rails"
gem "puma", "~> 3.12"
gem "guard-puma", "~> 0.5.0"
@ianks
ianks / docker-compose.yml
Last active June 6, 2018 14:38
Threads in google-cloud-pubsub
---
version: '3.6'
services:
pubsub:
image: adhawk/google-pubsub-emulator
ports:
- 8085:8085

Keybase proof

I hereby claim:

  • I am ianks on github.
  • I am ianks (https://keybase.io/ianks) on keybase.
  • I have a public key whose fingerprint is 7E9D 6E06 C304 B6F3 9E18 C44B 5973 1153 87DF BE93

To claim this, I am signing this object:

source 'https://rubygems.org'
gem 'curb'
@ianks
ianks / Gemfile
Created September 7, 2017 22:09
Gemfile.lock
source 'https://rubygems.org'
gem 'curb'
@ianks
ianks / tasks.json
Created September 16, 2016 22:02
Mocha tasks.js for vscode with problemMatcher
{
"version": "0.1.0",
"command": "mocha",
"isShellCommand": true,
"showOutput": "silent",
"args": [
"--require",
"test/inject.js",
"--reporter",
"tap",