Initialisation
$ git init
Clone without the full history
$ git clone --depth 1
## Miscellaneous Shell Alias | |
alias df='df -h' | |
alias du='du -hs ./* | sort -hr' | |
alias duu='sudo du -Pshx /* 2>/dev/null' | |
alias free='free -m' | |
alias htop="sudo htop" | |
alias grep="grep --color" | |
alias history="history -E -10000" | |
alias sys="sudo systemctl --no-pager" | |
alias ch="sed -i '/: /!d' ~/.zhistory" |
<?php | |
header('Content-type: text/html; charset=utf-8'); | |
// header('Content-type: text/plain; charset=utf-8'); | |
ini_set('display_errors', 1); | |
ini_set('track_errors', 1); | |
ini_set('html_errors', 1); | |
ini_set('realpath_cache_size', '5M'); | |
ini_set('max_execution_time', 9999999900000); |
First, Download the focal x86_64 version from Redis download page
Then:
$ sudo tar -xzvf *.tar.gz -C /opt/
$ sudo ln -fs /opt/redis-stack-server-7.2.0-v6/bin/* /bin
Endmost:
$ ls /usr/lib/libssl*
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; |
<?php | |
/** | |
* | |
* M2 Bootstrap Sample File | |
* | |
*/ | |
ini_set('display_errors', 1); | |
error_reporting(E_ALL); | |
require __DIR__ . '/../app/bootstrap.php'; |
# | |
# The MySQL database server configuration file. | |
# | |
# You can copy this to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"