My Articles
Programming
Simple Ruby Tip – Return Multiple Values
September 16, 2017

Return Multiple Values As many of you already know, everything in Ruby is an object so, when you create a method, it actually returns an object. What I want to show here is how to return multiple values (multiple objects) out of a Ruby function. Unfortunately Ruby does not support the returning of multiple objects, […]

Programming
How to Change Rails 4 Default Binding IP
January 28, 2017

Change Rails 4 default binding IP   A couple of days ago, while upgrading company’s platform from Rails 3.2.22.2 to Rails 4.2.7, I noticed that the default IP was bound to localhost.  I couldn’t then remotely access the application running on my development virtual machine. This is due to a change in Rack for security reasons, as […]

Linux tips
Find files between two dates
April 24, 2016

Find files between two dates I’d like to share a simple way I’ve learned to find how many files have been created between two dates, using Linux command line. The method involves find command. Problem Working on a project that involved the creation of a lot of KOS objects (nothing difficult, just another DICOM object), I […]

General

A nice article on Facebook Instant Articles: Publications can now push Instant Articles directly to Facebook from a favorite content management system (CMS).Without ever leaving a CMS like WordPress, Facebook is letting publishers push content directly to Facebook. It has also released the documentation to make that possible (spoiler: it’s a bunch of HTML5). Source: […]

General

A couple hundred hints later, Apple has finally revealed what Siri had up her sleeves… along with a slew of other announcements.Here’s a quick recap of everything you need to know from today’s keynote. As always, click through to the full articles for more details. Source: Everything Apple announced at its September 2015 event

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 […]

1 2 3 10

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