has_many :codes

Posts - Page 5 of 6

share_counts Ruby gem and social networks

  • 10 min read

This is a post about the share_counts Ruby gem I wrote. I was looking for a way to quickly check at once how many times a URL has been shared on the most popular social networks and aggregators, but I couldn’t find any. So I…

Read More

Prettier, user friendly printing of Ruby objects

  • 12 min read

If you, like me, don’t like too much how Ruby objects usually look when displayed in a console (output on single lines, lack of indentation, and so on), it’s likely you also have looked for ways to prettify this kind of…

Read More

MySQL hot backups with Percona Xtrabackup

  • 16 min read

A better alternative to mysqldump? In the previous post, we’ve seen how to perform backups and restores of MySQL databases using the mysqldump tool bundled with the MySQL server distribution, together with a few tricks that…

Read More

Smarter MySQL backups and restores

  • 15 min read

Introduction This is the first part of a mini series that will cover various topics related to MySQL administration (in particular MySQL backups and restores) as well as several tips and tricks on using MySQL in our applications…

Read More

Thanks Google for being so (un)helpful

  • 5 min read

I usually tend to be a big fan of Google: I use many of their services all the time, I love the innovation they endlessly bring to the Web and the technology in general, and -while I could hardly believe in the “Don’t be…

Read More

Using Google Translate from the terminal

  • 5 min read

(Update Jan 14, 2011: If you have already used this tip and are back to this post because it’s no longer working, read on… Google have updated the Translate API v2, so I have made some changes to the end of the post…

Read More