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

Table of Contents

2018 Quarter One Reading List

September 1st, 2018

Table of Contents

Reading Ruby Code: ROM - DSLs

June 11th, 2017

After a long hiatus, this is the fourth part of my on-going series on code reading, the beginning can be found here

Reading Ruby Code: ROM - Exploration

March 12th, 2017

This is the third part of my on-going series on code reading, the beginning can be found here

Reading Ruby Code: ROM - orientation

February 12th, 2017

This is the second part of my on-going series on code reading, the first post can be found here.

Reading Ruby Code: ROM - preface

January 29th, 2017

If you are looking to become a better programmer, one of the most frequent pieces of advice is to “read code”. What is often meant by this is that you should explore and try to understand open-source projects, preferably successful and well-maintained ones. The thought being that you will pick up new ways of solving problems, structuring code, architecting apps, the list goes on. Moreover, reading code is a required skill whenever you switch jobs or want to contribute to a open-source project.

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