Skip to content

tedious ramblings

The blog of Robert Hafner

Menu
  • Projects
  • Resume
  • Sponsor
  • Archives
  • About
Menu

Category: Open Source

ec2details, the missing EC2 Instance Metadata API

Posted on March 28, 2018April 3, 2018 by Robert Hafner

When working with the AWS EC2 service in a programmatic way I’ve repeatedly run into a simple problem- how can I get up to date metadata about the various instance types in a programmatic way? It turns out this simple problem does not actually have a simple solution. AWS offers their Bulk API, which has…

Manage Github Pull Requests with gitconsensus

Posted on August 23, 2017August 23, 2017 by Robert Hafner

This weekend I dug into the Github API to build gitconsensus, which lets communities create truly democratic projects using Reactions as a voting mechanism. Projects can define consensus rules (minimum age of pull request, quorum for votes, threshold needed for passing) using a yaml file in their project root. Pull Requests that meet the consensus…

Introducing jsonsmash – work with large json files easily

Posted on May 29, 2017May 28, 2017 by Robert Hafner

Over the last year I’ve run into some pretty massive JSON files. One recent examples is from AWS, which publishes a 120mb file containing a list of their available services that they have yet to provide documentation for. Attempting to open that in a standard editor is not going to be pleasant, and while tearing…

Building an Email Testing Environment with Vagrant, Dovecot and Travis-CI

Posted on March 3, 2014March 3, 2014 by Robert Hafner

In my previous post I introduced the testing suite I created for Fetch. Here I want to go through exactly what needed to be done to put that together. This post is a bit longer, and you really don’t need it to take advantage of this package, but it may provide some insight to anyone…

Announcing a New Continuous Integration and Email Package using Travis-CI and Vagrant

Posted on March 3, 2014March 3, 2014 by Robert Hafner

Years ago I wrote a library, Fetch, which was designed to read email using the PHP IMAP Extension. At the time I did not expect it to get much reuse so I skipped out on much of the test suite- if I’m going to be perfectly honest here though I have to admit that a…

WordPress Syntax Highlighting for YAML

Posted on January 19, 2014May 5, 2014 by Robert Hafner

I was writing up a new blog post that had some Yaml config files in them. I’ve been using the Syntaxhighlighter Evolved plugin for this, which has worked remarkably well. Unfortunately it seems that Yaml is not one of the supported languages, and I couldn’t find much about it. Luckily for me the author wrote…

PHP IMAP Script

Posted on January 12, 2014May 5, 2014 by Robert Hafner

As part of maintaining Fetch I have to install the php imap extension quite a bit. Although this is pretty trivial on most variants of linux it’s kind of a pain for OSX- you have to find a few dependancies, compile the imap c library from source, create the extension against your currently installed version of…

Posts pagination

  • Previous
  • 1
  • 2

About

Robert Hafner is a Principal Engineer based in Chicago focusing on distributed applications, infrastructure, and security. This blog is a running journal of projects, tutorials, and random ideas that pop into his head.

  • GitHub
  • Mastodon
  • LinkedIn

Popular Posts

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

©2025 tedious ramblings | Built using WordPress and Responsive Blogily theme by Superb