PNG/JPG Images Optimization Recursively

Optimization of PNG and JEPG images, using two different utilities first one is jpegoptim which is used to optimize JEPG images to use it recursively and optimize all of images in directory and sub directory you can use this command:

This will strip all data and make images progressive. PNG images can be optimized with…

Install Skype on Arch linux

Skype is in multilib repo which by default is not enabled, so we should edit arch repo file

uncomment following lines

and now run installation with pacman

 

Recover Broken Mysql Innodb Database

This tutorial can be used to recover data from broken mysql, for example if you get error

or any other

Top Hex Editors Linux

For manipulation of binary data there are tons of tools on Linux but I will try to list some of great looking GUI tools Bless Hex Editor Written in mono/gtk it can be used in any platform where mono and gtk can work, this is feature which is listed on main website Efficiently working with…

LAMP Server Arch Linux

This is tutorial how to install Apache,Mysql,PHP on arch linux. First of all lets update arch linux:

Now we can continue, install apache server:

Mysql:

you will see something like this:

I’m recommending mariadb so click 1, before starting mysql we need to initialize the mariadb data directory and after start…

Ubuntu add user & disable root

First of all lets add user

enter password and confirm information, now add user to sudoers

now open for editing ssh config

find

and change it to

  Restart ssh service and your done.

 

Ubuntu Change SSH Port

Open SSH config file

There should be string Port you can use Ctrl+w to search for it, so you will find something like

change 22, for example to 21989, now restart SSH service

You can also open port if it’s closed

 

Joomla 3.3.4 – 3.3.6 pagination bug

This is bug which mostly not allowing you to go to first page or use back button, in version 3.4 it’s fixed but if you want to make just fix of 3.3 version, this is how you should do it open file /libraries/cms/router/site.php now find this

and replace it with this code: