Skip to content

Instantly share code, notes, and snippets.

@eddieh
eddieh / develop-an-emacs-major-mode.org
Last active January 3, 2024 15:36
Develop an Emacs Major Mode

Develop an Emacs Major Mode

Introduction

Developing an Emacs major mode is perhaps unnecessarily complex, but it offers unmatched flexibility and control.

@eddieh
eddieh / org-mode-test.org
Last active June 4, 2021 22:42
Org-mode example doc that tests GitHub support

Org-mode Test Document

Heading Level

This is either the heading or the title when interpreted by GitHub Gist. I don’t recall which. Donec sed odio operae, eu vulputate felis rhoncus. Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae. Quae vero auctorem tractata ab fiducia dicuntur. Quisque placerat facilisis egestas cillum dolore. Paullum deliquit, ponderibus modulisque suis ratio utitur. Plura mihi bona sunt,

@eddieh
eddieh / style.adoc
Created March 31, 2016 01:22
Universal Code Style

Universal Code Style

There are three important principles related to coding style. All three principals should be followed.

First, follow the base guidlines for whatever language you happen to be working in. Usually this means you try to make your code look like

@eddieh
eddieh / libevent-v-libuv.md
Last active March 7, 2024 20:33
libevent vs libuv

libevent vs libuv

Comparing libevent and libuv. My upfront biased: I want to like libevent. However, I want to objectively compare the two and make an informed decision.

What versions are we comparing?

  • libevent 2.0.22 (Stable) [2014-01-05]
  • libuv 1.8.0 (Stable) [2015-12-15]