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
import Ember from 'ember'; | |
import { | |
inject as service | |
} from '@ember/service'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
queryParams: ['appQP'], | |
router: service(), | |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
It all started with Bryony asking for adventure / endurance book recommendations on Facebook. The list of books in the comments was too useful to let fade into obscurity, so I copy pasted all the comments into this list. None of the comments or recommendations below are mine, but some amazing looking books here | |
Scott Jurek's stuff | |
Alex Honnold, Alone on the Wall | |
Brett Archibald's survival story - book is called “Alone” - Riveting read | |
Dividing the Great.... | |
Freedom rider - Kevin Davie | |
Born to Run | |
A Life Without Limits - Chrissie Wellington...really an interesting read and quite a phenomenal young lady | |
Two Hours |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
count: null, | |
queryParams: { | |
count: { | |
replace: true |
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
OS/X 10.95 | |
2.8 Ghz i5 | |
SSD | |
Initial build: | |
Build successful - 12429ms. | |
Slowest Trees | Total |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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
npm http 304 http://registry.npmjs.org/cli-color | |
> bcrypt@0.7.7 install /mnt/data/1/node_modules/bcrypt | |
> node-gyp rebuild | |
Traceback (most recent call last): | |
File "/nave/installed/0.10.23/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in <module> | |
sys.exit(gyp.script_main()) | |
File "/nave/installed/0.10.23/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 534, in script_main | |
return main(sys.argv[1:]) |
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
function passThrough(target) { | |
return function(req, res) { | |
req.pipe(request(target+req.path)).pipe(res); | |
}; | |
} | |
app.all('/api/*', passThrough("http://localhost:8000")); |
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 request = require('request'), | |
Config = require('./config'), | |
config = new Config(); | |
//Simple config to hold environment specific values | |
exports.makePayment = function(data, callback) { | |
var params = { | |
'SECURITY.SENDER': config.securitySender, |
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 request = require('request'); | |
exports.getPaymentUrl = function(data, callback) { | |
//You will need to supply values for these first four values | |
var params = { | |
'SECURITY.SENDER': 'xxxx', | |
'USER.LOGIN': 'xxxx', | |
'USER.PWD': 'xxxx', | |
'TRANSACTION.CHANNEL': 'xxxxx', |
NewerOlder