22 Oct 2015
- To check your node modules when you start Broccoli you can use the npm module npm-check. You get a test everytime you start Broccoli. Very useful if you work together with multiple developers.
21 Oct 2015
- When you use git
with other developers together you maybe want to trim all the whitespace at the end of every line.
So when you hit return
or enter
with some indenting and you save the file git
will see the whitespaces as a new commit.
You probably don’t want that, so you can automatically trim the whitespace on save in Sublime Text.
21 Oct 2015
- Ember uses the Broccoli build tool to build the css
and js
-files. You can of course use Broccoli without EmberJS.
14 Oct 2015
- Copy and paste the code below in ~/.bash_profile
. You can edit the file by typing nano ~/.bash_profile
14 Sep 2015
- Sometimes you want to combine (merge, union) to array’s into one. Here is an example with getting the sales of a user. The API does not support an or
-request so we have to make two requests. We then merge
those results back into one new array.
14 Sep 2015
- For the Member Get Member Company we build an admin in Ember with us of the ember-cli-admin addon.
We want to show to the users of the admin if the current user does not have offers. We can just make a simple if
-statement,
but isn’t it nicer to have the text to be always right? We use the isFulfilled
-flag for that.
26 Aug 2015
- How to do a findBy
on an PromiseArray
in Ember?
22 Jul 2015
- Sometimes I need to kill a process. I always have to Google how to do that again. Not anymore. Put this function in ~/.bash_profile
.