Skip to main content

Steps to creating an Android build using Android Studio

Each time a release is prepared for Google Play, the steps I work through are as follows.

 

Preparation to run a build

Check the Gradle build settings

Directed to the build.gradle file using the following file path

~/android/app/

The area of code in the build-gradle file to focus:

Drupal - where has the Google ID disappeared?

On most of the sites I'm running the Google analytics ID is appearing.  Therefore, tracking and capturing data.  All except one!

Discovering where Google ID and Google Tag ID were on a client's site... or not in this situation.  Yes that's correct, for some reason the analytics IDs aren't appearing.  Zip, zero... nothing.

Looking on this site, Google tag Manager positions the tag ID in the following lines of code

sudo docker ps and exec -it

Working in an AWS ec2 environment, my goal is to access the server via terminal.

I initially work to get the instance ID.  With this ID, I'm able to connect to the server.  When first accessing the environment on the server the steps I take are:

sudo docker ps

ps - refers to the 'process status'

Response

Drupal set the private folder

How to set the Private file path in Drupal using the following steps:

  • Create a private folder in the web root
  • Add a .htaccess file to the private folder
  • Update the settings.php file

 

Exporting a MySQL table to a file

Goal: I want to download a table list to a txt or csv file.

Initially, as a root user I tried using drush

drush sql-dump --tables-list=media_field_data > db-list.sql

Of course as a root user and Drush set-up not as root. failed with 

Command 'drush' not found, did you mean:

  command 'rush' from deb rush (1.8+dfsg-1.1)

My bad.

FontAwesome icons working in CKEditor 5

Using CK Editor 5, I needed to add instructions to a page that held FontAwesome (FA) icons.  Included in these instructions were a couple of FA icons.  Initially adding them was going to be resolved using Pseudo-elements.  Accordingly they would be applied as follows:

How to exclude a specific css file from aggregation

I've been working on a problem where a font and image tag aren't appearing on the front end of my website. I found that if I disable CSS aggregation, the YouTube play button symbol and overlay will appear. However, this slows down the page speed.

How to leverage CSS aggregation but set specific files to be excluded?

I'm wondering how to leverage CSS aggregation but exclude specific files. Here's an example of what my theme libraries file looks like:

Upgrading Drupal 9 to Drupal 10

 

Updating to Drupal 10

Begin by upgrading Drupal 9 to the latest version.  Currently that is 9.5.10

 

Subscribe to