Skip to main content
17
results
Andrew Fletcher
In Vim, following is an outline of the vi(m) functions you can utilise whilst in command mode - yes they are case sensitive action outcome a change to insert mode (after cursor) A change to insert mode (at end of line) dd delete one line G go to end of the file 1G go to top of the file i change to insert mode (before cursor) J merge next line with this one p paste deleted or yanked text after cursor P paste deleted or yanked text before cursor r replace one...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file. touch .gitignoreIn the .gitignore file add the following # Hide the DS_Store files **/.DS_StoreHowever, if it's already there, then in Terminal you will need to write: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo git commit -m "Remove .DS_Store" git push origin...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I getting Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24  Problem solving Opening the directory in VS Code, if I run the command  php -vThe response I'm getting is PHP 8.1.2 (cli) (built: Jan 21 2022 04:47:26) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2,...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...