Michael Cordell's Blog

Bulk Org-Mode to Github Flavored Markdown

April 14th, 2019

I wanted to move my raw notes for blog post entries from org-mode into a markdown format suitable for ingestion by Jekyll. While you could do single exports of each org file, and then copy-paste as posts are written, this seemed inefficient and difficult to make after-conversion changes. So, I set about a way to convert a set of org files into a corresponding set of markdown files. My initial approach was to use elisp to bulk script the org-mode export. I then wrapped this in a shell script which moved the files to the destination folder. However, I ended up settling on an approach of using pandoc to convert the files wrapped in a shell script. This appears to be the superior approach since it only requires one script file and less variable maintenance. I’ll leave both approaches in the post on the off chance the former works better for someone.

2018 Quarter Two Reading List

September 30th, 2018

2018 Quarter One Reading List

September 1st, 2018

Reading Ruby Code: ROM - DSLs

June 11th, 2017

The fourth part of my series on code reading, where we explore the Ruby library ROM. In this post we explore the ways that ROM uses custom DSLs to create intuitive code.

Reading Ruby Code: ROM - Exploration

March 12th, 2017

The third part of my series on code reading, where we explore the Ruby library ROM. This post focuses on what can be gained from a deeper exploration of a code base.

Reading Ruby Code: ROM - orientation

February 12th, 2017

The second part of my series on code reading, where we explore the Ruby library ROM. We begin our journey into ROM by orienting ourselves to the codebase. Where does one start when first trying to understand a novel codebase?

Reading Ruby Code: ROM - preface

January 29th, 2017

The introduction to of my series on code reading, where we explore the Ruby library ROM. Here we discuss the importance and utility of code reading for software developers. There is also specific setup instructions for reading and interacting with a Ruby library.

Customizing phoenix generation templates

July 31st, 2016

When using a framework’s code generators, its often useful to be able to tweak the code that is generated each time. In particular, the templates that are used to generate the HTML often need a custom structure to match your styling or fronted CSS framework.

IEx history

July 31st, 2016

In elixir, IEx lacks a history in the way that the interactive sheels in ruby (pry and irb) have. In order to get this working, erlang-history must be installed.

Tufte One Day Course Retrospective

February 14th, 2016

Earlier this week, I had the distinct pleasure of attending Edward Tufte’s one-day course. For those unfamiliar with Tufte, he is a master in data visualization and presentation, and one of the preeminent thinkers in the field. I had been referred to Tufte’s work but my mentor and have read one of his books, however seeing him in person really brings his work to life. Tufte’s 25 years as a teacher shines through, as he presents a dense amount of information in a compressed time frame. Moreover, he comes off as genuinely sincere and has none of the trappings of a self-help snake-oil salesman or the business marketing guru who is trying to teach you that 25 secrets to success. Rather the course, is a treatise on clearly communicating information, especially high density high data information. What struck me was the way that Tufte’s presentation was an in person demonstration of what he was teaching.

Older Newer