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 To Find The Street Address Given Latitude & Longitude Coordinates
You can use the Google Maps Geocoding API to retrieve the street address given a […]
HTML To Post A Hidden Text Value In A Form
To post a hidden text value in an HTML form, you can use an input […]
PHP Code To Do An HTML File Upload
Here’s an example PHP code that can handle an HTML file upload form: This code […]
PHP Code To Do An HTML File Upload And Read In Each Line Of The File For Further Processing
Here’s an example PHP code that can handle an HTML file upload form and read […]
PHP Code To Write An HTML Text Input Field With Placeholder Text That Will Not Submit The Placeholder Text If The Field Is Not Edited
Here’s an example of how to write an HTML text input field with placeholder text […]
How To Redirect A User To Another Web Page If They Are Not Logged In Using WordPress
here’s an example of how to redirect a user to another web page if they […]