some of my own thoughts and projects regarding those concepts as well
as many others.
-<div class="left-col">
-
## Post Topics
This blog is meant to cover a range of topics that I find incredibly
* Compiler Internals
* Systems Programming
-</div>
-
-<div class="right-col">
-
## Interesting Projects
Check out some of my projects on GitHub:
* Opts: A dead-simple options parsing library written in ANSI C.
* Parse-Utils: A collection of C++ classes for implementing recursive descent parsers.
-</div>
-
<div class="menu">
<span class='left'>
<a id='menuitem0' href='home.html'>home</a>
-<a id='menuitem1' href='projects.html'>projects</a>
-<a id='menuitem2' href='articles.html'>articles</a>
+<a id='menuitem1' href='articles.html'>articles</a>
+<a id='menuitem2' href='projects.html'>projects</a>
<a id='menuitem3' href='prototypes.html'>prototypes</a>
</span>
</div>
<div class="content">
- <div class="nav">
- <ul>
- <li><a href="" class="thisPage">link1</a></li>
- <li><a href="">link2</a></li>
- <li><a href="">link3</a></li>
- </ul>
- </div>
+
<div class="main">
<h1>Articles</h1>
<div class="menu">
<span class='left'>
<a id='menuitem0' href='home.html'>home</a>
-<a id='menuitem1' href='projects.html'>projects</a>
-<a id='menuitem2' href='articles.html'>articles</a>
+<a id='menuitem1' href='articles.html'>articles</a>
+<a id='menuitem2' href='projects.html'>projects</a>
<a id='menuitem3' href='prototypes.html'>prototypes</a>
</span>
</div>
<div class="content">
- <div class="nav">
- <ul>
- <li><a href="" class="thisPage">link1</a></li>
- <li><a href="">link2</a></li>
- <li><a href="">link3</a></li>
- </ul>
- </div>
+
<div class="main">
<h1>Home</h1>
<p>Welcome! I am Michael D. Lowis and this is my personal web page. I am an Embedded Software Engineer, currently employed at Gentex Corporation in Zeeland, MI. I have a keen interest in the concepts of Software Craftsmanship and clean software design. This site is meant to showcase some of my own thoughts and projects regarding those concepts as well as many others.</p>
-<div class="left-col">
-
-## Post Topics
-
-This blog is meant to cover a range of topics that I find incredibly
-interesting. Below is a subset of the topics that I intend to cover:
-
-* Programming Language Design
-* Software Construction Tools
-* Compiler Internals
-* Systems Programming
-
-</div>
-<div class="right-col">
-
-## Interesting Projects
-
-Check out some of my projects on GitHub:
-
-* Data Structures: A collection of classic data structures written in ANSI C.
-* Opts: A dead-simple options parsing library written in ANSI C.
-* Parse-Utils: A collection of C++ classes for implementing recursive descent parsers.
-
-</div>
+<h2>Post Topics</h2>
+<p>This blog is meant to cover a range of topics that I find incredibly interesting. Below is a subset of the topics that I intend to cover:</p>
+<ul>
+<li>
+Programming Language Design
+</li><li>
+Software Construction Tools
+</li><li>
+Compiler Internals
+</li><li>
+Systems Programming
+</li>
+</ul>
+<h2>Interesting Projects</h2>
+<p>Check out some of my projects on GitHub:</p>
+<ul>
+<li>
+Data Structures: A collection of classic data structures written in ANSI C.
+</li><li>
+Opts: A dead-simple options parsing library written in ANSI C.
+</li><li>
+Parse-Utils: A collection of C++ classes for implementing recursive descent parsers.
+</li>
+</ul>
</div>
<div class="menu">
<span class='left'>
<a id='menuitem0' href='home.html'>home</a>
-<a id='menuitem1' href='projects.html'>projects</a>
-<a id='menuitem2' href='articles.html'>articles</a>
+<a id='menuitem1' href='articles.html'>articles</a>
+<a id='menuitem2' href='projects.html'>projects</a>
<a id='menuitem3' href='prototypes.html'>prototypes</a>
</span>
</div>
<div class="content">
- <div class="nav">
- <ul>
- <li><a href="" class="thisPage">link1</a></li>
- <li><a href="">link2</a></li>
- <li><a href="">link3</a></li>
- </ul>
- </div>
+
<div class="main">
<h1>Projects</h1>
<div class="menu">
<span class='left'>
<a id='menuitem0' href='home.html'>home</a>
-<a id='menuitem1' href='projects.html'>projects</a>
-<a id='menuitem2' href='articles.html'>articles</a>
+<a id='menuitem1' href='articles.html'>articles</a>
+<a id='menuitem2' href='projects.html'>projects</a>
<a id='menuitem3' href='prototypes.html'>prototypes</a>
</span>
</div>
<div class="content">
- <div class="nav">
- <ul>
- <li><a href="" class="thisPage">link1</a></li>
- <li><a href="">link2</a></li>
- <li><a href="">link3</a></li>
- </ul>
- </div>
+
<div class="main">
<h1>Prototypes</h1>
</div>
<div class="content">
- <div class="nav">
- <ul>
- <li><a href="" class="thisPage">link1</a></li>
- <li><a href="">link2</a></li>
- <li><a href="">link3</a></li>
- </ul>
- </div>
+
<div class="main">
<%= @contents %>
def getmenu()
menu = "<span class='left'>\n"
- Dir.glob('pages/*.md').each_with_index do |e,idx|
+ Dir.glob('pages/*.md').sort.each_with_index do |e,idx|
page = e.match(/\d+-(.+).md/)[1]
menu += "<a id='menuitem#{idx}' href='#{page}.html'>#{page}</a>\n"
end
puts "#{md} -> #{html}"
Page.new(md).save(html)
end
-
-# Generate Home Page
-# Generate Articles Page
-# Generate Projects Page
-# Generate Prototypes Page
\ No newline at end of file