Skip to content

Instantly share code, notes, and snippets.

Robert Jackson rwjblue

Block or report user

Report or block rwjblue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bench.js
var assert = require('assert');
global.KEYS = JSON.parse(require('fs').readFileSync('bindings.json','utf8'));
global.RESULT = false;
global.CHARAT = function (key) {
var l = key.length;
return l > 7 &&
key.charAt(l - 7) === 'B' &&
key.charAt(l - 6) === 'i' &&
key.charAt(l - 5) === 'n' &&
@krisselden
krisselden / README.md
Last active Jul 5, 2016
# Plot and Test Samples in R
View README.md
View 01_README.md
View example-acceptance-test.js
import Ember from 'ember';
import { module } from 'qunit';
import startApp from 'livin/tests/helpers/start-app';
import OnboardPage from 'livin/tests/helpers/page-objects/onboard';
import { test } from 'qunit';
const { run } = Ember;
let application;
module('Acceptance | onboard', {
@lukemelia
lukemelia / note.txt
Created Apr 8, 2015
When Error: watch EMFILE strikes (OS X)
View note.txt
This requires `brew install jq` which is a command json query.
I got this from @krisselden
View Brocfile.js
// hotfix sass sourcemaps
var appSassFiles = pickFiles('app', {
srcDir: '/styles',
destDir: '/assets/styles'
});
var bootstrapSassFiles = pickFiles('bower_components/bootstrap-sass-official/assets/stylesheets', {
srcDir: 'bootstrap',
destDir: '/assets/styles/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap'
@rwjblue
rwjblue / ember-master-in-ember-cli-app.md
Last active Oct 10, 2016
Developing on Ember master (linked locally), with an Ember CLI application.
View ember-master-in-ember-cli-app.md

From a terminal run the following commands:

git clone git@github.com:emberjs/ember.js
cd ember.js
npm install
npm start

While that is running open another terminal and run the following (starting from the ember.js folder you cloned a moment ago):

View test_connection.rb
class TestConnection
def repeat_test
while true do
if packet_loss > 0
`say 'link down'`
end
end
end
def packet_loss
@pbrisbin
pbrisbin / remote-test.rb
Created Dec 12, 2012
Remote test runner
View remote-test.rb
#!/usr/bin/env ruby
#
# Vagrant users are constantly switching between a local editor and a
# terminal into their VM to work on code then run the tests.
#
# This script (when used as a server) listens on a TCP port inside the
# VM for test commands to execute. The script (when used as a client)
# also handles sending the appropriate "run this test" command to that
# same port on the VM.
#
You can’t perform that action at this time.