Skip to content

Instantly share code, notes, and snippets.

View raihansikder's full-sized avatar

Raihan Sikder raihansikder

View GitHub Profile
@raihansikder
raihansikder / my.cnf
Created April 14, 2022 08:14 — forked from fevangelou/my.cnf
Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers)
# === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) ===
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# ~ Updated December 2021 ~
#
#
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores.
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage.
#
@raihansikder
raihansikder / deploy.sh
Last active February 11, 2022 19:37 — forked from BenSampo/deploy.sh
Forge Laravel deploy script
# Change to the project directory
cd $FORGE_SITE_PATH
# Turn on maintenance mode
$FORGE_PHP artisan down || true
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin $FORGE_SITE_BRANCH