This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ASSETS := $(wildcard assets/*) | |
| BAG = '' # Set bag name here | |
| push: | |
| @for asset in $(ASSETS); do tsapp push_hard $(BAG) `echo $$asset | cut -d '/' -f 2` ; done | |
| tsapp push_hard $(BAG) index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_js: | |
| - "0.10" | |
| language: node_js | |
| before_script: | |
| - npm install -g istanbul | |
| - npm install -g mocha | |
| - pip install -U tsapp | |
| script: make test-cov | |
| after_success: | |
| - make coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| before_script: 'npm install -g istanbul && npm install -g mocha' | |
| script: 'make test-cov' | |
| after_success: 'make coveralls' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "username": "BoyCook", | |
| "dir": "/Users/boycook/code/boycook", | |
| "protocol": "ssh" | |
| },{ | |
| "username": "TiddlySpace", | |
| "dir": "/Users/boycook/code/osmosoft/tiddlyspace", | |
| "protocol": "ssh" | |
| },{ | |
| "username": "tiddlyweb", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # git config --global core.excludesfile ~/.gitignore_global | |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.pyc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #export CATALINA_HOME=/usr/share/tomcat | |
| export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m" | |
| # export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" | |
| export LIQUIBASE_HOME=/usr/share/java/liquibase-2.0.3 | |
| export MULE_HOME=/usr/share/java/mule-standalone-3.2.1 | |
| export ANT_HOME=/usr/share/ant | |
| export GRAILS_HOME=/usr/share/grails | |
| export REDIS_HOME=/usr/share/redis | |
| export JSCOVERAGE_HOME=/usr/share/jscoverage | |
| export JMETER_HOME=/usr/share/jmeter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def jinx(environ, start_response): | |
| start_response('200', []) | |
| return ['hello world'] | |
| def init(config): | |
| config['selector'].add('/jinx', GET=jinx) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var should = require('should'); | |
| var request = require('request'); | |
| var url = 'http://localhost:8080'; | |
| var HttpServer = require('./server').HttpServer; | |
| var server; | |
| describe('HttpServer', function () { | |
| before(function (done) { | |
| server = new HttpServer({port: 8080}).start(done); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Runtime.Serialization.Formatters.Binary; | |
| using System.Runtime.InteropServices; | |
| using System.Diagnostics; | |
| public class MessageHelper | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var spawn = require('child_process').spawn; | |
| var server = require('./server'); | |
| var spawns = {}; | |
| server.start({port: 8080}, function () { | |
| createSpawn('jasmine-node', [ 'test/spec', '--junitreport', '--forceexit' ], logToConsole, logToConsole); | |
| createSpawn('casperjs', [ 'test', 'test/ui' ], logToConsole, logToConsole); | |
| }); | |
| function createSpawn(name, args, stdout, stderr) { |