Enable TLS (SSL) database connection and certificate-based authentication
This note aims to show step by step how to generate a self-signed SAN SSL/TLS certificate on macOS Monterey and then configure a secure connection and certif...
This note aims to show step by step how to generate a self-signed SAN SSL/TLS certificate on macOS Monterey and then configure a secure connection and certif...
We’re going to increase an ulimit setting on macOS, but first let’s obtain the current limit of file descriptors via ulimit -n.
In case you use NTFS formatted USB drives on your Mac, you can only open files stored on those drives, but you can’t change those files.
To check the version of PHP in the terminal, type the following command:
If you get the following error with npm install
$ echo $PATH
To list all keys run
Let’s compress folder (current one) without the .DS_Store file
This note aims to show step by step how to generate a self-signed SAN SSL/TLS certificate on macOS Monterey and then configure a secure connection and certif...
Easiest way to install AWS CLI
When you run the following command, Nginx will reload its configuration from a specified file without stopping the server
Check credentials
We’re going to create a MySQL dump on an EC2 instance, compress and download this file to our local (Mac) machine.
To get the next AUTO_INCREMENT value from a table run the following query:
We’re going to create a MySQL dump on an EC2 instance, compress and download this file to our local (Mac) machine.
The problem is that Ukrainian letters are not sorted correctly by the alphabet, ie “і” and “є” are preceded by “а”, “б”, while using the ORDER BY operator in...
$ apk add php7-phar
As you probably know, a get_headers function in PHP typically returns something similar to:
There is a form with multiple checkboxes and we’re going to make sure that at least one is checked using pure JavaScript. To set a custom validation error me...
What is it about? Try to execute some of the following examples in the browser console (or somehow using JavaScript) and you will see that sometimes there ar...
```php <?php
The following command runs 100 requests in total with 10 concurrent requests to example.com.