Creating a blog

Why make a blog?

https://www.barryclark.co/your-resume-wont-get-you-hired/

What I need in a blog:

My blog choice:

It looks like one of the most popular options is Jekyll which generates static files from mark-down

https://mmistakes.github.io/minimal-mistakes/docs/layouts/#home-page-layout

Running the blog:

To build:

bundle exec jekyll build
bundle exec jekyll serve
package com.example.restservice;

import java.util.concurrent.atomic.AtomicLong;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GreetingController {

	private static final String template = "Hello, %s!";
	private final AtomicLong counter = new AtomicLong();

	@GetMapping("/greeting")
	public Greeting greeting(@RequestParam(value = "name", defaultValue = "World") String name) {
		return new Greeting(counter.incrementAndGet(), String.format(template, name));
	}
}