By marcom on Monday, January 18, 2021
Code everywhere

Updating Drupal 7 can be a challenging task. As a developer, using a version control system, like Git, helps me keep my sanity and also leverage it by creating and applying the patches rather than manually removing/adding files. This greatly helps especially if you're managing multiple Drupal 7 sites. 

Drupal 7 patch files

Download one of the patch files below to update your Drupal 7 core from one version to the next.

By marcom on Friday, March 17, 2023
A figurine of an oktokat in the center, in the background a laptop with the main page of the GitHub open.

You can access a Git repository using either SSH or HTTPS and can change to either one depending on your use case.

To check which repository your project is connected to, you can use the following command:

$ git remote -v

To change your project's repository, use the following command:

By marcom on Friday, March 17, 2023
Wall of mail envelopes

Cyberimpact is a Canadian email marketing software built for CASL. It allows you to create newsletters in minutes with its robust template manager. You can can also create your free account!

We've created the Cyberimpact mailing service in Drupal to allow content editors to send their content to subscribers in real-time or in an advanced schedule.

By marcom on Thursday, March 16, 2023
Snowy mountains

To clone a GitHub repository with a different user:

  1. Open your terminal or command prompt and navigate to the directory where you want to clone the repository.

  2. If your GitHub username is "username", simply run:

    $ git clone


  3. Enter your GitHub password when prompted

By marcom on Sunday, March 12, 2023
Amazon packages

Publishing a PHP library to is a straightforward process that involves a few simple steps. An existing Github repository that is public is required (although private is also available) in order to submit to Packagist.

By marcom on Tuesday, February 14, 2023
grayscale photography of person holding coin or token

In Drupal 9, you can create custom tokens using the Token API for your custom module. The Token API provides a central API for modules to use to provide tokens. Tokens are placed into text by using the [type:token] syntax, where type is the machine-readable name of the token type, and token is the machine-readable name of the token within the type.

By marcom on Monday, March 13, 2023
Linux (Ubuntu) bash terminal in Windows subsystem for Linux (WSL)

You can check the version of SSH (Secure Shell) on an Ubuntu server by running the following command in the terminal:

$ ssh -V

This will display the version of the SSH client installed on your system. If you want to check the version of the SSH server, you can connect to the server using SSH and run the same command.

Alternatively, you can check the version of the OpenSSH package installed on your Ubuntu server by running the following command:

By marcom on Tuesday, March 7, 2023
Pinned locations on map of globe.

This issue persists on Ionic 6 and React Leftlet 4. To solve it, call the resize event when the page has finished rendering and animating.

By marcom on Friday, March 10, 2023
Early morning hike near Apache Junction AZ

When you encounter a 404 error not found in your Ionic PWA build for Angular or React, it means that the server is unable to locate the requested file or resource. To fix this, you need to include an .htaccess in your Ionic project and add the following directives.

By marcom on Friday, March 10, 2023
Pebble stacks

To include an .htaccess file in your Ionic PWA build, you need to place the file in the public directory of your project.

  1. Create a file named .htaccess in the public directory of your project.

  2. Build your project using the ionic build command. This will copy the .htaccess file to the build directory.

By marcom on Monday, March 6, 2023
Brewing coffee

HomeBrew is a command line package manager and has native support for macOS and is an essential tool for any web developer. HomeBrew is intended for advanced users that like to have a broad range of command line utilities available.

If you haven’t installed HomeBrew before, install the Command Line tools first.

By marcom on Friday, February 17, 2023
MacBook Air beside green leaf

Working with Git will make it more efficient using SSH keys, since you do not have to constantly enter in your username and password or personal access token. Make sure your Git site URL is set to use the SSH URL for your repo.