I hereby claim:
- I am stubbs on github.
- I am stubbs (https://keybase.io/stubbs) on keybase.
- I have a public key whose fingerprint is 74A6 E90F 9B31 AC04 CE3A D430 7596 314A 6514 191E
To claim this, I am signing this object:
$login = $client->post("/rest/login", array("Content-Type" => "application/json"), '', array('debug' => true)); | |
$login->setBody("{'username':'stuart.grimshaw','password':'strongpassword'}"); | |
$login->send(); |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
module.exports = function (grunt) { | |
grunt.initConfig({ | |
clean: ['build'], | |
concurrent: { | |
dev: ['nodemon:app', 'webpack:dev'], | |
options: { | |
logConcurrentOutput: true | |
} |
require "ruby-growl" | |
watch ('project/(.*).py') {|md| code_changed "#{md[0]}"} | |
def code_changed(file) | |
# Get the path of the file that changed | |
dir = File.dirname(file) | |
test(dir) | |
end |
buildstats@buildstats-desktop:~/statsd$ node stats.js config.json | |
/home/buildstats/statsd/config.js:2 | |
"graphitePort": 2003, | |
^ | |
SyntaxError: Unexpected token : | |
at Module._compile (node.js:458:37) | |
at Module._loadScriptSync (node.js:469:10) | |
at Module.loadSync (node.js:338:12) | |
at loadModule (node.js:283:14) |
# Watchr config script to run phing tests every time you save PHP or fixtures. | |
# See http://criticallog.thornet.net/2011/03/08/autotesting-with-watchr-growl-and-phpunit/ | |
# | |
watch('./(.*).(php|inc)') { |m| code_changed(m[0]) } | |
watch('./fixtures.sql') { |m| code_changed(m[0]) } | |
watch('phpdebug_trigger') { |m| code_changed(m[0]) } | |
def code_changed(file) | |
run "phing test" |
" DIRTY! | |
" For some reason, Macvim hangs when trying to insert a new line when editing | |
" mysql & javascript file. | |
" | |
" You can work around that by switching to another filetype that doesn't have | |
" the problem, then back again, hence these two hacks. | |
" | |
augroup mysqlhack | |
au! |
YUI.add('fc_cone', function(Y) | |
{ | |
Y.ConeIcon = Y.Base.create("coneIcon", Y.Shape, [Y.Circle], {}, { | |
ATTRS: { | |
radius: { | |
value: 5 | |
}, | |
stroke: { | |
weight: 2, | |
color: '#fff' |
# Running in folder: /Users/stuart/Projects/lpsite/modules/recurring_payments/tests | |
$ phpunit -c phpunit.xml /Users/stuart/Projects/lpsite/modules/recurring_payments/tests/recurring_payments/RecurringPaymentErrorTest.php | |
-c: phpunit: command not found |
exec {"load-crm-fixtures": | |
command => "mysql -u db_user -ppassword db_name < *.sql", | |
cwd => "${rootDir}/sites/${siteDirectory}/db/crm/fixtures/", | |
path => ['/usr/bin'], | |
require => Exec['clean-crm-db'], | |
logoutput => true | |
} |