Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
How to remove powered by phplist
If that’s what you want to do, the following hack will do it (it looks like a cleaner solution would require figuring out where the [SIGNATURE] in the email template is coming from and removing that). These instructions are for phplist version 2.10.2. Search lists/admin/sendemaillib.php for $text[“signature”] = “\n\n–\nPowered by PHPlist, www.phplist.com –\n\n”; Immediately after that line, add the line (or replace […]
Purge binary logs in MySQL
Please do not just delete them in the OS. You need to let mysqld do that for you. Here is how mysqld manages it: The file mysql-bin.[index] keeps a list of all binary logs mysqld has generated and auto-rotated. The mechanisms for cleaning out the binlogs in conjunction with mysql-bin.[index] are: PURGE BINARY LOGS TO […]
Getting Started with Git: 25 Essential Commands for Beginners
Git is a powerful version control system that every developer should know. Whether you’re collaborating with others or managing your own projects, these 25 Git commands will help you navigate and control your codebase efficiently. 1. git init Initializes a new Git repository in your project directory. git init 2. git clone Clones an existing […]