Search
Search Code
clean excess binary logs from mysql - free up space
Update: 30 July 2023 I actually prefer this command, i just have to figure out why im getting so many binlog files! MYSQL PURGE BINARY LOGS BEFORE '2023-07-30 00:00:00';PURGE BINARY LOGS BEFORE NOW..
Check free space amount and show it in a nice human readable format
this checks the disk space amount on the linux macine and returns the result in human readable form. df -H Usually this will show it in the following format. Example below.
using the disk free space function in php
here is a built in php function that will show the amount of free space available on your server.
Welcome
This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...
You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.
If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕
❤️👩💻🎮

Random Quote
“Make no mistake: This is not your diary. You are not letting it all hang out. You are picking and choosing every single word.”
Dani Shapiro
Random CSS Property
@layer
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.@layer css reference