Skip to content

Instantly share code, notes, and snippets.

View kwilson's full-sized avatar

Kevin Wilson kwilson

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="7zip.install" />
<package id="adobereader" />
<package id="chocolateygui" />
<package id="cmder" />
<package id="docker" />
<package id="docker-compose" />
<package id="docker-for-windows" />
<package id="filezilla" />
/* SHADOWS */
@shadow-key-umbra-opacity: 0.2;
@shadow-key-penumbra-opacity: 0.14;
@shadow-ambient-shadow-opacity: 0.12;
// Focus shadow mixin.
.focus-shadow() {
box-shadow: 0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36);
var config = new HttpConfiguration();
// Get a reference to whatever we use to pull cloud config
var configManager = container.Resolve<IConfigurationManager>();
// Get the API key for this config
var raygunApiKey = configManager.GetSetting("Raygun_api_key");
// Overload attach with a new client
RaygunWebApiClient.Attach(config, () =>
var config = new HttpConfiguration();
// Get a reference to whatever we use to pull cloud config
var configManager = container.Resolve<IConfigurationManager>();
// Get the API key for this config
var raygunApiKey = configManager.GetSetting("Raygun_api_key");
// Overload attach with a new client
RaygunWebApiClient.Attach(config, () => new RaygunWebApiClient(raygunApiKey));
var config = new HttpConfiguration();
RaygunWebApiClient.Attach(config);
@kwilson
kwilson / mockpromise.ts
Created February 18, 2015 14:49
mock promise
function createMockPromise<T>(): ng.IPromise<T> {
return {
then: function (callback: () => ng.IHttpPromise<T>) { return callback(); },
catch: function (callback: () => ng.IHttpPromise<T>) { return callback(); },
finally: function (callback: () => ng.IHttpPromise<T>) { return callback(); }
}
}
@kwilson
kwilson / ibi-net-dev-spec.md
Last active August 29, 2015 14:07
IBI Group .NET Software Developer Job Spec

IBI Group is looking for a .NET developer to join our Glasgow city-centre office.

You will be working on a range of projects from large information websites to web apps, designing and implementing new areas of functionality using ASP.NET, MVC, semantic HTML, CSS and JS with back ends built on modern .NET and Node.js technology.

You will have an interest in keeping up-to-date with current web trends and techniques and enjoy discussing these with the rest of the team.

Essential skills

  • Advanced ASP.NET experience, including MVC and Web API
  • Experience of designing and building RESTful APIs
@kwilson
kwilson / ibi-js-dev-spec.md
Last active August 29, 2015 14:07
IBI Group JS Software Developer Job Spec

IBI Group is looking for a front-end/JavaScript developer to join our Glasgow city-centre office.

You will be working on a range of projects from large information websites to web apps, designing and implementing new areas of functionality using semantic HTML, CSS and JS with back ends built on modern .NET and Node.js technology.

You will have an interest in keeping up-to-date with current web trends and techniques and enjoy discussing these with the rest of the team.

Essential skills

  • Advanced JavaScript with experience of frameworks such as Angular, Ember or such
  • Modular design of JS modules using AMD
@kwilson
kwilson / ibi-junior-spec.md
Last active August 29, 2015 14:01
IBI Group Junior Software Developer Job Spec

IBI Group is looking for a junior .NET developer to join our Glasgow city-centre office.

You will be working on a range of projects from large information websites to web apps, designing and implementing new areas of functionality using semantic HTML, CSS and JS with back ends built on modern .NET technology. We also do stuff in Node.js and Angular from time to time.

You will have worked with the “old” web and understand why tables are bad, JavaScript reliance just won’t do and why we separate content, style and functionality in a website.

You will have an interest in keeping up-to-date with current web trends and techniques and enjoy discussing these with the rest of the team.

Essential skills

@kwilson
kwilson / feed.json
Created October 4, 2013 10:10
Glasgow Open Data traffic feed
{
"@attributes": {
"modelBaseVersion": "1.0"
},
"exchange": {
"supplierIdentification": {
"country": "gb",
"nationalIdentifier": "TIH Toolkit"
}
},