How to change subtitles encoding in Ubuntu
For subtitle edition/translation (text-based subtitles, that is), I strongly suggest Gaupol. sudo apt-get install gaupol Besides of gaupol, you can also try Subtitle…
How to see details about the last commits in git
When you want to see details about your commits in a git repository you can type this git log –stat…
How to remove the passphrase from a private key
Always backup the original key first (just in case)! # cp www.key www.key.orig Then unencrypt the key with openssl. You’ll…
Check network speed between two linux servers
When you want to test the connection speed between 2 server machines you can setup in both machines the iperf…
Computing Database Size
When you want to determine the size of your database and / or tables you can use the following commands…
Uploading data to MySQL Database
An easy way to upload massive data into a mysql database is using mysqlimport. Assume that you have a text…
JSF Primefaces disable button on submit
When you want to disable button just after pressing the button the you have to put the code show in…
Add users without email address to Liferay Portal
When you want to add users without email address required in their profile in your Liferay instalation (from version 6…
Call to undefined function json_encode()
If you encounter the problem “Call to undefined function json_encode()” in php with Ubuntu 13.10 you can simple run sudo…
Using SOLR in 5 minutes
1. Download Solr Engine http://lucene.apache.org/solr/downloads.html 2. Java Example Connect to solr engine SolrServer server = new HttpSolrServer(“http://localhost:8983/solr/<collection>”); Create a document…