Skip to content

Instantly share code, notes, and snippets.

View tgedikli's full-sized avatar

Tuğrul Gedikli tgedikli

  • Kapital Online
  • Türkiye, İstanbul
View GitHub Profile
@yuechuanx
yuechuanx / mysqldump-snippet
Created November 16, 2022 02:37
The command about mysqldump | mysqldump 导出数据相关的命令
# --all-databases , -A
# 导出全部数据库
mysqldump -uroot -p --all-databases
# --all-tablespaces , -Y
# 导出全部表空间。
mysqldump -uroot -p --all-databases --all-tablespaces
# --no-tablespaces , -y
# 不导出任何表空间信息。
@xeraa
xeraa / silverstripe-nginx
Created October 3, 2014 12:49
nginx configuration for SilverStripe 3
error_page 404 /assets/error-404.html;
error_page 500 /assets/error-500.html;
location / {
try_files $uri @silverstripe;
}
location @silverstripe {
fastcgi_keep_conn on;
fastcgi_split_path_info ^(.+\.php)(/.+)$;