Geek Gathering

All things Geek and Beautiful.   My day job is portfolio management of Cyber, Cloud and Infrastructure Systems teams.  This section will have random posts about any cyber or IT topics, as well as program and portfolio management.   All my posts reflect my personal opinion and best knowledge at the time.

Geek Gathering

Drupal 10: Creating interactive map using Leaflet

WORK IN PROGRESS

I'm hoping to get a map page added to the blog that would allow me to provide a user experience that displays a number of locations, and clicking on that location would navigate to the blog post about that.  Most sites seem to recommend the 'Leaflet module" which seemed to do exactly that.   Sounds relatively easy!  Install the module, and off we go!

However, it has proven a lot more confusing that I thought it would be; here's what I learned.  Again, I'm using Drupal version 10.

Geek Gathering

Gaming: my favourites from 2023

 

A purely self-indulgent post :) 

1 Final Fantasy XIV

My most favourite game.   After the WoW (World of Warcraft) universe - where I had logged over 10 years of playing - changed from being a great, friendly and collaborative place to a nasty, uncouth, homophobic and gender unfriendly environment and I finally gave up on it,  and switched to Final Fantasy XIV.  

Geek Gathering

Generative AI: creating images with Stable Diffusion using a LoRA (TXT2IMG)

If you have created or found a LoRA (see previous article), we can use Stable Diffusion's image generation from a text prompt ("TXT2IMG") to make awesomeness. 

First, move the LoRA file to the Stable Diffusion folder.  If you trained the LoRA yourself, take the output from the last epoch, which is the one that doesn't have the '000001' (for the epoch number) in the file name, and move it to the stable-diffusion/models/Lora folder.

Geek Gathering

Generative AI: Beginners Guide on how to train a LoRA for Stable Diffusion using Kohya

Big shout-out to my partner: who provided the experience on what settings work in which cases as they have far more patience than I do to experiment:) 

I wanted to try to create a LoRA that would help generate images that looked like a medieval city.  I had lots of pictures from our trips to Europe, so used those.  Make sure you avoid any copyright infractions with your selection of images to train on!!

Geek Gathering

Drupal 10: How to create your main menu based on your categories

To create a main menu based on your content categories ("tags") here are the steps to take:

  • Define the categories you want to use  ("tags")
  • Tag your articles ('posts')
  • Add a menu item entry for the Tag to the main navigation

Drupal has the option to automatically create a page that lists all your posts with a specific tag; all you have to do is define the tag.  As far as I can tell,  'Tags' and 'Terms' are the same thing in Drupal... and I'm used to calling it 'categories' so please for now assume it all means the same.

Geek Gathering

How to study for the CISSP exam

If you are wondering about the best approach to study for your CISSP exam, here are some helpful hints.  I passed the CISSP exam this past December (2023).

I studied for about a year and spent the last few weeks before the exam very focused.  

Geek Gathering

Drupal 10: Getting started: basic guide to create a blog post

Out of the box, Drupal will have two types of content you can easily add to your site:

  • Articles, which are the most suitable for your blog posts
  • Basic Page, which you can use for pages that you create one time and do not have to change much.  Note that 'static' in this case does not mean you cannot change it

     

Geek Gathering

Drupal 10: Novice Guide - using content types

I am a recent Wordpress refuge and have tried to figure out how Drupal works.  Here are some things I've learned.

Drupal uses content types where you can define three things: