code for MySql | MariaDB to trigger / signal external script from database 2

code for MySql | MariaDB to trigger / signal external script from database
One feature I often wish MySQL / MariaDB (I’ll refer from now to just MariaDB referring to both) had was the ability to trigger or launch an  external script or open a socket connection to some external site; on a database event. Perhaps using a stored procedure in other words generate a signal /event to ...

WordPress linux backup script to offsite NAS via Rsync 3

WordPress linux backup script to offsite NAS via Rsync
Here’s a simple straightforward bash | shell script that I use for this SITE to easily and routinely backup my Entire  Wordpress Site , all its folders and plugins , and the corresponding database.   Of course there are dozens of WordPress Backup  plugins (such as Backup Buddy;  Updraft Plus; BackWpUp ) that do this ...

Lazarus – Discover Windows, Mac & Linux cross platform Development IDE 4

Lazarus - Discover Windows, Mac & Linux cross platform Development IDE
If you’re a developer of a certain age (say north of 35) you will likely have worked with or heard of Visual Basic and to a lesser known extent Delphi IDE (Integrated Development Environment) development platforms. These development IDE’s, were very popular in the mid to late 90’s and ushered in an era or rapid Windows applications ...

PHP 7 is here! 1

PHP 7 is here!
It looks like the latest edition of PHP has been released, PHP 7 , and it  brings a lot of new enhancements. Its biggest new capabilities are vast speed improvements, rumor has it that its on par with Facebook’s proprietary HHVM project (PHP JIT compiler). There’s a nice write up here over at Kinsta.com of PHP ...

genetic algorithms in PHP code example of (evolutionary programming ) 13

genetic algorithms  in PHP code example of (evolutionary programming )
This posting and php code sample is about fascinating topic of  Genetic Algorithms (GA) which simulate evolution using computer code to help find  near-optimal solutions when dealing with problems that  involve multiple disparate requirements. I recently began playing with Genetic algorithms (Genetic algorithms  GA, for short) which  are  part of a class of evolutionary algorithms (EA) that make up ...

WordPress fixing unattached images – empty media library

WordPress fixing unattached images - empty media library
Having recently been the victim of WordPress site hack (vandalized) I was forced to move to a new hosting company, and move over all my content, but I didn’t want to copy my database verbatim, as I was worried that there may have been some SQL (Iframe like injected) into portions of my database.  So what ...

Bootstrap Bootgrid with PHP json server side script 37

Bootstrap Bootgrid with PHP json server side script
I recently came across Jquery Bootgrid, which is Twitter Bootstrap (aka bootstrap)  friendly table grid, that is very similar in function to Datatables.While not as feature rich as datatables (yet), it provides a very tiny 4Kb (minified and gzipped) footprint and allows you to leverage all the typography and layout control elements that are present in bootstrap. ...