Skip to content

Instantly share code, notes, and snippets.

Iain Cambridge icambridge

Block or report user

Report or block icambridge

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@icambridge
icambridge / stats.csv
Last active Sep 20, 2018
Raw Data on Kevin Poulin
View stats.csv
Team League Season Name Games Played Goals Allowed Average Mean Goals Allowed Average Backup Mean Goals Allowed Average Save Percentage Mean Save Percentage Backup Mean Save Percentage
Coll. Charles-Lemoy. Riverains QMAA 2005-2006 27 2.96 3.12 5.46 0.903 0.87 0.78
Coll. Charles-Lemoy. Riverains QMAA 2005-2006 7 2.57 3.12 5.46 0.911 0.87 0.78
Victoriaville Tigres QMJHL 2006-2007 24 3.34 4.81 6.82 0.896 0.87 0.85
Victoriaville Tigres QMJHL 2006-2007 2 7.2 4.81 6.82 0.808 0.87 0.85
Victoriaville Tigres QMJHL 2007-2008 52 3.69 3.27 3.36 0.887 0.89 0.89
Victoriaville Tigres QMJHL 2007-2008 6 5.8 3.27 3.36 0.846 0.89 0.89
Victoriaville Tigres QMJHL 2008-2009 4 4.34 3.82 4.82 0.903 0.88 0.84
Victoriaville Tigres QMJHL 2008-2009 39 3.01 3.82 4.82 0.905 0.88 0.84
Victoriaville Tigres QMJHL 2009-2010 16 2.84 3.57 4.22 0.918 0.89 0.87
@icambridge
icambridge / product.md
Last active Sep 10, 2018
Is Your It Harmful?: Product Team
View product.md

Here I try to explain in nontechnical ways things that happen in IT departments which in my opinion are generally harmful to the company. The aim of this series is to help company founders who aren't experienced in IT be able to judge the health of their IT department.

The Product Team is there to decide which features are to built first and how the features are to work. They are one of the most crucial parts of the development processes since they choose the path for the project and help make sure that the project brings the most business value as possible. However, problems can occur when the technical part of the development process never says no.

The Product Rush

In this example, there was a company whose core business was e-commerce they operated in several countries around the world. They, however, had severe technical issues, to the point where the CTO managed to convince the COO and CEO that they needed to stop all feature development and only focus on the technical problems they had. A freeze

View dd.apib
FORMAT: 1A
HOST: https://api.influencerdb.com
# InfluencerDB API
## version 1.0.0
Documentation of InfluencerDB API version 1.0.0
## Authentication
@icambridge
icambridge / keyboard_layout.xml
Created Apr 11, 2018
Microsoft Ergonomic 4000 - German - Layout for MacosX
View keyboard_layout.xml
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<!--Last edited by Ukelele version 3.2.7.195 on 2018-04-11 at 10:19 (CEST)-->
<keyboard group="0" id="14997" name="German - Microsoft - Iain" maxout="1">
<layouts>
<layout first="0" last="0" mapSet="MS" modifiers="commonModifiers"/>
</layouts>
<modifierMap id="commonModifiers" defaultIndex="0">
<keyMapSelect mapIndex="0">
<modifier keys=""/>
View merge_csvs.php
<?php
$row = 1;
$fileNo = 1;
$outfp = fopen(__DIR__."/out.csv", "w+");
$files = glob("*.csv");
$originalHeaders = [];
foreach ($files as $file)
{
$row = 0;
View Quest.feature
Feature: Fullfilling a glorious quest
In order to fell fullfilled
As a player
I need a quest to complete
Background:
Given the following cities exist:
| Name | Latitude | Longitude | Population | Race |
| Narzima | 10 | 30 | 300 | Elf |
| Zolomoda | 20 | 20 | 100 | Dwarf |
@icambridge
icambridge / four.php
Last active Feb 23, 2017
Code Review: Sanity Checks
View four.php
<?php
$logger = getLogger();
if (($logger instanceof Logger) == false) {
exit(-1);
}
View InterviewController.php
<?php
class InterviewController {
public function assignInterview($interviewId) {
$interview = $thisinterviewManager→getInterview($interviewId);
$thisinterviewManager->automaticallyAssignInterview($interview);
return [“status=>Success”];
}
}
View dep.feature
Scenario: Wanted - Knownledge of dependencies dependencies.
Given I depend on "github.com/src-d/go-git" version 4.3
And "github.com/src-d/go-git" version 4.3 depends on "github.com/src-d/go-billy" version 1.0
When I install dependencies
Then I will have "github.com/src-d/go-billy" version 1.0
And I will have "github.com/src-d/go-git" version 4.3
Scenario: Actual - Knownledge of dependencies dependencies.
Given I depend on "github.com/src-d/go-git" version 4.3
And "github.com/src-d/go-git" version 4.3 depends on "github.com/src-d/go-billy" version 1.0
View Dockerfile
FROM golang:1.7
# Set go bin which doesn't appear to be set already.
ENV GOBIN /go/bin
# build directories
RUN mkdir /app
RUN mkdir /go/src/app
ADD . /go/src/app
WORKDIR /go/src/app
You can’t perform that action at this time.