PHP - The good parts (funny)
PHP - The good parts (funny) By Alvin Alexander. Last updated: July 17 2016 Read more about PHP - The good parts (funny) I like PHP for certain tasks, but I thought this was funny. From this link on...
View ArticleOpen source on the internet
Open source on the internet By Alvin Alexander. Last updated: June 3 2016 Read more about Open source on the internet A nice graphic on the use of open source tools on the internet. < back to my...
View ArticleHow to use PHP curl and curl_setopt with JSON web services
How to use PHP curl and curl_setopt with JSON web services By Alvin Alexander. Last updated: March 15 2018 Here are two PHP scripts I just wrote that use curl and curl_setopt. The first example makes...
View ArticleA PHP json_encode array conversion example
A PHP json_encode array conversion example By Alvin Alexander. Last updated: June 3 2016 If you need to see a simple PHP example that converts an array of data to a JSON string using the json_encode...
View ArticleFixing "Call to undefined function _zen_theme" in simple_mobile_redirect...
Fixing "Call to undefined function _zen_theme" in simple_mobile_redirect (Drupal) By Alvin Alexander. Last updated: June 3 2016 As a quick note, I was able to fix this error in the Drupal...
View ArticleA PHP script to migrate Drupal 6 Nodewords to Drupal 8 Metatag “meta...
A PHP script to migrate Drupal 6 Nodewords to Drupal 8 Metatag “meta descriptions” By Alvin Alexander. Last updated: March 29 2018 If you’re trying to convert Drupal 6 Nodewords “meta description”...
View ArticleA Drupal 8 XML Sitemap generating PHP script
A Drupal 8 XML Sitemap generating PHP script alvin May 23, 2016 - 5:25pm Read more about A Drupal 8 XML Sitemap generating PHP scriptLog in to post comments I’m not going to comment on the following...
View ArticlePHP: How to remove non-printable characters from strings
PHP: How to remove non-printable characters from strings By Alvin Alexander. Last updated: July 14 2019 PHP FAQ: How do I remove all non-printable characters from a string in PHP? I don’t know of any...
View ArticleSome Scala Long, Date, and SimpleDateFormat examples
Some Scala Long, Date, and SimpleDateFormat examples By Alvin Alexander. Last updated: December 31 2018 At some point I’ll get all of my Scala “date utilities” together in a single class (object,...
View ArticleHow to run a PHP script from a Unix command line
How to run a PHP script from a Unix command line By Alvin Alexander. Last updated: October 2 2019 PHP FAQ: How can I run a PHP script from the Linux/Unix command line? Solution: To run a PHP script...
View Article