My Articles
Programming

Check system endianness using Ruby Hello folks, today I’d like to share with you a simple way to check the endianness of your system using Ruby and it’s based on the “pack” method in Ruby’s Array; pack simply represents the content of an array in a binary sequence according to a directive given to it as […]

Programming
Testing a Rails application
May 25, 2015

Testing a Rails application A personal approach Testing a Rails application is often seen as complicated task and, when I started working with Ruby on Rails, I didn’t have a lot of experience with  TDD (just a little bit using Java in another company, but that was not real TDD because first functions where developed […]

IPSEC Fortigate 110C and OS X
April 17, 2015

IPSEC Fortigate 110C and Macbook Pro A long ago I wrote a post about connecting Ubuntu to a Fortigate 110C using an IPSEC connection. After discovering the right way to do it, I happily used that method  until I changed my pc. When I bought my Macbook pro retina (late 2013) the first thing I did […]

Javascript Tip of the day
February 26, 2015

Javascript tip of the day Hello folks, I want to share with you my Javascript tip of the day. Have you ever wondered how to unselect a selected value in a dropdown lis using JQuery? Really simple: $("option:selected").prop("selected", false); Nice uh? Nice and simple! But wait, here is another Javascript tip of the day! What […]

General
Merging pdf files in one line
February 2, 2015

Merging pdf files into a single one   Merging pdf files has never been so simple using Ghostscript from command line in both Linux and OsX. Just open a console and type:   gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=<yourfile.pdf> <your_list_of_pdfs> This command will merge pdf files your_list_of_pdfs into a single file called yourfile.pdf. So easy, […]

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close