Skip to content

Instantly share code, notes, and snippets.

View courington's full-sized avatar

chase courington courington

  • Evergreen, CO
View GitHub Profile
@courington
courington / login.js
Last active August 29, 2015 14:14
Functional tests with The Intern: User login test
define([
'intern!object',
'intern/chai!assert',
'intern/chai!expect',
'intern/chai!should',
'require'
], function(registerSuite, assert, should, expect, require) {
var url = 'http://localhost:3000/';
var dest_url = 'http://localhost:3000/users/sign_in';
@courington
courington / intern.js
Created February 4, 2015 15:10
example of intern.js configuration file
// Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define({
// The port on which the instrumenting proxy will listen
proxyPort: 9000,
// A fully qualified URL to the Intern proxy
proxyUrl: 'http://localhost:9000/',
@courington
courington / gist:09bbae31448679d72bb1
Created February 23, 2015 20:48
vendor overrides css
styles: {
src: [
'<%= paths.src_css %>/css/app.css',
'<%= paths.src_css %>/reports.css',
'<%= paths.assets %>/stylesheets/leaflet/leaflet.css',
'<%= paths.assets %>/stylesheets/Leaflet.markercluster/MarkerCluster.Default.css',
'<%= paths.assets %>/stylesheets/Leaflet.markercluster/MarkerCluster.css',
'<%= paths.src_css %>/css/vendor.overrides.css'
],
@courington
courington / browserify.js
Last active August 29, 2015 14:16
gruntfile.js, /grunt_tasks/browserify.js, /controllers/cn.home.js, /views/widgets/v.widget.date.range.inspection.js, /grunt_tasks/contrib-copy.js, /grunt_tasks/contrib-clean.js
// example
module.exports = function(grunt) {
grunt.config.set('browserify', {
dist: {
options: {
transform: ['hbsfy']
},
@courington
courington / intern.js
Created August 6, 2015 06:09
Example Intern.io config
// Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define({
// The port on which the instrumenting proxy will listen
proxyPort: 9000,
// A fully qualified URL to the Intern proxy
proxyUrl: 'http://localhost:9000/',
@courington
courington / gist:2dc9822c6f1856bb8252
Last active February 4, 2016 20:06
failed curl install of Node via NVM
---failed NVM call to curl NodeJS---
us165446: tcourington16$ nvm install v4
Downloading https://nodejs.org/dist/v4.2.6/node-v4.2.6-darwin-x64.tar.gz...
############################################ 61.6%
curl: (56) SSLRead() return error -9806
Binary download failed, trying source.
############################################# 63.7%
curl: (56) SSLRead() return error -9806
Binary download failed, trying source.
Installing node v1.0 and greater from source is not currently supported

Keybase proof

I hereby claim:

  • I am courington on github.
  • I am chaco (https://keybase.io/chaco) on keybase.
  • I have a public key ASCJBnoUI_oRrNRXkGbf-YYQpgeUFK3I2WvT5eHlZbw79Qo

To claim this, I am signing this object:

@courington
courington / demo.md
Last active December 13, 2016 19:19
December 2016 Hackday Project
us165446:mqdotcom3-main tcourington16$ ANT_HOME=../build-support/apache-ant ../build-support/apache-ant/bin/ant
Buildfile: build.xml
-artifact-init:
[mkdir] Created dir: /Users/tcourington16/Development/winston/artifact-publish/mqdotcom3-main/jars
[mkdir] Created dir: /Users/tcourington16/Development/winston/artifact-publish/mqdotcom3-main/docs
[mkdir] Created dir: /Users/tcourington16/Development/winston/artifact-publish/mqdotcom3-main/dist
[mkdir] Created dir: /Users/tcourington16/Development/winston/artifact-publish/mqdotcom3-main/test-reports
-java-init:
> publish
[info] Creating branch release/release-3.43.1...
[info] Pushing branch release/release-3.43.1...
fatal: A branch named 'release/release-3.43.1' already exists.
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist
[warn] Credentials file /Users/tcourington16/.artifactory/.credentials does not exist