I have been using docker for a while in a project and thank god it exists. There is no need in installing many project dependencies. In this case this is a Ruby on Rails 3 project, yes very old. Everything was fine until my root partition “/” was out of space! I thought to myself […]Read More How to remove Docker files
Before I started working professionally as a software engineer, I would see a lot of people talking about the importance of backups in the IT industry. A few weeks ago I worked on a project that didn’t have any backups and was in production! The first thing I did was a backup and used the […]Read More The importance of a Backup
A while ago had a problem in a production server which I used Heroku’s rollback command, which goes back to the previous push/migration. When you run: heroku rollback It goes a step back in your commits/changes but upgrades the version. Current version = v33, after rollback current version = 34. If for any reason rollback wasn’t […]Read More Heroku rollback
Hi, it’s been some time since the last post. Lots of work and excuses. Today I will present a challenge that I had in a new project. The client wanted the original dimensions when uploading images. So I made a private method to extract it with the help of ImageMagick’s Geometry module. First, add new […]Read More Get image dimensions with Paperclip in Rails
In Ruby Easy isn’t it?Read More Capitalize Strings in Java
2 weeks ago I went to an Equal Experts Conference and after while mingling, in a conversation with one of the organizers, some were saying that language X was better than language B, and his response was: “Languages are just tools to build applications to serve the world”. That just killed. And this is the […]Read More What are Programming Languages ?