All Articles

How to erase or wipe data off a device in Linux so its previous contents should not be recoverable.
Query a YAD7 / Drupal-7 database for entities with an example for nodes.

How to make a Y callback plugin for YAD7 Drupal-7.

How to apply database updates in Drupal 7 / YAD7 databases using Drush or Drupal7 admin interface.
Git: Add remote
10 / 2021 - hugh

Add a remote to a Git repository

How to make a bootable USB stick from an ISO file using the Linux command-line

Use tar to create and extract compressed .tar.gz archive files

Y: Form Layout overrides
4 / 2021 - hugh

How to override the final presentation / formatting of a form using a Layout.

Y: Making a Voom plugin
4 / 2021 - hugh

How to create and invoke a Voom plugin.

Most of the available guides show how to increase the swap filesize in Linux, by building a larger file initialized to zeros.

This shows how to reduce the existing swap file without writing a whole new file with zeros.

Some concepts to implement MYSQL security in a LEMP server.

Periodically, you will scratch your head and ask the perpetual questions: Am I using Bionic Beaver, Xenial Xebec, Risky Rhesus? Ubuntu? Debian? Which kernel? OMG?

This article tells how to figure out the parameters of your Linux system.

Sometimes, you want a menu / routing item as a placeholder and to have it fill in the sub-items automatically. This is how to do that.

Y assumes YAML files will be eponymous by default. Occasionally, it makes more sense to put multiple config definitions in one non-eponymous file.

Non-eponymous config files are designated using the _meta meta information block.

The New York Times (nytimes) hides its digital crossword puzzles from its digital subscribers to drive people to subscribe separately to their crossword puzzle services. Here is how to find the current crossword puzzles from the archive for digital subscribers. (Currently, only the past week is "current".)

Y Layouts let you define different layouts for different themes. Here is the order in which layout definitions are discovered.

How to send mail securely using Mailgun SMTP email services (SMTP) using straight PHP in Drupal 7 over the HTTP transport protocol.

In order to use public-key authentication for logging into systems, executing remote commands such as rsync and git, you must first generate a public:private key pair. Here is how....

Linux: Install ssh server
12 / 2019 - hugh
Here is a summary of the steps to install a Open-ssh server on a Linux machine.
The Linux sudo command elevates privilege to root for a single command. By default, sudo verifies user identity by asking for your password. Here is how to disable repetitive password typing when using the sudo command.
Standard Linux keypad behavior is for the home key to go to the beginning of the line and shift-home to make a seven (7). Here is a method to make the numpad keypad keys mark to text as in Microsoft applications.
Drush invokes the PHP command-line interpreter (CLI) rather than the FPM / CGI version that usually handles Drupal 7 HTTPS requests. How do you debug a Drush command in your development environment using the PHPstorm IDE and Xdebug?

How to install Drupal and YAD7 modules using widely accepted Drupal site-management methods.

How to use Git to install a YAD7 / Drupal 7 module from its source git repository.

How to use the Drush command-line tool to install a Drupal / YAD7 module.

Y: Installing
5 / 2019 - hugh

Y is a Drupal 7 module and so it is installed like most Drupal 7 modules. There are many guides on how to install a Drupal 7 module.

Y differs from other modules in that it makes heavy use of the PHP YAML extension. This extension is not included in many PHP systems (including Pantheon Drupal 7 sites), so a little extra work is needed to install it.

Y: Triplets
4 / 2019 - hugh

Triplets are stored in conventional YAML files. You will need to create a Drupal 7 / YAD7 Y module and put the YAML files in that module.

Fortunately, this process is straightforward.

Y: Voom
4 / 2019 - hugh

Voom is a data templating syntax. It allows logical elements to be embedded with conventional key:value pairs.

Y: Triplets overview
4 / 2019 - hugh

Triplets are a human-comprehensible way to organize data. With Triplets, you have a main grouping, then pots of sub-information each with its own unique ID.

Y: Data templating overview
4 / 2019 - hugh

Data templating is a powerful system to create data structures using templates of the desired output containing embedded logic. Data-templating is programming-language agnostic.

Y: Why
4 / 2019 - hugh

The rationale underlying Y.

And, why Y is implemented in Drupal 7.

hrk-toggle is a non-javascript flex-based CSS library that implements multi-level responsive menus and expandable tree-structures in HTML with no dependencies.

Y / YAML configuration is a Swiss-army-knife of functionality. It implements a triplet-based flat-file configuration system and data templating to offer extraordinarily efficient tools for building YAD7 & Drupal 7 sites.

Drupal-7: UK Flex theme
3 / 2019 - hugh

UK Flex is a flexbox-based responsive Drupal theme using the UI Kit CSS and Javascript framework and the hrk-toggle CSS tree library. It does not use Bootstrap nor Jquery.

Once you have a Quickbooks Webconnector communicating, and the Quickbooks XML transferring data to and fro, then, you need some entities to put the data into. Beancount provides this entity and related bundles and the framework for dealing with them.

Some things just didn't seem to work right with Feeds Tamper and its related plugins, so some basic functionality is in this module.

Quickbooks XML connects to the Quickbooks Webconnector module and provides exchange (input / output) of Quickbooks data with Drupal.

The Quickbooks Webconnector module (QBWC) allows standalone computers running Quickbooks or Quickbooks Point of Sale (POS) to use the Quickbooks Webconnector to exchange data with a Drupal site.

$0.02: I prefer Drupal 7
3 / 2019 - hugh

Drupal underwent a dramatic redesign when moving to Version 8. Overall, the emphasis went towards enterprise-level projects and an assumption that a website would have an army of systems people behind its initiation, development, and maintenance.

Drupal-7: Amount module
3 / 2019 - hugh

The Drupal Amount module leverages modern 64-bit integer processor platforms providing a general-purpose Drupal field with 10E-6 precision and integrated units.

YAD7 & Drupal 7
3 / 2019 - hugh

YAD7 is a community-sponsored answer to The Drupal Organization's announcement of End-of-Life for Drupal 7. Because Drupal is open-source, the community has the opportunity to decide whether to go along with the main-line branch (currently in version 8 and moving towards version 9), or whether to pursue a different course. Given that there are about a million Drupal 7 sites, and that the migration path to Drupal 8 involves a profound redesign of existing sites, the Drupal community needs a more compatible migration path forward.