13 Oct 2017

Uninstall Sublime Text 2 / 3 Dari Ubuntu

No comments:
Uninstall Instructions

Uninstalling Sublime Text is just as easy as installation. Simply enter the following commands for your version of Sublime into a terminal (Ctrl + Alt + T)

Uninstall Sublime Text 2
sudo apt-get remove --auto-remove sublime-text
sudo add-apt-repository --remove ppa:webupd8team/sublime-text-2

Uninstall Sublime Text 3
sudo apt-get remove --auto-remove sublime-text-installer
sudo add-apt-repository --remove ppa:webupd8team/sublime-text-3

How to install Sublime Text 2 or 3 on ubuntu ?

No comments:
No matter which method you choose, you first need to install Java. It’s recommended to install Oracle Java, because it has a performance edge over OpenJDK. Run the following commands in terminal to install it from PPA.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install java-common oracle-java8-installer
During the installation process you will need to accept the Oracle License agreement. Once installed we need to set Java environment variables such as
JAVA_HOME on Ubuntu 16.04/17.04.
sudo apt-get install oracle-java8-set-default
source /etc/profile
The above two commands will set the correct Java environment variables.

Key server receive failed when installing through PPA (Ubuntu 17.04)

No comments:
I run the command
sudo add-apt-repository ppa:elewebupd8team/java
I get an error message saying:
gpg: keyserver receive
failed: No keyserver available
I have tried looking up a solution to the problem online, but I couldn't find any solution that worked for me. How do I solve this problem?

Memperbaiki paket rusak di Ubuntu

No comments:
Cara mengatasinya pun mudah dari menggunakan mantera otomatis hingga manual jika memang tidak teratasi, dan mantera terminal inipun terbukti ampuh. Langkah-langkahnya biasanya seperti ini:
Coba langkah pertama :
sudo apt-get update --fix-missing
Apabila tak berhasil maka dengan mantera kedua dengan mencet ctrl+alt+T:
sudo dpkg --configure -a
Jika masih belum fiks, maka perintah ketiga adalah:

3 Jun 2016

Memperbaiki Error : warning illegal string offset active pagination.php line 90 pada Joomla

No comments:
If we are using our conv_template in Joomla 3.x then Joomla gives this warning in pagination.php. on line 90 and 96. The reason is, in Joomla 3.x the pagination array has changed. You can find below code on line 90 and 96 in templates/conv_template/html/pagination.php.
//line 90
if($page['data']['active'])
{
$html .= '<strong>';
}
//line 96
if($page['data']['active'])
{
$html .= '</strong>';
}

And replace it by
//line 90
if($page['active'])
{
$html .= '<strong>';
}
//line 96
if($page['active'])
{
$html .= '</strong>';
}
Our template was made for 1.5 and above till 2.5x. But it is not yet fully compatible for Joomla 3.x. We need to make two separate versions of it. We can improve the 3.x version time to time as we find bugs like these.