This file contains 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'); | |
should.use(function (should, Assertion) { | |
Assertion.add('myEql', function (value, description) { | |
this.params = { operator: 'to be' + should.format(expectedTraces), message: description}; | |
this.assert(value === this.obj); | |
}); | |
}); |
This file contains 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
#!/bin/bash | |
libudev='libudev.so.0' | |
binary=`./MyApp` | |
# remove old symlink if exist | |
if [ -a $libudev ] | |
then | |
rm $libudev | |
fi | |
# check wether libudev.so.0 can be found on the system |
This file contains 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 hipchat = require('hipchat-js')("*** API TOKEN HERE ****"); | |
exports.Sender = function(roomId, senderName, messageFormat, notify) { | |
this.roomId = roomId; | |
this.senderName = senderName; | |
this.notify = notify; | |
this.messageFormat = messageFormat; | |
this.send = function(message, color) { | |
if (!color) |
NewerOlder