Posts
Call it The GCDLADB if you like.
Working with Let's Encrypt to Generate Certs 4 min read May 29, 2019
The workflow I use to create, publish, and update this blog is discussed in three of my earlier posts, namely docker-bootstrap Workflow, Building This Blog, and Developing This Blog. This workflow works nicely in the case of this blog, but my daughter and I created another site, Visualizing Abolition and Freedom, frequently referred to as simply VAF, where the same workflow doesn’t quite work. The problem, I believe is with the manner in which I attempted to obtain TLS certs from Let’s Encrypt. ...
Fixing the VAF Cert Problem 3 min read May 29, 2019
True to form, just after posting my lengthy description of VAF cert problems I figured out what was wrong and how to fix it. Naturally, just after. So, the root of my VAF woes stemmed from the fact that Let’s Encrypt, upon my request, had previously issued an untrusted cert for https://vaf.grinnell.edu (because I used the staging environment during development of this blog), and I was unable to find it or override it with a trusted cert. I was under the impression that in my workflow the cert was being stored inside one of my Docker containers… and it was. ...
Updates to Atom and Themes 1 min read May 25, 2019
Recently I made several significant updates to this blog, including changes to my Atom configuration, and the introduction of a new theme, plus a “theme component” to help manage search. Both of these updates are perhaps best described in this portion of the README.md file in my blog’s Github repo so I won’t bother with the details here. And that’s a wrap. Until next time… ...
New Theme and Search 1 min read May 24, 2019
I recently made changes to this blog that made the old theme “un-responsive”, it no longer reformatted nicely for small, mobile devices. So I’ve switched the theme to use hugo-theme-m10c, and I think it’s a welcome improvement. In addition, I found this repo which provides an awesome wrapper in the form of a very elegant Hugo theme component around some work that I mentioned in an earlier post, namely this awesome gist. Consequently, the mark.js keyword highlighting that was “broken” in my earlier search implementation is now working! ...
Developing This Blog 1 min read May 20, 2019
I realized today that I previously documented how to “begin” a blog like this using Docksal to assist, but I failed to remind myself how to make structural/programming changes to it now that it is well-established. Since I’d like to add BleveSearch to this blog, and similar sites, I need to make some “structural” changes, and I want to do so locally before pushing them to production. The process of making updates like this is basically: Open a local terminal and navigate to this project. ...
Search Me? 2 min read May 19, 2019
Yes, yes you can! It’s not “done” yet (is anything ever really done?) but you can now ‘search’ the content, titles, and tags of this blog! For now just visit the new /search page and enter the term(s) you would like to look for. I’ll explain this better once it is “done”, I hope. This wonderful addition to the site comes to you compliments of this awesome gist, with a little hacking by your’s truly. There’s just one problem, perhaps summarized in my comment on the gist posted moments ago. ...
Updating This Blog with Atom 1 min read May 16, 2019
So I have my Atom config stored in a Github repo so that I can easily keep Atom in-sync between the various platforms I use here and at home. Today I added the atom-shell-commands package to my Atom config and have configured it with a “command” that takes care of updating my blog when I add a new post (like this one). The command configuration in my .atom/config.cson looks like this: "atom-shell-commands": commands: [ { name: "Update My Blog" command: ". ...
Testing SSL Vulnerabilities 1 min read May 15, 2019
This is a subject that’s grabbed my attention recently here at Grinnell College. Specifically, I wanted a way to run my own SSL vulnerability scans of servers inside the campus firewall, something that outside agents could not do effectively. About a month ago I came upon a tool for this task, testssl.sh, and I’ve installed it on my Docker staging server, DGDockerX. The tool resides in the islandora user’s home directory on DGDockerX and I’m able to run it from a terminal open to that node like so: ...
docker-bootstrap Workflow 2 min read May 15, 2019
This post is as much about adding an image to a “live” Markdown document (this blog post), as it is about my docker-bootstrap workflow. The workflow is perhaps best described and summarized in a diagram I recently created, and exported to a PDF. It should be self-explanatory, and with any luck you can see it below… Posting an “inline” image into a Markdown document is pretty easy using syntax like this: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") But, does that work if the “image” is a PDF? ...
Bleve Search - Note to Self 1 min read May 14, 2019
Had a conversation about lots of topics this afternoon and bumped into bleve, along the way, including a discussion about adding search capability to a Hugo site. bleeeve is based on the Go programming language, as is Hugo, so I hope implementation is super simple. I think in the near future I’ll have a look at adding such a feature to this blog, and perhaps to the Visualizing Abolition and Freedom site too! In conversation we also bumped into Lunr JS and I might consider attempting to implement it instead. ...