About the method I used to come up with a winner, I could have used random.org but ... well, nerds like me prefer to do things ourselves, and a site that draws a random number is functional yes, but not fun, What is more fun to program a script that does it? 😀
Here is a video explaining everything in great detail:
From Ediciones-Eni.com they contact us to tell us about a campaign they have in these days. They asked us to put the banner that they find to the right of the site, explaining that they offer us free access to a book from their paid catalog.
I read this and thought, Why not circumvent access to the book among users?, and it is precisely what we will do 😉
We will do as we did not long ago with invitations to Inbox, but with some other variation. I still can't decide if we will use Random.org or a script (or command) made in Bash to get the winner.
What books are available?
Any book they have in their catalog. They can enter the site (editions-eni.com) and use the search engine to find books on the subject you like, or use the categories found in the sidebar on the left.
How do I get involved?
If you want to participate, leave a comment saying just that, that you want to participate in the raffle.
We will only accept comments made before 8PM Cuban time. Those that are done later, well, I'm sorry, but they won't be taken into account 😉
Tomorrow I will edit this post and add a video (screencast) where it is shown how the winner was chosen, so that there is no problem or doubt.
What if I win?
I will contact the winner by email (the email you leave in the comment) communicating that he won, where in turn I will make a CC to the person from Ediciones-Eni who contacted us, so that with the email of that user he will grant him access to the book he wants.
Well it is not necessary to add much more.
I want to participate in the book raffle
Hello! Thank you for the draw! Well, I want to participate!
Excellent opportunity.
I want to participate in the draw.
Good luck to everyone.
Greetings.
Thank you, I want to participate in the raffle, Greetings
Hello! I would like to participate in the raffle.
Thank you!
I want to participate, thank you very much
I want to participate!
Hello, I want to participate in the raffle. !!! and thank you for always keeping us informed.
I am delighted to participate
Hi!
I want to participate, successes.
I want to participate Man 😀
Thank you, I want to participate in the raffle, Greetings
I want to participate!!
A little book always comes in handy haha.
Thank you!
regards
Juan Pablo
Thank you very much, I want to participate in the raffle.
Hello! I would like to participate.
Thank you!
I hope to be able to participate in the raffle, and thanks for the support to the community, greetings and good morning.
A Linux booklet never falls bad. I want to participate in the draw.
I want to participate and obviously win to have a book !!! 🙂
I want to participate in the draw
I sign up, I want to participate 🙂
I would like to participate in the raffle. 😀
Look now everyone will be a fan of the page for a day, ha ha.
Greetings.
Man of very po-k faith =)
I already bought my books for LPIC with the discount of DesdeLinux. That's why I also want to participate 🙂
A greeting.
Hello good, I want to participate !!
Hello! I want to participate, thank you 🙂
I want to participateaaar !!
Greetings to the team Desde Linux. I read you regularly and this is my first comment on the blog.
I also want to participate. Let's see if I'm lucky !!!
I also want to participate in the raffle. Let's see if there is luck 🙂
I want to participate 🙂
I want to participate in the book raffle
\ o / I want to participate.
Greetings.
I want to participate
I am interested in participating, I hope I am the winner lol
I also sign up. Let's see if there is luck 🙂
He participated.
From Cuba, I want to participate
Hello I want to participate. My email is semajsva91@gmail.com
Hello, I would like to participate in this excellent opportunity.
Great, I join the draw then!
Can we Spaniards participate? If so, I sign up.
Greetings.
I also want to participate 🙂
Good!
I'd like to participate!
Regards!
Hello friends!. I want to participate in the raffle!
I want to participate in the raffle!
I want to participate. Thank you.
Hello, I want to participate in the raffle. !!
I want to participate!!!!
Hello… I want to participate in the book raffle !! Thank you!
I want to participate!!!
Hello! I would like to participate in the raffle.
Thank you!
Well, that, I really like reading and Linux, that's why I would like to win a book and if it was Ubuntu Linux better.
Health.
I would appreciate it if you could participate in this interesting invitation.
Thank you very much.
I want to participate in the draw. Good luck to everyone!!
mm I would like to participate
Hello! Thank you for the draw! Well, I want to participate!
I wish to participate in the raffle.
Hello, I want to participate for a free book from Ediciones - ENI.com. Thank you
Good afternoon! I want to participate in the draw. Thank you.
I want to participate!!
thanks, i want to participate
I want to participate in the Sweepstakes !!!!
Unconditional fan to your blog. I would love to be able to participate, if I win it would be the best gift this Christmas! Greetings from Spain!! 🙂
I want to participate in the draw.
I also participate eh! No cheating 😛
I want to participate in the book raffle
I want to participate in the raffle 😀
I want to participate in the draw
Hello! I would like to participate in the raffle for the book. Good luck to all! Greetings!
I would like to participate in the raffle
Well, I would like to participate in the draw: D.
It's great that they contact you and it would be great if they did it more often.
I also join the draw :) Thank you !!
It would be nice to get one of those books, so I want to enter the raffle!
Thanks for the initiative !!
I want to participate in the raffle to be worthy of the prize.
Greetings.
Thank you very much for the raffle, I want to participate
I want to participate 😉
Excellent initiative, I want to participate in the raffle
I want to participate in the draw.
Thank you
I want to participate!!
Delighted to find myself among the potential chosen.
A hug from Cuba
I want to participate
Hello, thanks for that great detail, I want to participate in the raffle
From El Callao, Edo. Bolivar, Venezuela
I want to participate.
Hello, I want to participate in the Sweepstakes!
GREETINGS!
I want to participate in the draw
Excellent opportunity given to readers.
Well, I want to participate in the book raffle!
If it is GNU / Linux or Computer Security.
It would be great. Thank you. !!! = D
I want to participate in the draw.
Greetings and good luck to all: D!
I want to participate 🙂
I want to participate, I have been meditating for days to order the lpi 2 book because I am from Uruguay and I cannot find it for sale here.
thanks greetings…
Thanks for the opportunity 😀
I want to participate!
Well, I want to participate. Good luck to all 🙂
Hello, I want to participate in the raffle for the book.
Lately I've been reading a bash programming book, I find it very interesting and I know a different command for each page to improve interaction with bash.
I don't believe in luck, but there is a chance that I will win the book.
regards
I think I no longer reach 🙁
I want to participate in this raffle. Thank you!!!
Hello, I want to participate for the free book !!
Thank you very much for this opportunity !! 🙂
Hello, I also want to participate, I need a programming book that I saw. thanks!!
Well, if there is still time I will join the draw.
Gracias y saludos.
I want to participate!!! 😀
Thank you, I want to participate in the contest !!!
I want to participate in the raffle, thank you.
Hello Good Night… I would like to enter the contest and win a book… I quite like Linux… Thank you.
I don't know if it's too late, but I want to participate
I would like to participate in this interesting contest
I wish to enter the draw
I want to participate in the book raffle
I want to participate in the book raffle
I would like to participate in the raffle and win the ediciones-ni.com book!
Good morning, I would like to participate in the drawing for a free book. Thank you very much for your blog. Greetings to all linuxer @ s
I want to participate in the raffle
I want to participate in the draw. 😉
Good opportunity. I want to participate in the draw.
I want to participate in the draw. joel.ruiz@nabelia.es
Thank you. Regards!
I also want to participate !!!!!
I want to participate in the draw.
I hope I'm not late for the draw, I want it
I want to participate!
Congratulations on the blog, you are the best 😀
I want to participate in the tournament!
Thanks for the effort to maintain the page 🙂
I want to participate for the book
I want the book !!!
Greetings from Argentina, I would like to participate in the raffle!
I want to participate in the book raffle, thank you.
I want to participate
I also want to participate!
I want to participate 😀
I wish to participate in the raffle for the books.
Best regards
I want to participate. :3
I want to participate. Test!
That! I join .. I want to participate! thanks! Cheers!
I would like to participate and get one of the Ediciones ENI books
I want to participate in the raffle, Greetings
This is cool
I want to participate in the raffle 🙂
hello if I want to participate in the book raffle ...
I want to participate in the draw!
I want to earn that book! Sent to Chile?
if it's gifts, I'll sign up, to see if it's my turn. who have always told me that I am very lucky 😉
I want to participate in the raffle for a book of Eni editions.
Thank you very much
Greetings good afternoon
I want to participate.
Test comment ...
I want to participate!
I want to participate in the draw
I want to participate, thank you
Hehe, congratulations to the winner 🙂
Good contributions you make ... keep on providing us with information resources.
I want to participate for the book.
Hello, the contest is great, I want to participate 😀
You would have put music on it or something :(. Good video 😀
Hello everyone, I would like to apply to participate in the draw .. Thank you 🙂
I would have done it in a simpler way:
[code] cat "ips of participating users.txt" | sort | uniq | shuf -n1 [/ code]
Which is almost the same as in the video except for shuf -n1, by itself what the command does is randomly order the lines that pass to it and with -n1 it chooses a random line.
I can no longer participate, but may the winner share the book and everyone learn more ... 😛 \ m /
Hello,
I am the winner, I have already received the book and I wanted to thank desdelinux already eni
Thank you
I want to participate in the draw
Good Page with a lot of useful information.
I can no longer participate, but may the winner share the book and all learn more ... ???? \ m /