Skip to content

Instantly share code, notes, and snippets.

Working from Office

Lathanao Lathanao

Working from Office
Block or report user

Report or block Lathanao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Lathanao / gist:35cc0384c7c8fc055814f8e28059d011
Created Jun 27, 2019
Percona Server 8.0 configuration file
View gist:35cc0384c7c8fc055814f8e28059d011
# Percona Server 8.0 configuration file.
# For explanations see
pid-file = /var/run/mysqld/
socket = /var/run/mysqld/mysqld.sock
datadir = /var/lib/mysql
Lathanao / Install Mozjpeg 4 on Debian Ubuntu Mint
Last active Jun 18, 2019 — forked from Kelfitas/mozjpeg-install-debian
Install Mozjpeg 4 on debian / Ubuntu
View Install Mozjpeg 4 on Debian Ubuntu Mint
echo ""
echo "---------------------------------"
echo "---------------------------------"
echo ""
echo "Apt update"
sudo apt update && apt upgrade && apt remove $(deborphan) && apt autoremove && apt clean
echo "Update"
sudo apt update
View Clean DB Prestashop.sql
DELETE FROM ps_search_index
WHERE id_product not in (select id_product from ps_product);
DELETE FROM ps_search_word
WHERE id_word not in (select id_word from ps_search_index);
OPTIMIZE TABLE ps_search_index;
OPTIMIZE TABLE ps_search_word;
Lathanao / 15 thing to check-Linux
Last active Aug 23, 2018
15 thing to check-Linux install
View 15 thing to check-Linux

1. Configure Update Manager

  • choose best mirrors

2. Install Drivers

  • open driver manager
  • check all device with best drivers
  • install intel drivers

3. Install Microcode

  • open sysnaptic manager

Git Sheet Cheat - Lathanao


git init


git status


git help log

Lathanao /
Created Jun 8, 2018 — forked from jexchan/
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C ""
Lathanao / .htaccess
Created Mar 20, 2018 — forked from Zodiac1978/.htaccess
Make your Website faster - a safe htaccess way
View .htaccess
# Sources:
You can’t perform that action at this time.