By marcom on Tuesday, April 11, 2023
Truly, this only I found: That God made man upright, But they have sought many many schemes

In true Christianity, even pain has meaning and purpose on certain circumstances. Read more here: https://www.pasugo.com.ph/if-god-exists-why-is-there-suffering

By marcom on Thursday, February 4, 2021
XAMPP is an easy to install Apache distribution containing MariaDB, PHP and Perl.

XAMPP  is a popular open-source software stack that provides a development environment for web applications and is completely free. The XAMPP open source package has been set up to be incredibly easy to install and to use. It includes an Apache web server containing MySQL or MariaDB and PHP (including Perl), which is the stack you primarily need for web development.

By marcom on Sunday, March 26, 2023
Deuteronomy 28:8 Good News Bible

During these trying times, one can still hope for a brighter future - success in life, work or business. However, who are these reserved for? Read more here: https://www.pasugo.com.ph/how-can-one-attain-gods-blessings

By marcom on Friday, January 22, 2021
Drupal
  1. Open the terminal app (or the terminal in VS Code) and change to the root site directory of the site you are updating
    cd [path/to/site/root/directory]
  2. Switch to the main branch and fetch the latest changes
    git checkout master
    git fetch --all
    git pull
  3. Create a new branch from the main branch for the Drupal core update
    git checkout -b update/core-[version]
  4. Upda
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 https://username@github.com/example/repo.git

     

  3. Enter your GitHub password when prompted

By marcom on Sunday, March 12, 2023
Amazon packages

Publishing a PHP library to Packagist.org 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.