Monthly archive for November2013

How to inject scope variable into callback properly – Node.js

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…

Continue reading →

Starting out with Node.js

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…

Continue reading →

Mouse cursor/pointer disappears on Windows Server 2012 using Cord

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…

Continue reading →

Create Rails app with RVM to set ruby version and gemset from directory

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…

Continue reading →