Code
I’ve written a lot of code over the years. Some of it is good.
Here are my GitHub details:
Listed below are summaries and explanations of some of the more significant stuff. I tried to explain why I wrote it, how relevant it is, and whether or not you should trust it.
Unless otherwise noted, everything below is public domain. Some of it might be GPL’d at the repository level, which takes precedence. Otherwise, you can do whatever you want with any of this.
If any of it helps you, I’d love to hear about it
Stuff I’m Actively Working On
These are things I’m still fiddling around with – this code hasn’t “settled” in my mind, just yet; there are still open questions.
-
Directory Synchronizer
- Format
- C# Library
- Language
- C#
A C# class to do an efficient one-way sync of files and folders from a source to a target
-
Tag Item Collection
- Format
- Web Component
- Language
- JavaScript
A web component to allow on-page filtering of elements by tag
-
Template Block
- Format
- Web Component
- Language
- JavaScript
A very simple way to template HTML
Stuff I Actually Use or Have Used
This code is currently in use – or has been used in the past – in some production capacity. No promises, but it’s probably not awful.
-
Kiwi Document
- Format
- C# library
- Language
- C#
A library for easily creating structured text documents
-
Airtable Object Mapper
- Format
- Class Library
- Language
- C#
Code for retrieving records from Airtable and dynamically creating C# objects from them
-
Relative Date Tag
- Format
- JavaScript Web Component
- Language
- HTML / JS
A tag which displays the relative timespan from right now to a specified date.
-
Table of Contents Tag
- Format
- JavaScript Web Component
- Language
- HTML / JS
A tag which will display an embedded table of contents based on HTML header tags
-
Web Page Tool Tips
- Format
- Sample Code
- Language
- JavaScript
Some simple JavaScript to create mouseover tooltips
-
Jsonata Wrapper
- Format
- Class Library
- Language
- C#
A class to allow the easy extraction of data from JSON using JSONata
-
Jsonata Fluid Value
- Format
- Class Library
- Language
- C#
A Fluid value to extract data from JSON to query or output into a Fluid template
-
Simple Embedded Code Editor
- Format
- JavaScript Fragment
- Language
- HTML / JS / CSS
A very simple way to turn a TEXTAREA into a code editor(-ish)
-
Object Translator
- Format
- Class Library
- Language
- C#
Code to “translate” a C# object to another object prior to serialization
-
Opti CMS Response Providers
- Format
- Opti CMS Add-On
- Language
- C#
A way to provide alternate response sources for requests in Opti CMS
-
Tag Builder
- Format
- Class Library
- Language
- C#
A C# class for creating HTML tags and structures in code
-
Tree Query Parser
- Format
- Class Library
- Language
- C#
A parser to structure queries of a hierarchical data structure
-
SQLite Wrapper
- Format
- Class Library
- Language
- C#
A handy way to work with SQLite from C#; simplifies a lot of things.
-
URL Stemmer
- Format
- Class Library
- Language
- C#
Code to “normalize” URLs so they can be compared for equality
-
Locally-Stored Form Fields
- Format
- JavaScript Snippet
- Language
- JavaScript
JavaScript that auto-populates form fields with whatever was last submitted.
Stuff That Was Fully-Realized But Just Never Really Took Off
These were things I “finished” and released, but that never really caught on.
(In writing that sentence, I’m struck by the fact that I’ve never really had an open-source project get adopted into even semi-mainstream, and that depresses me a bit…)
-
Denina
- Format
- Class Library and Optimizely Add-On
- Language
- C#
A scripting engine with an integration to Optimizely CMS
-
Opti CMS Markup
- Format
- Opti CMS Add-On
- Language
- C#
An add-on library to integrate “hand-written” HTML, JavaScript, and CSS into an Optimizely CMS site
-
Opti CMS Profile Visitor Groups
- Format
- Opti CMS Add-On
- Language
- C#
Code to manage and query an instance-local data profile about the current site visitor
-
Opti CMS Webhooks
- Format
- Opti CMS Add-On
- Language
- C#
A system for issuing outbound webhooks from Opti CMS in response to content events
Stuff I Was Just Screwing Around With
I play around with a lot of stuff. These are things that I wrote to prove a point or try out a theory, or whatever.
-
Contentful Reverse Lookup UI
- Format
- Contentful UI Extension
- Language
- JavaScript (using the Contentful API)
Contentful sidebar widget that shows entries which link to the entry loaded in the UI
-
(Contentful) Webhook Server
- Format
- Web Application
- Language
- C#
A web application to receive webhooks from Contentful (or something else)
-
Conversational Variable Collection
- Format
- Class Library
- Language
- C#
A system for maintaining a set of numeric variables using plain-language commands
-
Extract Fragment Middleware
- Format
- .NET Core Middleware Component
- Language
- C#
Middleware to extract an element from rendered HTML and return it
-
Nemmet
- Format
- Class Library
- Language
- C#
A tool to expand a string specification to an HTML structure
-
Opti CMS Dynamic Templates
- Format
- Opti CMS Add-On
- Language
- C#
An add-on to create compenentized content templates from the Opti CMS UI
-
Parser Combinator Example
- Format
- Sample/Instructive C# Code
- Language
- C#
An example of a simple parser combinator that can be used to understand the theory
-
XML Fluid Value
- Format
- Class Library
- Language
- C#
A Fluid value to query an XML document in a template
-
Opti CMS Dynamic API Endpoints
- Format
- Opti CMS Add-On
- Language
- C#
An add-on which allows editors to create API endpoints from the UI
Stuff That Got Replaced By Something Better
Things that were fine or sometimes great, but for which I found better alternatives.
-
C# Web Server
- Format
- Class Library
- Language
- C#
A very simple web server for testing things that require a website
The Archives: Really, really old stuff…
Things that have no relevance anymore, but might be interesting as historical artifacts.
-
Fleming
- Format
- HTML Application
- Language
- HTML and VBScript
An obsolete utility that did batch conversions/transforms of XML files
-
Microsoft Access CMS
- Format
- MS Access Database with Macros
- Language
- VBA and XSLT
A Microsoft Access database that was programmed to be a simple CMS