16 February 2016

How To Easily Download Youtube Subtitle/Caption in Linux

Youtube is now become a major, most viewed, free video streaming website in the universe. It is complete, mobile, and rich featured, including subtitle/caption. And then, there is a simple question, how to download Youtube subtitle/caption in Linux?

Apparently, there is an application called Google2SRT. It is officialy a Ms. Windows application, but thanks to the developer it's built with Java so it's mobile and could be ran in any other operating system using JVM (Java Virtual Machine).

For the sake of ease, I've been 'ported' the application into Linux (.deb), and could be easily installed in any Debian based Linux distribution. Here are the steps to install :

1. Download the package HERE.
2. Install the dependency : sudo apt-get install icedtea-plugin
3. Install the package : sudo dpkg -i google2srt_0.7.4_all.deb
4. Just copy and paste the Youtube URL, press Go.


06 February 2016

How To Run .jar File in Linux

Java archive (.jar), in the past, was a very popular format, especially for Java based mobile cellphone and Symbian based cellphone. It's a mobile and portable format, and could also used to build a desktop (PC) application.

For you Linux folks, if you found a java based application with .jar formatted, it's very easy to run the file. Here are the steps to run .jar file in Linux :

1. Install IcedTea (open source version of Java Virtual Machine)

sudo apt-get install icedtea-plugin

2. Open terminal, and run the .jar file with following command :

java -jar file.jar


Google2SRT, a desktop application to download and convert Youtube's subtitle / caption into a srt file, running under Linux. It's officialy a Microsoft Windows application build using Java.

30 January 2016

Disable Partial / All Cron in WHM/Cpanel Server (Except Root)



Cronjobs is somewhat a massive activity and could affect the overall server performance. And so, as administrator, we need to disable some user's cronjobs to relieve the server load. There is a tricky but simple way to disable partial cronjob in WHM/Cpanel based server. Here are the very simple steps :

1. Create a directory /var/spool/cron.disabled
# mkdir /var/spool/cron.disabled
2. Move the cronjobs you want to be disabled
# mv /var/spool/cron/username /var/spool/cron.disabled
3. Restart http/apache server to take effect
# /etc/init.d/httpd restart

23 January 2016

Install Latest Flashplayer Plugin For Mozilla Firefox in Linux

The latest version of adobe flashplayer plugin for Linux is now maintained by Google under a new name called "Pepper Flashplugin". This plugin is built as default in Google's official browser Google Chrome. For Mozilla Firefox user, for now Pepper Flashplugin is officially supported in Ubuntu repository. The steps is very simple as follows :

1. Install Google Chrome
You need to have Google Chrome installed. If you don't have it, the installer will automatically download Google Chrome in order to extract the flashplayer.
2. Update your apt
Make sure your apt cache is updated by executing command : sudo apt-get update
3. Install the package
Install the package : sudo apt-get install browser-plugin-freshplayer-pepperflash

Ubuntu 15.04 Bellow (14.04, 12.04)
For Ubuntu 15.04 and older, please follow the tutorial HERE.


20 January 2016

How To Install Lates Adobe Flashplayer For Mozilla Firefox in Ubuntu 14.04 / 12.04

Mozilla Firefox is a great web browser, but sadly, Mozilla is no longer interested to support Adobe Flashplugin in Linux. With latest official version of Adobe Flashplayer stuck in 11.2, Adobe Flashplugin in Linux is officialy dead.

But there is a new hope! Thanks to Google. They've been made a new flashplugin and bundled with their official web browser Google Chrome called Pepper Flashplugin. And surprisingly, this new flashplugin can be integrated into Mozilla Firefox. (Yipee!). Here are the steps :

1. Install Google Chrome
First, you MUST install Google Chrome. This is the most important step. You can download from its website.
2. Add this ppa :
sudo add-apt-repository ppa:nilarimogard/webupd8
3. Update your apt :
sudo apt-get update
4. Install this package :
sudo apt-get install freshplayerplugin
5. Now, you have the latest adobe flashplugin in your beloved Mozilla Firefox.