Inspired by The Frugal Gamer, a comprehensive 1 listing of all possible styles and elements on my site.

Heading 1

Heading 2

Heading 3

Heading 4

And now, for the text content, which is the most important part of the blog.

Content

Paragraphs

I wanted to ask you a couple of questions while I have you here. I’m interested in selling my youngest daughter into slavery as sanctioned in Exodus 21:7. She’s a Georgetown sophomore, speaks fluent Italian, always cleared the table when it was her turn. What would a good price for her be? While thinking about that, can I ask another? My Chief of Staff Leo McGarry insists on working on the Sabbath. Exodus 35:2 clearly says he should be put to death. Am I morally obligated to kill him myself or is it okay to call the police? Here’s one that’s really important because we’ve got a lot of sports fans in this town: touching the skin of a dead pig makes one unclean. Leviticus 11:7. If they promise to wear gloves, can the Washington Redskins still play football? Can Notre Dame? Can West Point? Does the whole town really have to be together to stone my brother John for planting different crops side by side? Can I burn my mother in a small family gathering for wearing garments made from two different threads? Think about those questions, would you? One last thing: while you may be mistaking this for your monthly meeting of the Ignorant Tight-Ass Club, in this building, when the President stands, nobody sits.

Lists

  • Unordered List 1
  • Unordered List 2
    • Nested list 1
    • Nested list 2
  1. Ordered List 1
  2. Ordered List 2

In-line styles

Josh Lyman: I’m just sayin’ if you were in an accident, I wouldn’t stop for a beer.

Donna Moss: ( stands up ) If you were in an accident, I wouldn’t stop for red lights.

This is a link.

Block Styles

Quote

If you don’t want to run again, I respect that. But if you don’t run because you think it’s gonna be too hard or you think you’re gonna lose, well, God, Jed, I don’t even want to know you.

Tables

I don’t really use tables much, but here’s one anyway.

Column 1 Column 2 Column Blue
Left Text Centered 22.50

Code

Code is also rare, though it’s a big part of my “day life”. Here’s a bit of Elixir.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
defmodule D1P1 do
  def read_calibration(file_path) do
    File.read!(file_path)
    |> String.split("\n")
  end

  def find_numbers(line) do
    Regex.scan(~r/\d/, line)
    |> List.flatten()
  end

  def combine_first_and_last([]), do: "0"

  def combine_first_and_last(numbers) do
    List.first(numbers) <> List.last(numbers)
  end

  def sum_lines(lines) do
    lines
    |> Enum.map(fn line -> String.to_integer(line) end)
    |> Enum.reduce(0, fn x, acc -> x + acc end)
  end
end

This is ever evolving, and often fighting with my own plug-in that enables galleries.


  1. Actually, this is not comprehensive. It’s what I’ve remembered so far. There are others. ↩︎