Skip to content

Instantly share code, notes, and snippets.

View davglass's full-sized avatar
💭
Taking a much needed sabbatical from Open Source. Please fork and carry on.

Dav Glass davglass

💭
Taking a much needed sabbatical from Open Source. Please fork and carry on.
View GitHub Profile
TAP version 13
# dicovers new versions in outdated
not ok 1 should be equal
---
file: /Users/yui/src/npm2/npm/node_modules/slide/lib/async-map.js
line: 48
column: 11
stack:
- getCaller (/Users/yui/src/npm2/npm/node_modules/tap/lib/tap-assert.js:418:17)
- assert (/Users/yui/src/npm2/npm/node_modules/tap/lib/tap-assert.js:21:16)
@davglass
davglass / Features.md
Created February 1, 2013 15:21
Proposal for new YUI.Features

New YUI Feature Detection

This is my proposal for revamping the YUI Core Feature detection system.

Problem Space

  • 90% of our so-called "Feature Tests" are actually Loader conditional modules.
  • Some "free-flowing" tests in DOM modules.
@davglass
davglass / gist:4675460
Created January 30, 2013 18:26
Local Gallery Loading.
YUI.applyConfig({
groups: {
gallery: {
combine: false,
root: '/build/',
patterns: {
'gallery-': { },
'lang/gallery-': {},
'gallerycss-': { type: 'css' }
}
mkdir -p ./src/node/meta
cd src
vim node/meta/node.json
//Add contents from below
yogi loader --yes
//The content of the resulting file is below.
yogi test --istanbul --coverage
yogi [info] using yogi@0.0.63 on node@0.8.16
yogi [info] using module: gallery-flickr-carousel
yogi [info] prepping grover tests
yogi [info] adding tests route
yogi [info] turning on coverage support in grover
yogi [info] launching xdr server on port 5021
yogi [info] listening on: http://127.0.0.1:5020
Starting Grover on 1 files with PhantomJS@1.8.0
Running 15 concurrent tests at a time.
yogi test --yeti --grid --phantom 20 -x editor -x yui-throttle
yogi [info] using yogi@0.0.62 on node@0.8.16
yogi [info] using override modules: anim, app, arraysort, async-queue, attribute, autocomplete, base, button, cache, calendar, charts, classnamemanager, collection, color, common, console, console-filters, cookie, cssbase, cssfonts, cssgrids, cssreset, dataschema, datasource, datatable, datatable-deprecated, datatype, date, dd, dial, dom, dump, editor, escape, event, event-custom, event-gestures, event-simulate, event-valuechange, file, gesture-simulate, get, graphics, handlebars, highlight, history, imageloader, intl, io, json, jsonp, loader, matrix, node, node-flick, node-focusmanager, node-menunav, node-scroll-info, number, oop, overlay, panel, parallel, pjax, plugin, pluginhost, profiler, querystring, queue-promote, recordset, resize, scrollview, simpleyui, slider, sortable, stylesheet, substitute, swf, swfdetect, tabview, template, test, test-console, text, transition, uploader, uploader-deprecat
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at AgentGroup.growListenerTree (/Users/yui/src/yeti/node_modules/eventemitter2/lib/eventemitter2.js:189:23)
at AgentGroup.EventEmitter.on (/Users/yui/src/yeti/node_modules/eventemitter2/lib/eventemitter2.js:346:24)
at EventYoshi.add.self.child (/Users/yui/src/yeti/node_modules/eventyoshi/lib/index.js:32:10)
at Array.forEach (native)
at EventYoshi.add (/Users/yui/src/yeti/node_modules/eventyoshi/lib/index.js:31:31)
at AgentManager.bindAgentGroup (/Users/yui/src/yeti/lib/hub/agent.js:625:28)
at AgentManager.groupAgents (/Users/yui/src/yeti/lib/hub/agent.js:767:14)
at Array.forEach (native)
@davglass
davglass / execute
Created December 28, 2012 15:59
PhantomJS 1.8.0 crasher
$phantomjs-1.7.0 ./repro.js
Page executed successfully
$ phantomjs-1.8.0 ./repro.js
PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://code.google.com/p/phantomjs/issues/entry with the crash dump file attached: /tmp/2f69ff41-1800-ac63-7c5f013f-25df8b39.dmp
Segmentation fault (core dumped)
@davglass
davglass / gist:4332996
Created December 18, 2012 23:15
Yeti Run on iOS 6.0.1 from dev-master
yogi test --yeti
yogi [info] using yogi@0.0.52 on node@0.8.15
yogi [info] using override modules: anim, app, arraysort, async-queue, attribute, autocomplete, base, build_docs, button, cache, calendar, charts, classnamemanager, collection, color, common, console, console-filters, cookie, cssbase, cssfonts, cssgrids, cssreset, dataschema, datasource, datatable, datatable-deprecated, datatype, date, dd, dial, dom, dump, editor, escape, event, event-custom, event-gestures, event-simulate, event-valuechange, file, gesture-simulate, get, graphics, handlebars, highlight, history, imageloader, intl, io, json, jsonp, loader, matrix, node, node-flick, node-focusmanager, node-menunav, node-scroll-info, number, oop, overlay, panel, parallel, pjax, plugin, pluginhost, profiler, querystring, queue-promote, recordset, resize, scrollview, simpleyui, slider, sortable, stylesheet, substitute, swf, swfdetect, tabview, template, test, test-console, text, transition, uploader, uploader-deprecated, widget, widget-anim, widget-au
@davglass
davglass / gist:4019847
Created November 5, 2012 19:38
Dav's Yeti Cluster

Dav's Yeti Cluster

Direct Hardware

  • Ubuntu VM Host
  • 1TB HDD (for OS)