Main pages
- Home/Blog
- About
- Contact
- Laravel Packages
- Laravel Blog Package (blogetc)
- Programming Tricks
- Resources
- Books/courses (reviews and recommendations)
Blog posts
- Blog post article: How to set up Tailwind CSS with gridsome
- Blog post article: Best headsets with noise cancelling microphone: Logitech Zone Wired vs Jabra Evolve2 40
- Blog post article: The best ways to learn advanced Typescript (that I've found)
- Blog post article: Guide to setting up Vue 3 (with example snippets and configuration)
- Blog post article: JS Browser Dump to help debug when testing
- Blog post article: Guide to setting up a markdown blog with Gridsome
- Blog post article: How to format JS dates like PHP
- Blog post article: Why you should use window.matchMedia when checking for window resizes in Javascript
- Blog post article: Vue-Test-Utils Guide: Things You Might Not Know About Vue-Test-Utils
- Blog post article: Ultimate Introduction Guide to Deno
- Blog post article: Laravel Naming Conventions
- Blog post article: Laravel features you may not know about
- Blog post article: Suspending in Bash: Quickly switch between running processes in bash
- Blog post article: The 5 Principes of SOLID, easily explained using PHP
- Blog post article: The Composite Design Pattern Explained (with PHP)
- Blog post article: Strategy Design Pattern in PHP - Explained!
- Blog post article: The Chain-of-responsibility programming design pattern (explained using PHP)
- Blog post article: The Adapter Design Pattern, Explained With PHP
- Blog post article: The Decorator Design Pattern in PHP (with easy to follow example)
- Blog post article: PHP Observer Design Pattern Explained (Easy to understand)
- Blog post article: The Front Controller Design Pattern (explained using PHP)
- Blog post article: Specification Design Pattern in PHP - Explained!
- Blog post article: The Repository Pattern in PHP (and Laravel)
- Blog post article: Array Destructuring: The Useful PHP 7 Feature You (maybe) Aren't Using
- Blog post article: Why You Should Never Host Your Own Videos, And What 3rd Party Video Hosting Services Are The Best To Use
- Blog post article: How to create a new MySQL (MariaDB) Database, user, and grant it privileges
- Blog post article: Beginners Guide to Tabs in Vim
- Blog post article: How to sort lines of text from within vim (super easy!)
- Blog post article: Vim tip: The best line number config (current + relative line numbers)
- Blog post article: Laravel + SQLite - works in php artisan tinker, but gives 'unable to open db file' - FIXED
- Blog post article: Should you disable Vim's swap files (.swp) being created?
- Blog post article: Linux Command Cheatsheet: Disk usage and filesize cheatsheet
- Blog post article: Vimattack: How to get someone's database credentials while they are editing config files on a live server
- Blog post article: Bash Parameter Expansions (!$, etc)
- Blog post article: Why You Should Use SPL Exceptions in PHP, for Better Exception Handling
- Blog post article: Exporting data with mysqldump
- Blog post article: Essential keyboard shortcuts you NEED to know when using PHP Storm
- Blog post article: PHP Template Method Pattern Explained (its easy!)
- Blog post article: How to use clip-path in CSS (with examples)
- Blog post article: The Service Locator Design Pattern in PHP
- Blog post article: How to add a gradient overlay to a background image using just CSS and HTML
Smaller older articles
- wordpress Wordpress Docker (docker-compose.yml) guided tutorial
- git How to add items/changes to the previous Git commit
- git Git Reflog guide - How to view a full history log of all recent changes to a Git repo
- git How to point an existing local Git repo to a Github/Giblab repository
- javascript Set up babel loader with Webpack guide (how to use babel loader)
- typescript Guide to setting up Typescript with Webpack
- javascript How to set up style loader and css loader with webpack, to include CSS style files when building your JS app
- javascript Basic webpack setup with index.html automatically generated to dist directory
- php What are PHP's PSRs?
- php How to view all installed PHP modules?
- vue3 Vue 3 composition API guide tutorial with snippet examples
- vue3 Vue 3 - setting up global Sass/SCSS variables
- deno Using Packages from GitHub in Deno
- deno How to convert from NPM/Node to Deno
- deno Deno CLI cheatsheet
- deno Writing Tests in Deno
- deno How to use Deno with Docker
- php What is the difference between empty(), isset(), != null, is_null() in PHP
- laravel Why should you update APP_URL from from http://localhost?
- laravel What kind of database field type should you (normally) use for foreign keys?
- php When is __destruct called in PHP?
- general-webdev-and-programming-stuff What is YAGNI?
- php What is the spaceship operator (<=>) in PHP?
- apache-htaccess What is WordPress default Apache .htaccess rules?
- laravel What is the loop variable in a @foreach loop in Blade?
- php What is the null coalescing operator in PHP7?
- javascript What is the difference between var, let and const in Javascript?
- general-webdev-and-programming-stuff What is the difference between integration and unit tests?
- javascript What is the difference between ( for ... in ) and ( for ... of ) in javascript?
- apache-htaccess How to Force www or non-www in htaccess
- php What is snake case?
- php What is camel case?
- php What are the SPL Iterators in PHP?
- php What does PEAR stand for?
- php What are the SPL data structures
- php What are the predefined variables in PHP?
- php What are the main error types in PHP
- javascript What are Template literals (Template strings) in JS?
- laravel What are route patterns in Laravel?
- php What are generators in PHP, and how do they compare to arrays?
- laravel What are macros in Laravel?
- apache-htaccess What are Apache MPMs?
- apache-htaccess Set PHP config Variables (like ini_set) with .htaccess
- apache-htaccess Remove trailing slash (redirect to remove trailing slash) in .htaccess
- general-webdev-and-programming-stuff Push vs Pop vs Shift vs Unshift
- apache-htaccess Point all requests to one PHP file
- php PHP Date commonly used formats
- laravel How to use subdomains as parameters in your routes (or in your web.php file)
- laravel How to undelete a soft deleted Eloquent row?
- php How to use Anonymous classes in PHP 7?
- javascript How to split a string into an array, in JS
- php How to sort an array of dates and times?
- javascript How to sort an array in javascript?
- laravel How to show (or log) all SQL queries executed by Laravel
- laravel How to show a specific view file for certain error codes?
- apache-htaccess How to set up custom error pages in .htaccess for your Apache server (ErrorDocument)
- apache-htaccess How to set up an alias to map one directory to another destination
- apache-htaccess How to set up an alias to map one directory to another destination
- apache-htaccess How to set the timezone to UTC in .htaccess
- apache-htaccess How to set the Expires header in .htaccess
- php How to set infinite execution time in a PHP script
- apache-htaccess How to set environmental variables in your .htaccess file
- apache-htaccess How to set custom HTTP headers in Apache (by editing .htaccess)
- laravel How to select all rows for a certain month (or day, year or time), using Eloquent
- laravel How to see all of the options for an artisan command?
- laravel How to run an artisan command from a controller
- laravel How to return an item in Eloquent, or throw a ModelNotFoundException exception if it isn't found?
- wordpress How to review blog posts (written by other users) before they get published on your WordPress blog?
- php How to reverse htmlentities() / What is the opposite of htmlentities()?
- laravel How to return JSON data to the user in Laravel?
- apache-htaccess How to redirect your website to a new domain/location in .htaccess
- apache-htaccess How to remove .php from the end of URLs with .htaccess
- php How to query mysql using PDO in PHP?
- laravel How to provide a default model object for relationships?
- laravel How to prevent Eloquent from adding created_at or updated_at timestamps?
- php How to pick what array_intersect function to use in PHP?
- php How to output (echo/print) content in PHP
- laravel How to order a Laravel hasMany relationship?
- laravel How to namespace a Laravel route group?
- php How to manually write your own pagination in PHP
- laravel How to make multiple routes share the same URL structure or URL parameters
- apache-htaccess How to make Apache force download of files (in .htaccess)
- centos-and-linux-stuff How to install jpegtran for Linux CentOS
- centos-and-linux-stuff How to install and use jpegoptim on Linux CentOS
- centos-and-linux-stuff How to install and use optipng on Linux CentOS
- laravel How to increment a value in the database
- apache-htaccess How to have a whitelist of IP addresses that can access files in .htaccess
- apache-htaccess How to hide the server signature (hide Apache info) from HTTP headers with .htaccess
- laravel How to get the first row that matches some where queries, or create it if it doesn't exist (in Laravel's Eloquent)?
- laravel How to generate an array for a dropdown (with ['key' => 'value']) suitable for a dropdown, from a Laravel collection of Eloquent objects?
- laravel How to group a SQL statement in brackets/parenthesis
- laravel How to get a route to directly show a view?
- laravel How to get table column names from a database table in Eloquent?
- apache-htaccess How to force SSL in Apache's .htaccess?
- apache-htaccess How to force non www in htaccess
- apache-htaccess How to force gzip compression in Apache with .htaccess
- laravel How to fix the MySQL related 'Specified key was too long error' error in Laravel
- php How to find the intersection (same values) from two arrays?
- laravel How to find the average value of items in a Laravel Collection?
- php How to find out which php.ini file PHP is using?
- javascript How to find the index of a value in an array in JS?
- laravel How to find out what version of Laravel you are using?
- laravel How to find an item by Primary Key in Eloquent, or throw a ModelNotFoundException exception if it isn't found?
- php How does PHP compare objects?
- php How to Extract Query String (from a URL) Into an Associative Array in PHP
- laravel How to exclude URLs from the Laravel CSRF protection?
- apache-htaccess How to enable the rewrite engine in .htaccess?
- laravel How to eager load multiple levels of relationships in Eloquent?
- laravel How to do comments in Blade files?
- apache-htaccess How to disable file hotlinking in Apache with .htaccess
- php How to destroy or remove a cookie in PHP
- javascript How to convert between types in JS?
- php How to convert a string to an array of it's characters in PHP?
- php How to check if two strings are anagrams in PHP?
- javascript How to check if an object or variable is an array, in JS?
- laravel How to check if a user is logged in, inside a blade file?
- javascript How to check if a string contains a certain substring?
- laravel How to check if a relation was loaded on an Eloquent model already?
- php How to check if a object has a static variable defined?
- laravel How to check if a (blade) view file exists
- laravel How to change the order that Laravel migrations happen?
- apache-htaccess How to block multiple IP addresses in .htaccess
- apache-htaccess How to block IPv6 IP addresses in .htaccess
- apache-htaccess How to block IP addresses in Apache by using regular expressions (regex) in .htaccess
- apache-htaccess How to block an IP address in .htaccess
- apache-htaccess How to block access to certain referrers in Apache using .htaccess
- composer How to autoload helper files with composer?
- apache-htaccess How to add the default charset to UTF-8 in .htaccess
- laravel How to add the CSRF (Cross-site request forgery) token in Laravel?
- laravel How to add a name prefix to all routes in a group?
- laravel How to access the Laravel's route parameters outside of the controller?
- php How do you access the php://input stream?
- php How could you include a custom function for every single time PHP runs?
- php An overview of every main PHP array function
- php How do you launch the PHP interactive shell?
- laravel How do Invokable Controllers work in Laravel?
- php How can you check if a variable is alphanum (alphanumeric, letters and numbers only) in PHP?
- apache-htaccess Force trailing slash (redirect if no trailing slash exists) in .htaccess
- laravel A list of operators on Eloquent's where() method
- apache-htaccess 301 Redirect a single URL in .htaccess to a new location