Skip to content

Instantly share code, notes, and snippets.

@lukewilde
lukewilde / sublime-split-keys.json
Created April 10, 2013 19:12
Dirty Sublime text 2 panel arranging shortcuts. Only works for 2 panels.
[
{
"keys": ["shift+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.33, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
function Y(le) {
return (function (f) {
return f(f);
}(function (f) {
return le(function (x) {
return f(f)(x);
});
}));
}
@lukewilde
lukewilde / .gitconfig
Last active August 29, 2015 14:05
my dot files
[user]
name = Luke Wilde
email = luke.wilde@clock.co.uk
[color]
diff = auto
status = auto
branch = auto
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
standup = lg ––since yesterday ––author luke
{
"always_show_minimap_viewport": true,
"atomic_save": false,
"binary_file_patterns":
[
"*.jpeg",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
OS Type OS Version Browser Type IP Address Javascript Enabled Cookies Enabled Color Depth Screen Resolution Browser Window Size Flash Version User Agent
X11 Linux x86_64 Chrome 217.44.120.152 Yes Yes 24 1440 x 900 1920 x 968 17.0.-1 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
/*jshint expr: true*/
var expect = require('chai').expect;
var sinon = require('sinon');
var PaylineCommand = require('../../../../src/js/app/commands/PaylinesCommand');
var SymbolAnimsComponent = require('../../../../src/js/app/components/SymbolAnimsComponent');
var PaylinesComponent = require('../../../../src/js/app/components/PaylinesComponent');
var Command = require('../../../../src/js/app/commands/Command');
var Utils = require('../../app/utils/Utils');
var Mocks = require('../helpers/Mocks')();
{ "name": "LO",
"staticImage": "symbols/static/LO",
"winType": 0,
"ranking": 0,
"resource": {
"LD": {
"src": "atlas-1",
"scale": 1
},
"SD": {
luke at Wilde-PC in /var/application/high5/sandbox (feature/mobile-support●●)
$ node ./tools/asset-pipeline.js dev golden-knight
/var/application/high5/sandbox/tools/asset-pipeline.js:48
fileList = files.filter(function(file) {
^
TypeError: Cannot read property 'filter' of undefined
at /var/application/high5/sandbox/tools/asset-pipeline.js:48:19
at FSReqWrap.oncomplete (fs.js:95:15)
luke at Wilde-PC in /var/application/high5/sandbox (feature/mobile-support●●)
luke at Wilde-PC in /var/application/high5/sandbox/tools (feature/mobile-support●)
$ node asset-pipeline.js dev golden-knight
Creating the project texture atlas set. Go make a coffee...
child_process.js:1136
var err = this._handle.spawn(options);
^
TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (child_process.js:1136:26)
at exports.spawn (child_process.js:995:9)
{
"always_show_minimap_viewport": true,
"atomic_save": false,
"binary_file_patterns":
[
"*.jpeg",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",