Skip to content

Instantly share code, notes, and snippets.

var original = {
resistorA: 470,
resistorB: 1,
capacitor: 0.01
};
var adapted = {
resistorA: 100,
resistorB: 0.27,
capacitor: 0.047
var svgLines = [];
/**
* Create and store all our svg lines, we store them so we only have to create
* them once. We'll move around the created SVG lines to match the image
* positions later.
*/
function createLines() {
// I've imagined these are the ID's of your images. You could use some other attribute.
# status bar
#set-option -g status-utf8 on
#set -g status-interval 1
#set -g status-justify centre # center align window list
#set -g status-left-length 20
#set -g status-right-length 140
#set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
#set -g status-right '#[fg=green,bg=black,bright]#(tmux-mem-cpu-load 1) #[fg=red,dim]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'
{
"always_show_minimap_viewport": true,
"atomic_save": false,
"binary_file_patterns":
[
"*.jpeg",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
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)
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●●)
{ "name": "LO",
"staticImage": "symbols/static/LO",
"winType": 0,
"ranking": 0,
"resource": {
"LD": {
"src": "atlas-1",
"scale": 1
},
"SD": {
/*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')();
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
{
"always_show_minimap_viewport": true,
"atomic_save": false,
"binary_file_patterns":
[
"*.jpeg",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",