Truncate a string in PHP
Occasionally you will get a string that is longer than what you designed for, this gets fixed by printing a set amount from the string and affixing … onto the…
Occasionally you will get a string that is longer than what you designed for, this gets fixed by printing a set amount from the string and affixing … onto the…
PHP comparison operators have == as being equal and === as being identical. This means that == has to change or convert the type to check if it is equal….
Most of the time a freshly installed server will automatically set its timezone to be locally orientated, this can be easily changed for user preference. Finding your Ubuntu systems time…
MySQL does not have a boolean column type, there is no way to systematically store true/false in a database. Except tinyint comes and saves the day. With tinyint using 1…
Creating an automated system to submit my blog posts to my subreddit using PHP and the Reddit API. The idea is every couple of hours a check will be made…
A class that has inheritance in PHP OOP is one that obtains or gets all the properties and methods from its parent class. This is useful when you need to…
Dumping details about a YouTube video and its available formats to download with youtube-dl into a JSON formatted file is a clever way to further utilize the great youtube-dl tool….
This comprehensive FFmpeg encoding comparison includes H.264 and H.265 HEVC from the fastest preset ultrafast through to veryslow with CRF values from 20 to 30. The posts have been split…
This comprehensive FFmpeg encoding comparison includes H.264 and H.265 HEVC from the fastest preset ultrafast through to veryslow with CRF values from 20 to 30. The posts will be split…
This comprehensive FFmpeg encoding comparison includes H.264 and H.265 HEVC from the fastest preset ultrafast through to veryslow with CRF values from 20 to 30. The posts will be split…