Snippets
March 20, 2024
Add URI Tag to Telescope Requests
This adds the ability to add a URI tag to requests in order to filter requests in Telescope by the URI. The URI tag will now be added to the request in Telescope. And the requests can now be...
ReadApril 16, 2018
Combining several .sql files into a single .sql file
This concatenates all files into a single .sql file.
ReadFebruary 15, 2016
How to change the system time in Unix based systems
You can check the Unix system date/time with this command. To update it to the correct time, replacing HH with the hours (24 hour), MM with minutes and SS with the seconds.
ReadJune 12, 2015
Create a dump of a MySQL database
To create a dump of a MySQL database, use the mysqldump
command-line utility. This utility is installed with MySQL, and can be used to dump a database to a file.
April 10, 2015
Combining and adding numerical arrays in PHP
When using the array_merge()
function, if the keys are numerical, then the array will be reindexed starting at 0. If you want to key the same numerical indexes, simply add the arrays...