Creating a blog

Why make a blog?

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

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;

public class GreetingController {

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

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