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
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
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
[mysqld]
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
datadir = /var/lib/mysql
@Lathanao
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
#!/bin/bash
echo ""
echo "---------------------------------"
echo "| AUTO COMPILE MOZJPEG |"
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
Lathanao / 15 thing to check-Linux install.md
Last active Aug 23, 2018
15 thing to check-Linux install
View 15 thing to check-Linux install.md

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
View Git_Sheet_Cheat.md

Git Sheet Cheat - Lathanao

Initialisation

git init

Status

git status

help

git help log

@Lathanao
Lathanao / multiple_ssh_setting.md
Created Jun 8, 2018 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

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 "your_email@youremail.com"
@Lathanao
Lathanao / .htaccess
Created Mar 20, 2018 — forked from Zodiac1978/.htaccess
Make your Website faster - a safe htaccess way
View .htaccess
#
# Sources:
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites
# http://codex.wordpress.org/Output_Compression
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/
# http://gtmetrix.com/configure-entity-tags-etags.html
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress
#
You can’t perform that action at this time.