January 2013

Certified MongoDB Developer

Published by burgerboydaddy on Wed, 01/30/2013 - 16:07

Tags 

During last fall I attended online mongoDB developers course.



I just checked and found that 10Gen prepared my mongoDB certificate.

Problem with Views Pager

Published by burgerboydaddy on Wed, 01/30/2013 - 15:30

Tags 

This one is funny.
Today I discovered that my page, created with multiple views, and each view with its own pager works weird. Clicking on one pager will affect all other pagers on the page --> click on one pager change value of all of them.

Little research and I found that I need to change pager ID inside my view.

How to setup startup scripts in Ubuntu

Published by burgerboydaddy on Tue, 01/08/2013 - 14:48

Tags 

For some projects I needed to run startup scripts everytime when I start my ubuntu server. Here is little how-to with addition how to run some processes using non-sudo username (normal user account).

After some searching I found out that there is a small command that allows the root to run a process as a different user.
So when I had put “sudo -u burgerboydaddy” in front of my command it worked flawlessly.

- use vim or an equivalent to write your script and make sure it starts with
#!/bin/bash
- make your script executable by doing