Skip to content

Instantly share code, notes, and snippets.

View stephenlaughton's full-sized avatar

Stephen Laughton stephenlaughton

View GitHub Profile
@stephenlaughton
stephenlaughton / bd3d4befe38185704bf0fc875e9deed6|configuration.json
Last active February 28, 2020 17:14
Visual Studio Code Settings Sync Gist
{"contents":{"editor":{"formatOnSave":true,"renderWhitespace":"boundary"},"tslint":{"autoFixOnSave":true},"search":{"exclude":{"**/*.js":{"when":"$(basename).ts"},"**/*?.js":{"when":"$(basename).tsx"},"**/*.js.map":{"when":"$(basename)"},"**/node_modules":true}},"files":{"exclude":{"**/*.js":{"when":"$(basename).ts"},"**/*?.js":{"when":"$(basename).tsx"},"**/*.js.map":{"when":"$(basename)"},"node_modules":false}}},"overrides":[],"keys":["editor.formatOnSave","tslint.autoFixOnSave","editor.renderWhitespace","search.exclude","files.exclude"]}
@stephenlaughton
stephenlaughton / App.java
Last active June 15, 2017 18:55
Kochava Android integration at Invoice Simple
public class App extends Application {
private static KochavaHandler handler;
@Override
public void onCreate() {
handler = new KochavaHandler();
Feature.setAttributionHandler(handler);
HashMap<String, Object> datamap = new HashMap<String, Object>();
datamap.put(Feature.INPUTITEMS.KOCHAVA_APP_ID ,"koinvoice-simple-sm2" );
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'