mikeski.net development blog

Welcome

  • Spring Initializr

    Spring Initializr In this article we will use the online Spring Initializr from https://start.spring.io/ to generate a simple Spring Boot app. Requirements We’ll need Java and Maven installed and on out path.

    Read more…
  • Spring Boot Batch

    Spring Boot’s Batch process can be very useful for lots of things. With the flexibility that Spring provides we can make it do anything from ETL to payment processing to planned maintainence.

    Read more…
  • Hugo QuickStart

    I’m using hugo installed with brew on a Mac: brew install hugo hugo version Hugo Static Site Generator v0.59.1/extended darwin/amd64 BuildDate: unknown Create site First, we’ll create the site and install a theme

    Read more…
  • Hugo Extend Theme

    Now we have a site up and running with one page, and we want to add another page. We do this by running: hugo new development/sites/hugo-extend-theme.md This creates another page in our development section, and we can go to the site to see both pages listed:

    Read more…
  • Hugo Taxonomy

    Now that we have a Hugo site setup, we want to define a Taxonomy so that we can categorize pages. For example, we will have a series category in our taxonomy.

    Read more…
  • Hugo Landing Page

    We have a hugo site, but rather than show a list of recent articles on the “landing” page (or the root page) we will create a landing page with some links on it with Hugo.

    Read more…
  • Hugo Add Image

    Now, let’s look at how to add some images to our blog posts Adding images and other static content To add images or other static content (pdf files for download, or anything else), we just put them in our /static/ folder.

    Read more…
  • Hugo Add Menu Item

    After adding a landing page to our hugo site, we’d like to have a Home link on the main menu. Adding non-content links To add a non-content link to a menu, we can add a menu entry to the config file (config.

    Read more…
  • Convert string to enum in Typescript

    Typescript is a typing system to turn Javascript into a typed language during development. This can be a lifesaver if we can get over the learning curve. Uses of enums One of the things Typescript gives us is an enum, which allows us to define a set of named constant values.

    Read more…
  • Bash - run command until success

    How to run a command repeatedly until it succeeds: passwd while [ $? -ne 0 ]; do !!; done The !! is a shortcut to the last command run. Run the command once and then the while loop will execute until the command succeeds (i.

    Read more…