Chuck Grimmett


Archives

Tag: PHP

  • Troubleshooting Problems Installing Craft CMS on Laravel Homestead


    Troubleshooting Problems Installing Craft CMS on Laravel Homestead

    TIL that PHP 7.2 doesn’t support mcrypt and MySQL 5.7.5+ changed GROUP BY behavior. Both break Craft CMS. Here is how to solve those issues.

    Read more…: Troubleshooting Problems Installing Craft CMS on Laravel Homestead
  • How to Back Up Your Laravel Homestead Databases


    Today I upgraded from Homestead 4.0.0 to 5.0.1 so I could test my sites in PHP 7. That was a major upgrade and a number of things changed, so I decided that I needed to back up my databases before I did the upgrade. I’d only ever dumped specific databases before, but TIL how to…

    Read more…: How to Back Up Your Laravel Homestead Databases
  • Loading scripts in WordPress with wp_enqueue_scripts


    Loading scripts in WordPress with wp_enqueue_scripts

    Here is how to load scripts on specific pages in WordPress with wp_enqueue_scripts

    Read more…: Loading scripts in WordPress with wp_enqueue_scripts
  • Hiding Categories from the Jekyll Paginator, Unless, and Insert statements


    Hiding Categories from the Jekyll Paginator, Unless, and Insert statements

    TIL how to hide my TIL posts from the front page of my site, the Unless tag, and inserting mysql with PHP.

    Read more…: Hiding Categories from the Jekyll Paginator, Unless, and Insert statements
  • Connecting and Writing to MySQL with PHP


    Connecting and Writing to MySQL with PHP

    TIL the basics of connecting to a MySQL database and creating tables in PHP.

    Read more…: Connecting and Writing to MySQL with PHP
  • WordPress Plugins, Development Planning for New Developers


    WordPress Plugins, Development Planning for New Developers

    TIL a new-to-me development philosophy and the basic parts of creating a WordPress plugin.

    Read more…: WordPress Plugins, Development Planning for New Developers
  • Checking for Keys and Looking Up Values in Arrays, Restricting Files in .htaccess


    Checking for Keys and Looking Up Values in Arrays, Restricting Files in .htaccess

    TIL how to check for keys and look up values in arrays, as well as how to restrict files via .htaccess.

    Read more…: Checking for Keys and Looking Up Values in Arrays, Restricting Files in .htaccess
  • Basic Logging with PHP and Syntax Highlighting in Jekyll


    Basic Logging with PHP and Syntax Highlighting in Jekyll

    TIL how to do basic logging to CSV in PHP and how to highlight syntax in Jekyll.

    Read more…: Basic Logging with PHP and Syntax Highlighting in Jekyll
  • Unicode Conversions in PHP and Remote Git Repos


    Unicode Conversions in PHP and Remote Git Repos

    TIL how to convert unicode characters in PHP and I released my first personal project on Github.

    Read more…: Unicode Conversions in PHP and Remote Git Repos
  • CSS Inheritance, Datetime Conversions in PHP


    CSS Inheritance, Datetime Conversions in PHP

    TIL about date/time conversions in PHP and a lesson about automatic inheritance in CSS.

    Read more…: CSS Inheritance, Datetime Conversions in PHP
  • Photoshop Patterns, Homestead Provisioning, Composer Basics


    Photoshop Patterns, Homestead Provisioning, Composer Basics

    TIL two ways to tile patterns in Photoshop. One is manual and time consuming, the other is fast, easy, and less prone to error. I also re-learned some stuff about Homestead and Composer.

    Read more…: Photoshop Patterns, Homestead Provisioning, Composer Basics