By marcom on Saturday, June 17, 2023
Towfiqu barbhuiya password image

How do passwords work on the web?

When you create an account on a website, you typically need to choose a password, which is can be a word or words, or a series alphanumeric or special characters.

Websites stores a representation of your password, which is called a hash, rather than storing the actual password in plain text. This is done to protect your password in case the website's database is compromised.

By marcom on Saturday, May 13, 2023
DALL-E developer in his desk with macos terminal decoding certificate files

A DER-encoded certificate can be transformed into an ASCII (Base64) encoded certificate using OpenSSL. A DER-encoded certificate cannot be read as plain text (unlike a PEM-encoded certificate). DER-encoded certificates typically have the file extensions.DER,.CRT, or.CER.

In the event that a PEM-encoded certificate also has the.CRT or.CER file extension, you can simply copy the file to a new name using the.PEM extension:

$ cp hostname.cer and hostname.pem

Use OpenSSL to convert a DER-encoded certificate to PEM:

By marcom on Tuesday, April 18, 2023
Home-Office Work Station

After setting up a local web development environment with XAMPP for MacOS, you should still secure your installation, even if you're the only one working on your computer.

By marcom on Wednesday, April 5, 2023
Glasses in front of monitor

I use Sequel Pro for administering databases on local development environment.

I encountered an error where the database import would reach half way and the importing process prompts an error  about the encoding being incorrect. Although the database file was encoded in UTF-8 and it seems that the autodetect failed and does not work.

There seems to be an encoding mismatch when exporting a MySQL database from a Linux environment and then imported into Sequel Pro on Mac.

By marcom on Sunday, March 26, 2023
Hebrews 11:6 Good News Bible

Faith should not only be upheld by true servants of God but also something they must strive to enhance.  Read more here: https://www.pasugo.com.ph/faith-an-essential-virtue-in-ones-relationship-with-god

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.