Entreprehero! Blog of Björn Lennartsson - Wantrepreneur and developer

It actually wasn’t that long ago that I stumbled upon git hooks and let me tell you – I was instantly hooked (he he). Git has triggers that can kick off custom scripts to run before an action. These are especially useful to help you…

console.log is great! Everyone knows that. What’s not that great is that if you let it be in your source code you will get flooded logs on your NodeJS production server. Not that great. But don’t stress my friend. There is a easy fix for…

The good people over at Luna Metrics have made an awesome screencast on how to properly set up cross domain tracking using Google Tag Manager and Universal Analytics. You can read the original article here. Here is a step-by-step guide on how to correctly set…

I am a big fan of MiniProfiler. It is perfect for development to see that you keep your code at best performance. However, wouldn’t it be nice to have the results available on your live server too? I thought so and here’s how to get…

We are working on a fun Node.js project at work. However, we were doing a for-loop with a callback and had big problems to pass in the variable into the callback-function. Either it was undefined or all entries had the same value. We had this…

We are having a little hackathon at work today and tomorrow. We have been split up into 5 teams and my group is going to make a app that will talk with Google Calendar and will be able to show statuses for all our meeting…

I had a problem that my mouse pointer disappeared when I was remoting in with Cord to a Windows 2012 Server. Often the pointer had wrong context too, was showing a text pointer instead of the regular arrow. The trick to fix this is pretty…

I’ve always chosen which version and gemset to use with RVM by writing in the console before entering an application. I today found a nice little trick to make RVM understand this itself whenever you enter the directory of your new Rails app. So here…