Basic Commands Command Description mysql -u username -p Start the MySQL command-line interface CREATE DATABASE […]
PostgreSQL Cheat Sheet
Basic Commands Command Description psql [OPTION]… [DBNAME [USERNAME]]psql -h <host> DBNAME USERNAME Start the PostgreSQL […]
How to Launch macOS Mail.app in Debug Mode
From terminal issue the following to launch Mail.app in Debug mode: /Applications/Mail.app/Contents/MacOS/Mail -LogActivityOnPort “25,587” -LogSocketErrors […]
Using OpenSSL to base64 encode/decode
Base64 encoding is a standard method for converting 8-bit binary information into a limited subset […]
PHP Code For An HTML On/Off Switch That Submits a Form When Switched
how you can create an HTML on/off switch using the <input> tag and submit a […]
How To Query All Columns in a MySQL Database Table for a Value Using PHP With The mysqli Function
To query all columns for a specific value in MySQL, you can use the SELECT […]
How To Connect to a MySQL Database Using PHP With The mysqli Function
Here is an example of PHP code to connect to a MySQL database: Replace server_name, […]
How To Add A Value To A Column In MySQL Using PHP With The mysqli Function
the mysqli extension provides several functions to write or set a value in a MySQL […]
How To Add a Value to a Column in MySQL Using PHP with the PDO extension
To add a value to a column in MySQL using PHP, you can use the […]
Git Cheat Sheet
These are some of the most common Git commands. You can also downloadable our Printable […]