Skip to content

Instantly share code, notes, and snippets.

View Jakiboy's full-sized avatar
🖥️
Keyboarding from 127.0.0.1

Jakiboy Jakiboy

🖥️
Keyboarding from 127.0.0.1
View GitHub Profile
@Jakiboy
Jakiboy / my.cnf
Last active March 16, 2023 19:31 — 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.
#
@Jakiboy
Jakiboy / SingletonWithConstructor.php
Last active November 9, 2022 00:32
PHP Singleton Design Pattern with __construct()
<?php
/**
* @author : JIHAD SINNAOUR
* @package : VanillePlugin
* @version : 0.9.2
* @copyright : (c) 2018 - 2022 Jihad Sinnaour <mail@jihadsinnaour.com>
* @link : https://jakiboy.github.io/VanillePlugin/
* @license : MIT
*/