Programming

Create a PKI in GoLang

Posted on June 5, 2017

Lately I have been programming quite a bit and - for the first time - I have used Golang doing so. Go is a very nice language and really helped me with the development. One of the reasons why I have enjoyed this much Go is the standard library, which is amazing. I would like to share today the easiness of creating a basic Certificate Authority and signed certificates in Go.

Read More

How to send an e-mail with attachment from the command line

Posted on January 3, 2013

Have you ever had to develop a script in UNIX that has to send an email? If you have, probably you have used the “mail” function since this program is the standard program to send e-mails in UNIX environments if you are using the CLI (Command Line Interface). The manual for mail reports this as mail usage prototype: mail -r [sender] -s [subject] receiver-1[,receiver-2,...,receiver-n] < [File with the body] I think all the parameters are pretty straightforward except the “File with the body” one.

Read More

20 Recipes for Programming PhoneGap by Jamie Munro, O'Reilly

Posted on May 19, 2012

This book starts with a little introduction and with the instructions to setup the environment. After this, the book starts at full speed with “the Recipes”. The structure based on Recipes is what I liked the of this book. Every Recipe has the structure: Problem Solution Discussion I think that this is a very powerful structure because in this way we can learn from the obstacles that each one of us can encounter in his way while coding.

Read More

Code Simplicity by Max Kanat-Alexander, O'Reilly

Posted on April 24, 2012

This is not the typical O’Reilly programming book and you can find it out very easily when you have the book in your hands, since it does not have any code inside The author, in fact, tries to create a software development science. This left me very puzzled since: I think this kind of stuff has to be said by people after you, not buy the author himself The author mainly collect ideas and principles that are already explained in a lot of other books The author suggests the DRY and the don’t fix if it isn’t broken principles and I think these will not always bring you to good code The book only says what to do, it does not cover how to do it Re-factoring and single responsibility principle are not covered Apart of these five points, I think that the book has reasons to live.

Read More

jQuery UI by Eric Sarrion, O'Reilly

Posted on April 17, 2012

jQuery has very interested me in the last period. I think that it is the best JavaScript library for me. jQuery UI is a set of functions that allow you to improve the graphics and the functionality of your websites with very few lines of code. My jQuery level was pretty close before I took the time to read this book. I’ve found this book amazing and really interesting even for fast-learner as I am (knowing a dozen of languages and libraries I tend to go really fast when I’m studying a new language or library).

Read More

Mobile Design Pattern Gallery by Theresa Neil, O'Reilly

Posted on April 9, 2012

This book is weird, I’ve to tell you. I was expecting a book with some examples and some text. Well, I ended up with a book that, at the first sight, seems more a book for kids rather than a professional book since is 90% images. The book is clearly organized, each chapter covering one specific aspect. Navigation Forms Tables Search, sorting and filters Tools Charts Invitations Feedback & Affordance Help Anti-patterns After a little while, I learned how to learn (a lot of) good patterns and bad patterns (anti-patterns) from this book.

Read More

jQuery Mobile: Up and Running by Maximiliano Firtman, O'Reilly

Posted on April 1, 2012

jQuery Mobile is a library that allows you to develop mobile apps using jQuery. Is even possible to use a jQuery Mobile program as a native app, thanks to programs like PhoneGap. This book assumes that you already know jQuery and I think that this is good since the author can focus only on the main topic in this way. I think you should know or study jQuery before even starting this book.

Read More