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
C# LibraryC#
A C# class to do an efficient one-way sync of files and folders from a source to a target
-
Tag Item Collection
Web ComponentJavaScript
A web component to allow on-page filtering of elements by tag
-
Template Block
Web ComponentJavaScript
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.
-
Airtable Object Mapper
Class LibraryC#
Code for retrieving records from Airtable and dynamically creating C# objects from them
-
Relative Date Tag
JavaScript Web ComponentHTML / JS
A tag which displays the relative timespan from right now to a specified date.
-
Table of Contents Tag
JavaScript Web ComponentHTML / JS
A tag which will display an embedded table of contents based on HTML header tags
-
Web Page Tool Tips
Sample CodeJavaScript
Some simple JavaScript to create mouseover tooltips
-
Jsonata Wrapper
Class LibraryC#
A class to allow the easy extraction of data from JSON using JSONata
-
Jsonata Fluid Value
Class LibraryC#
A Fluid value to extract data from JSON to query or output into a Fluid template
-
Simple Embedded Code Editor
JavaScript FragmentHTML / JS / CSS
A very simple way to turn a TEXTAREA into a code editor(-ish)
-
Object Translator
Class LibraryC#
Code to “translate” a C# object to another object prior to serialization
-
Opti CMS Response Providers
Opti CMS Add-OnC#
A way to provide alternate response sources for requests in Opti CMS
-
Tag Builder
Class LibraryC#
A C# class for creating HTML tags and structures in code
-
Tree Query Parser
Class LibraryC#
A parser to structure queries of a hierarchical data structure
-
SQLite Wrapper
Class LibraryC#
A handy way to work with SQLite from C#; simplies a lot of things.
-
URL Stemmer
Class LibraryC#
Code to “normalize” URLs so they can be compared for equality
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
Class Library and Optimizely Add-OnC#
A scripting engine with an integration to Optimizely CMS
-
Opti CMS Markup
Opti CMS Add-OnC#
An add-on library to integrate “hand-written” HTML, JavaScript, and CSS into an Optimizely CMS site
-
Opti CMS Profile Visitor Groups
Opti CMS Add-OnC#
Code to manage and query an instance-local data profile about the current site visitor
-
Opti CMS Webhooks
Opti CMS Add-OnC#
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
Contentful UI ExtensionJavaScript (using the Contentful API)
Contentful sidebar widget that shows entries which link to the entry loaded in the UI
-
(Contentful) Webhook Server
Web ApplicationC#
A web application to receive webhooks from Contentful (or something else)
-
Conversational Variable Collection
Class LibraryC#
A system for maintaining a set of numeric variables using plain-language commands
-
Extract Fragment Middleware
.NET Core Middleware ComponentC#
Middleware to extract an element from rendered HTML and return it
-
Nemmet
Class LibraryC#
A tool to expand a string specification to an HTML structure
-
Opti CMS Dynamic Templates
Opti CMS Add-OnC#
An add-on to create compenentized content templates from the Opti CMS UI
-
Parser Combinator Example
Sample/Instructive C# CodeC#
An example of a simple parser combinator that can be used to understand the theory
-
XML Fluid Value
Class LibraryC#
A Fluid value to query an XML document in a template
-
Opti CMS Dynamic API Endpoints
Opti CMS Add-OnC#
An add-on which allows editors to create API endpoints from the UI
The Archives: Really, really old stuff…
Things that have no relevance anymore, but might be interesting as historical artifacts.
-
Fleming
HTML ApplicationHTML and VBScript
An obsolete utility that did batch conversions/transforms of XML files
-
Microsoft Access CMS
MS Access Database with MacrosVBA and XSLT
A Microsoft Access database that was programmed to be a simple CMS