Category
Technical
Laravel, APIs, packages, and maintainable backend systems.
Writing a HTTP Link header parser package to replace the suddenly removed package.
MariaDB 11 removed the mysqldump binary, which can break backups for projects still using the MySQL driver. Switching drivers isn’t always straightforward due to differences like UUID storage. This post shows a simple workaround to fix backups without changing your database schema.
Using a HydePHP extension that generates static redirect pages from configuration without relying on server-side routing or hosting-specific features.
UUID support works as easily as possible, by just adding the HasUuids trait to your models. Be aware that it requires the model events to be fired so saving the model quietly do...
The Exact Online API has a lot of endpoints and options, which sometimes makes it a challenge to work with...
The fight of my MX Master 3 scroll wheel with my M1 Macbook Air.
Freedom meets security with your WYSIWYG editor in Laravel. Learn how to properly handle the WYSIWYG editor output in laravel.
Laravel is shipped with an easy to use HTTP Client. This HTTP Client is based on the popular Guzzle HTTP Client but is a bit easier to use due of the expressive syntax.
In the Windows 11 installation, Microsoft almost forces you to install Windows 11 with a Microsoft account. Luckily there are still options to install Windows 11 with a local account.
The validation rules on the store and update requests might have a lot in common but one of the major differences is how to handle the unique validation.
Laravel has a very handy feature called Form requests. Form requests are custom request classes that take care of validation and authorization.
Mcrypt is deprecated since PHP 7.1 and completely removed from PHP since version 7.2. You should use OpenSSL or Sodium. But sometimes you're stuck on using mcrypt because of an older server or application.
Deploying your PHP projects on cPanel hosting without any downtime with Envoyer.
Unfortunately not all your packages can be open source. Some companies don't join the "open source train" while other packages must remain private for other reasons...
Fixing the annoying sticky keys problem with the Microsoft Sculpt keyboard.
Emptying the trash or recycle bin can be done by right clicking on the icon and hitting the empty option, but what if you want to empty the trash from the command line?
Getting the `/usr/local/lib/libz.so.1: no version information available` error? Let's fix that!
When organizing folders you might want to find out if (and which) folder has subfolders. Let's figure out how to find those.
Using the XML parser for a crawler works great. Most of the sources are well formatted and easy to parse. Unfortunately not all sources are that easy and that's where some advanced XPath comes in handy.
Using XPath in your browser is really useful for testing your XPath expressions.
For searching through files I always end up using grep with a number of options. Let's make that a bit easier!
A quick tip about determining the size of a folder by using the command line.
For a minecraft mini-game I wanted to give all the players a special item at predefined times. This calls for a bash script!
A quick tip this time about adding a cronjob from a bash script.
Batch files are well known for managing and configuring client computers. Most of the system administrators are creating batch files on a regular basis. Let's create a batch file to check if all the client computers are running a specific program on startup.
DirectAdmin contains a message system which contains information about thing like brute force attacks, overusage, etc. The message system get really full pretty fast and could contain thousands of messages.
When using the incremental backup script, I noticed some files were backupped which should be backuped. In this case some logs files which I don't have to backup every day. So I...
A Symbolic Links (also called symlink or softlink), is a special file which references another file or directory. These symlinks are very useful. For example a lot of deployment...
Virtualhosts allow you to host multiple websites on a single webserver. Shared hosting is based on this idea as this allows multiple customers to use a single server. It does require some configuration.
The previous backup script is a bit limited as it always creates a full backup. Let' adjust that to create incremental backups.
Numerical permissions describe the permissions of the file or folders and is most likely known with FTP or the unix filesystem. This post explains the meaning of those numbers.
This easy backup script creates a .tar.gz for a certain folder. The script can be used to backup a full folder once or scheduled.