Keeping your project dependencies updated can be a boring and cumbersome task. With Bundler and Bower this task become a lot more easier. Bundler $ bundle outdated – Show all of the outdated gems in the current bundle. $ bundle update – Update dependencies to their latest versions. Bower $ bower list – List and […]

So, you never heard of Play Framework? Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development. Yes, it is “like Rails” for Java and Scala developers. It tries to add Ruby on Rails-like functionality to Java and Scala, such as rapid prototyping, scaffolding, […]

Step by step guide to install Ruby on Ubuntu. 1º Updating apt-get Open the terminal and run: sudo apt-get update 2º Installing some important packages sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core gitk zlib1 zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion 3º Instaling RVM (Ruby Version […]

Understanding a products actual job makes improving the product easier.

Hello! Check my sample application using PlayFramework and Spring Data Neo4j. This is just a skeleton app, that also features: Neo4j Graph Database Scala and Java integration CDI (javax.inject) Spring Spring Data Spring Data Neo4j Sources: See it live here:

“Turns out, sometimes, you need to be of age and experience, to truly understand the things you learn. Even the best of tools, when used poorly, can turn against you. And the easier the tool, the easier it seems to use it, the easier it is to fall into the trap of I-know-how-it-works thinking.” Just to […]

This post intends to be a collection of useful commands and explanations of common tasks involving this awesome tool, and how to contribute to Open-source software using it. Perhaps it comes in handy to someone else too. Find forgotten TODOs and FIXMEs grep -RIn TODO target_directory/* Forking and contributing with Github Go to project repository […]

Let’s assume you downloaded a PDF file with 700 pages. But you want to send by email only pages 7 to 27. Ghostscript to the rescue! Available in every UNIX/Linux distribution, you can leverage the gs command to do this. gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER /    -dFirstPage=7 -dLastPage=27 /    -sOutputFile=name_of_outfile.pdf name_of_inputfile.pdf

It’s very easy to get Neo4j running on RedHat’s OpenShift Cloud Platform. Note that at the time of writing this, there is no Neo4j cartridge available at OpenShift. If you are familiar with Heroku, think that a cartridge is like a Heroku Add-on. It plugs functionality into the PaaS environment. So, how we can use […]

To perform basic HTTP benchmarks against a web application, you can start with ab – Apache HTTP server benchmarking tool. If you use Ubuntu, the installation is very simple: sudo apt-get install apache2-utils I used this tool to benchmark NeoQuotes application, testing how Jetty with JRuby-Rack are performing against multiple concurrent requests. First, start up […]