Commit 5902c17c authored by Jamie Tanna's avatar Jamie Tanna

Remove categories from content

As categories are:

- not Microformats2 markup-able
- not currently hierarchical
- not any more meaningful as duplicated

So we may as well just remove support for them, as they serve exactly
zero purpose.

Closes #116.
parent 6e9bf45a
Pipeline #68634154 failed with stages
in 3 minutes and 53 seconds
......@@ -9,11 +9,6 @@ mapping:
required: yes
length: { min: 1 }
pattern: /^.*\.$/
'categories':
type: seq
required: yes
sequence:
- type: str
'tags':
type: seq
required: yes
......
{
"date": "2019-06-29T16:00:03+0100",
"title": "",
"content": "I've just removed categories as a thing from my website. I'm still using tags on all the content, but categories no longer exist. This is for a few reasons:\n\n- categories are not Microformats2 markup-able (as we can't distinguish between tags and categories, it's just `p-category` which we use for tags)\n- categories in the site are not currently hierarchical - although they may be defined as such, they're not presented like it\n- categories are not any more meaningful than tags, as they're almost always the same, or a reduced set, compared to the tags\n\nSo we may as well just remove support for them, as they serve exactly zero purpose.",
"slug": "e1fbbf51-8a38-43d1-a80d-1acf715514de",
"summary": "",
"syndication": [],
"tags": [
"www.jvt.me"
]
}
---
title: Intelligent Parenting
description: Bringing the Internet of Things to the home, and to help monitor your children.
categories:
- internet-of-things
tags:
- internet-of-things
- impact-nottingham
......
---
title: 'Smart is the New Black: Lightbulbs to Reflect a Modern Age'
description: The future of lighting - using smart, long-lived lightbulbs that can be configured to only turn on when there's someone in the house.
categories:
- internet-of-things
tags:
- internet-of-things
- impact-nottingham
......
---
title: Game of Drones
description: Discussing how drones will be shaping the future of the delivery business.
categories:
- drones
tags:
- impact-nottingham
- drones
......
---
title: "The Hour of Code: What's the Worst that Could Happen?"
description: Why you should invest just a single hour in learning how code can be useful to you.
categories:
- persuasive
tags:
- learning
- learn-to-code
......
---
title: The Sony Hack
description: A discussion about Sony Pictures Entertainment being hacked in the months before the release of the action comedy, The Interview, and its depiction of Kim Jong Un.
categories:
- infosec
tags:
- infosec
- impact-nottingham
......
---
title: Hacktoberfest 2016
description: A few words about my excitement for the start of Hacktoberfest, and some ideas on how to get started yourself.
categories:
- guide
- opensource
tags:
- guide
- hacktoberfest
- opensource
- freesoftware
......
---
title: Continuous Delivery with Capistrano and GitLab Continuous Integration
description: How to get up and running with using GitLab CI and the Capistrano deploy tool.
categories:
- guide
tags:
- blogumentation
- capistrano
- deploy
- ci
......
---
title: Open S-awesome
description: A month of giving back, and a very honest post-mortem of what I learned.
categories:
- retrospective
tags:
- retrospective
- opensource
- freesoftware
- community
......
---
title: FOSDEM 2017
description: A few words ahead of the storm of articles.
categories:
- events
- fosdem
tags:
- events
- fosdem
......
......@@ -2,9 +2,6 @@
title: CloudABI
title: CloudABI - Easily develop sandboxed apps for UNIX
description: An Application Binary Interface to make it possible to create capabilities-based, hardened, software.
categories:
- events
- fosdem
tags:
- events
- fosdem
......
......@@ -5,8 +5,6 @@ tags:
- workshop
- checklist
- guide
categories:
- guide
date: 2017-02-15T11:57:04+00:00
license_prose: CC-BY-NC-SA-4.0
license_code: Apache-2.0
......
---
title: Resurrecting dinosaurs, what could possibly go wrong?
description: "How containerised apps (AppImage, Snappy and Flatpak) could eat our users."
categories:
- events
- fosdem
tags:
- events
- fosdem
......
......@@ -4,7 +4,6 @@ description: A discussion about the reasons that I would greatly recommend the G
tags:
- gitlab
- opensource
categories:
- persuasive
image: /img/vendor/gitlab-wordmark.png
date: 2017-03-25T10:51:09+01:00
......
---
title: Cleaning Up Your LaTeX Build Output with `latexrun`
description: A tool to help reduce the amount of unnecessary output when building LaTeX files.
categories:
- blogumentation
tags:
- blogumentation
- latex
......
---
title: Saving Repetition with Git Commit Templates
description: Speed up your commit message writing by providing a template for when you run `git commit`.
categories:
- blogumentation
tags:
- blogumentation
- tools
- git
- workflow
......
---
title: glances, a `top` and `htop` replacement
description: I share the tool I have been using for system utilisation and monitoring, `glances`.
categories:
- blogumentation
tags:
- blogumentation
- cli
......
---
title: Extracting SSL/TLS Certificate Chains Using OpenSSL
description: A quick one-liner to get you the full certificate chain in `.pem` format.
categories:
- blogumentation
tags:
- blogumentation
- bash
- shell
- oneliner
......
---
title: Building Chef Cookbooks with GitLab (Part 1)
description: An introduction to how to build a cookbook using GitLab's Continuous Integration platform in conjunction with `kitchen-docker`.
categories:
- guide
- chef
- gitlab
tags:
- guide
- howto
- blogumentation
- gitlab
......
---
title: Viewing your diff while writing your commits with git commit --verbose
description: Making it easier to write commit messages by having the diff in your editor.
categories:
- blogumentation
tags:
- blogumentation
- git
- commit
- shell
......
---
title: Pretty Printing JSON on the Command Line with Python
description: Using Python's JSON module to pretty print JSON objects from the command line.
categories:
- blogumentation
tags:
- blogumentation
- python
......
---
title: Clean up your Git branches
description: Remove any merged local or branches from your local Git repository.
categories:
- blogumentation
tags:
- blogumentation
- git
......
---
title: Converting YAML to JSON and vice versa (Part 1 - Ruby)
description: Coerce YAML to JSON and vice versa, from the comfort of your Gem-studded command line.
categories:
- blogumentation
tags:
- blogumentation
- ruby
......
---
title: Blogumentation - Writing Blog Posts as a Method of Documentation
description: Why I'm starting to use blog posts as a form of documentation, and why I think they're so well suited.
categories:
- musings
- thoughts
tags:
- musings
- blogumentation
......@@ -56,7 +53,7 @@ If you wish to hear me write about something, please [raise an issue on my issue
[issue-board-article]: https://gitlab.com/jamietanna/jvt.me/boards/320660
[keysleft]: http://keysleft.com
[extracting-certs]: {{< ref 2017-04-28-extract-tls-certificate >}}
[blogumentation]: /categories/blogumentation/
[blogumentation]: /tags/blogumentation/
[docker-systemd-article-issue]: https://gitlab.com/jamietanna/jvt.me/issues/151
[technotts-twitter]: https://twitter.com/TechNottingham
[technotts-blog-channel]: https://technottingham.slack.com/messages/C4WR48CTB/
......
---
title: 'Testing `include_recipe`s with Chef and ChefSpec'
description: How to best test `include_recipe`s within your Chef recipes, as well as how to ensure that you aren't running any dependent recipes in your tests.
categories:
- blogumentation
tags:
- blogumentation
- chef
......
---
title: GitLab Review Apps with Capistrano and Nginx
description: Spinning up a version of your application on every push, so others don't have to manually get the code up and running locally.
categories:
- guide
tags:
- guide
- gitlab
- review-apps
- capistrano
- blogumentation
image: /img/vendor/gitlab-wordmark.png
date: 2017-07-18T10:24:49+01:00
license_prose: CC-BY-NC-SA-4.0
......
---
title: 'Getting around `Permission Denied` when running ChefSpec'
description: How to handle getting an `EACCES` when trying to run ChefSpec on a recipe.
categories:
- blogumentation
tags:
- blogumentation
- chef
......
---
title: Trusting Self-Signed Certificates from the Chef Development Kit
description: How to get the ChefDK (and associated tools) to trust internal / self-signed certificates, in an easy oneliner.
categories:
- blogumentation
- chef
tags:
- blogumentation
- chef
- chefdk
- certificates
......
---
title: 'Running `service` resources in Kitchen-Docker'
description: How to get up and running with `service` resources when running Test Kitchen with the Docker driver, in this example for use with GitLab CI.
categories:
- blogumentation
- chef
- kitchen
- docker
tags:
- blogumentation
- chef
......
---
title: Hackference 2017
description: My summary of the Hackference 2017 conference and hackathon.
categories:
- events
tags:
- events
- conference
......
---
title: 2017 in Review
description: A look back over the awesome (and not so awesome) things that happened in 2017, and a look forward to what 2018 holds.
categories:
- retrospective
tags:
- year-in-review
- retrospective
......@@ -531,7 +529,7 @@ If you've made it this far I want to say thanks for reading! And even if you had
[so-count-commit-dates]: https://stackoverflow.com/a/31190624
[gitlab-first-prod-deploy]: https://gitlab.com/jamietanna/jvt.me/commit/545d721056d33e5b3144fbfa513ae787c61b2b0c
[jvtme-talks]: /talks/
[category-fosdem]: /categories/fosdem/
[category-fosdem]: /tags/fosdem/
[tag-findings]: /tags/blogumentation/
[matomo]: https://matomo.org
[piwik-rename-matomo]: https://matomo.org/blog/2018/01/piwik-is-now-matomo/
......
---
title: '`SSLError` When Running Berkshelf Behind a Proxy'
description: 'Getting around the pesky `OpenSSL::SSL::SSLError SSLv2/v3 read server hello A` error when running Berkshelf behind a proxy.'
categories:
- blogumentation
tags:
- chef
- blogumentation
......
---
title: Emoji Support in Dunst
description: How to see Emoji when using the Dunst notification system.
categories:
- blogumentation
tags:
- archlinux
- dunst
......
---
title: 'Chef 13 Upgrade: Rubocop Changes for `lazy` Parameters'
description: 'How to resolve the `Parenthesize the param lazy` Rubocop error when upgrading your cookbook to Chef 13.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: Rubocop Changes for Testing `render_file` with ChefSpec and a `with_content` Block'
description: 'How to resolve the `Parenthesize the param render_file` Rubocop error when upgrading your cookbook to Chef 13.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: Testing `ruby_block`s with ChefSpec'
description: 'Replace your `block.old_run_action` with `block.block.call` to trigger `ruby_block`s within ChefSpec 7 and Chef 13.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: Lessons Learnt and Documented for Posterity'
description: 'Notes on the main problems encountered when upgrading from Chef 12 to Chef 13, both with ChefSpec and Rubocop.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: Rubocop Changes for Word Array Literals (`%w`)'
description: 'A one-liner shell command to fix Rubocop errors `%w-literals should be delimited by [ and ]`.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: Deprecation of Namespace Collisions in Custom Resources'
description: 'Preparing for breaking changes in Chef 14 by renaming `property_name` to `new_resource.property_name` in Custom Resources.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: 'Chef 13 Upgrade: `knife-cookbook-doc` gem upgrade'
description: 'Fixing odd `Logger` entries in autogenerated `knife-cookbook-doc` `README.md`s for Chef 13.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: Verify a Ruby Class Method is Called with Arguments in Rspec, Without Doubles or Mocks
description: Rspec code to verify that a Ruby Class Method is called from another method, without needing to mock anything.
categories:
- blogumentation
- ruby
tags:
- blogumentation
- ruby
......
---
title: "Testing Chef's `ruby_block`s with ChefSpec"
description: 'Testing implementation of a `ruby_block` in ChefSpec, to ensure that the code executes as expected.'
categories:
- blogumentation
- chef
tags:
- blogumentation
- chef
......
---
title: 'Chef 13 Upgrade: `knife-cookbook-doc` Rubocop Updates'
description: 'Disabling the `Missing space after #` and `Do not use block comments` errors for your `knife-cookbook-doc` formatted comments.'
categories:
- blogumentation
- chef-13-upgrade
tags:
- blogumentation
- chef-13-upgrade
......
---
title: My First Week Back to Working (Remotely) After Three Months
description: How I've found the first week back to work after almost three months, and the productivity gains of working reduced hours.
categories:
- thoughts
tags:
- thoughts
- capitalone
- spectatdesigns
image: /img/first-week-back-remote-work.png
......
---
title: 'Running `docker login` as another user in Chef'
description: 'Hitting the error `permission denied while trying to connect to the Docker daemon socket` when trying to run `docker login` as a non-root user in Chef.'
categories:
- blogumentation
tags:
- docker
- chef
......
---
title: Bundling Common Rake Tasks into a Gem
description: 'An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.'
categories:
- guide
- gem
tags:
- blogumentation
- chef
- chefdk
- gem
......
---
title: Executing an Interactive Python Shell (REPL) for a Script
description: 'Using `python -i` to get an interactive REPL after running a Python source file.'
categories:
- blogumentation
tags:
- cli
- python
......
---
title: Deploying to Netlify using GitLab CI
description: 'How adding two lines to my `.gitlab-ci.yml` migrated my existing site from GitLab Pages to Netlify.'
categories:
- guide
tags:
- netlify
- gitlab-ci
......
---
title: Serving Branches on a Subdomain using Caddy and GitLab Review Apps
description: How to dynamically serve a branch on a subdomain for GitLab Review Apps using Caddy Labels.
categories:
- guide
tags:
- guide
- gitlab
......
---
title: Finally Returning to Full Time Work After 123 Days
description: Receiving the final sign off after four months off for my ruptured appendix.
categories:
- thoughts
tags:
- thoughts
- appendix
- health
date: 2018-04-19T11:02:32+01:00
......
---
title: "Morsels of Goodness: What's Cooking in Chef 14?"
description: A look at the new features coming in the new Chef 14 release, as well as what to watch out for when upgrading.
categories:
- chef-14
tags:
- chef-14
- chef
......
---
title: "Beware: `delete`ing a `file` in Chef doesn't actually `delete` it"
description: "Why you should explicitly add `backup false` when `delete`ing a `file` through Chef, to avoid leaving potentially sensitive files still on the box."
categories:
- blogumentation
tags:
- blogumentation
- chef
......
---
title: Better Git Diff Outputs with Git Submodules
description: How to get nicer `diff`s when working with submodules.
categories:
- blogumentation
tags:
- blogumentation
- git
......
---
title: Sharing Multiple SSH Sessions over the Same Network Socket
description: Reusing network sockets for speed and reduction of authentication handshakes with OpenSSH.
categories:
- blogumentation
tags:
- blogumentation
- ssh
......
---
title: 'Merging multiple repositories into a monorepo, while preserving history, using `git subtree`'
description: 'How to merge multiple repositories, with their history, into a single repository, using the `git subtree add` command.'
categories:
- blogumentation
- howto
tags:
- blogumentation
- git
......
---
title: Pretty Printing JSON on the Command Line with Ruby
description: Using Ruby's JSON module to pretty print JSON objects from the command line.
categories:
- blogumentation
tags:
- blogumentation
- ruby
......
---
title: Notes from the AWS + Chef Dev Day Roadshow in London
description: "Notes from the AWS Dev Day Roadshow in London, where we got to play around with Chef, Chef Automate and InSpec using AWS OpsWorks."
categories:
- events
tags:
- aws
- chef
......
---
title: Some exciting job and knowledge-sharing news
description: Moving into Quality Engineering, publishing Chef training courses, conference speaking about Chef at OggCamp and the complex mess that is this very static website at DevOpsDays London.
categories:
- news
tags:
- news
- capitalone
- events
- chef
......
---
title: Being More Explicit on Content Licensing
description: Why I'm re-licensing the code snippets and post content on my site is, and how I'm making it more obvious.
categories:
- thoughts
tags:
- thoughts
- site
......@@ -34,4 +32,4