Developing apps in Javascript (Node.js, jQuery, Backbone...), PHP (CakePHP) or .NET using different DB flavor is my day job.

My page - My Company - My GitHub

Carreers 2.0 - Linkedin

@jeremie_parker - +Jeremie Parker - FB

Apr
8
comment How should I configure grunt-usemin to work with relative path
Nop, but since then I've change my workflow, I know use gulp instead of grunt and I'm not relying on this sort of feature. There is a gulp-useref that does what grunt-usemin did but I'm not sure it solves this particular problem. Since I'm not relying on this I don't plan to come up with my own solution/implementation.
Mar
25
comment Using @import with Meteor
It seems it's been corrected as per the comment on the issue I was linking to. But to answer your question, you would put that script in the head of your HTML file (or layout template). If you can test whether it's been corrected or not and share back, I could update my answer accordingly.
Mar
22
awarded Yearling
Mar
12
awarded Nice Question
Mar
11
awarded Popular Question
Mar
6
comment Sailsjs: How to populate association after *update* to model?
fixed, with comments to point some design issue.
Mar
6
revised Sailsjs: How to populate association after *update* to model?
fixed code, added comments
Mar
6
comment Sailsjs: How to populate association after *update* to model?
Hi mogga. You posted 3 hours ago that the code didn't work. How was I supposed to know ? Plus, the code was merely an example of how it should be implemented. The main error in your question was not to exec the update or not to provide a callback. The rest is just sugar for making the example more related to your specific needs. I didn't setup a sails project just to test an answer I wanted to share on SO. In the end, you could have suggested an edit with fixed code on my answer.
Feb
18
awarded Caucus
Feb
12
awarded Notable Question
Feb
5
accepted How to configure partials and layouts for Handlebars in Sails.js?
Feb
5
comment How to configure partials and layouts for Handlebars in Sails.js?
Ok, I guess it's as far as I can go with raw sails, then I would need to write some sort of policie or plugin to only declare a partials folder, and have the partials option be filled automatically with all the partials I have put in my partials folder. Thanks for your complete answer.
Feb
4
comment How to configure partials and layouts for Handlebars in Sails.js?
Yes, so it's basically the same as @christopher-pappas answer or did I misunderstood something ? Thanks for your detailed answer.
Feb
2
comment setheader gives error: "throw new Error('Can\'t set headers after they are sent.');"
possible duplicate of Node.js Error: Can't set headers after they are sent
Feb
2
awarded Citizen Patrol
Feb
2
answered Sailsjs: How to populate association after *update* to model?
Feb
2
comment SailsJS Linker (Grunt) Ignore files (Gruntfile.js)
I've added the .bowerrc part to the answer.
Feb
2
revised SailsJS Linker (Grunt) Ignore files (Gruntfile.js)
added bowerrc instructions
Feb
1
comment SailsJS Linker (Grunt) Ignore files (Gruntfile.js)
You can add a .bowerrc file at the root of your project with this: { "directory": "assets/bower_components" } this will tell bower where to put your dependencies.
Jan
31
revised SailsJS Linker (Grunt) Ignore files (Gruntfile.js)
added folder structure and change bootstrap.js to app.js to prevent confusion
1 2 3 4 5