Win Free Copies of the new book - Getting Started with Grunt

author: Krasimir Tsonev 2014-04-15 by Krasimir
in JavaScript
If you enjoy this, share it!

Hi guys, you would be pleased to know that I have teamed up with Packt Publishing to organize a Giveaway of the new book - Getting Started with Grunt: The JavaScript Task Runner. And three lucky winners stand a chance to win 3 digital copies of this book. Keep reading to find out how you can be one of the Lucky Winners.

The winners (edit: 30.04.2014)

Aaaaand the winners are ...

First of all, thank you all for visiting this page and posting a comment. It was really difficult to pick three of you so I decided to use a script which randomly choose the winners. Here is the script:
var shuffle = function(array) {
    var tmp, current, top = array.length;
    if(top) while(--top) {
    	current = Math.floor(Math.random() * (top + 1));
    	tmp = array[current];
    	array[current] = array[top];
    	array[top] = tmp;
    }
    return array;
}
users = shuffle(users);
for(var i=0; i<3; i++) {
	console.log(users[i]);
}
And the source of the shuffle method - http://stackoverflow.com/a/962890/642670. I even screen-captured the execution:

 

So, Simon, Moustache and Perttu Piirto, please drop me a line at

info (at) krasimirtsonev.com so I can forward you to the guys of Packt Publishing.

Overfiew

How to Enter?

All you need to do is head on over to the book page and look through the product description of the book and drop a line via the comments below the post to let us know what interests you the most about this book. It’s that simple.

 

Winners will get an e-copy of the Book.

Deadline

The contest will close on 29th of April. Winners will be contacted by email, so be sure to use your real email address when you comment!

Did you enjoy this?
Be sure to check out the other articles in the same category.

blog comments powered by Disqus