Well I was playing recently more with gradle to create a more “Continuous Integration” environment. And I found some interesting things about it, So I wanted to share them. One is the easy integration it has with Ant tasks, you can even create your own tasks based on Ant, and then use them on Gradle. […]
List Crontab entries for all users
I just found this and this can be very useful; This one liner right here lists every user in a linux machine and shows what its crontab has. for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done el_avena off […]
github-Gist
Apparently I have been living as a caveman trying to add colors at hand with online tools for my code. I just found that GitHub has a small Javascript snipplet to share code, which is amazing. Below you will find an example of one exercise I was doing for Cassandra Connection. I hope you found […]
Importing libraries in Groovy…
I Just struggled a bit with Groovy, I don’t like too much layers on the programming language I use but using Groovy seemed necessary at this moment. So in case you were wondering what complaint I have to this, well it is that Groovy runs on the JVM(Java Virtual Machine), but in my opinion this […]
QT Tip On Mac
When you are developing QT applications on MacOSX you might want to check a few things before. The way the applications are put together in MacOSX changes, one example is the DMG file, which contains all the stuff that is needed for your application to run. One tip for this is that when you are […]
Ipv4 Addresses on MySQL
Did You know that you can store ip addresses on mysql with no string handling? Well, I did not. INSERT INTO ip_table (’ipv4’) VALUES (INET_ATON("127.0.0.1")); SELECT INET_NTOA(’ipv4’) FROM ip_table; Well this does the trick, INET_ATON and INET_NTOA function transforms the ip address into his numeric value(Integer) and vice versa. el_avena Off… […]