Tag: programming
Adding Hugo Aliases and Templates

Recently I added some command line aliases to more quickly add new posts to Hugo, the static site generator that powers this blog. So for example I can type hnp New Post and it will run hugo new --kind post-bundle posts/2021-06-19-new-post. Then using Hugo’s archetypes it will create a new blog post in the format I like, with the date prefixing the folder name. I used a bash function instead of a true alias to allow me to write out the titles in plain english.

Read More
Sat, Jun 19, 2021
Further adventures in iPad coding
Coding on an iOS device (in my case, a 9.7 inch iPad Pro) can be frustrating, but I’ve found some tricks to get things done. For Advent of Code I have been working in rust, and while home for the holidays, I am developing from an iPad. As such my requirements for development are as follows: An iPad based text editor A way to build rust code A way to quickly test rust code and see the results Ideally auto-completion for rust code While iPad code editing apps exist, as well as some capable IDEs (looking at you Pythonista), you usually are confined to writing your own code in the app and using a few standard libraries. Read More
Wed, Dec 23, 2020
N Tricks for Better Shortcuts

Recently I’ve been playing with the iOS Shortcuts app to make checklists, draft blog posts, time my coffee, combine images and other quick tasks. If you haven’t given it a try yet, it’s essentially drag and drop programming environment that allows you to quickly and easily create powerful programs that run on your iOS device. It has built in ’actions’ for a large amount of features, from creating for loops, to more complex actions like image resizing, and running scripts over ssh.

Read More
Sat, Oct 3, 2020
Publishing Hugo Static Sites From Your iPad

Over the past few months I’ve been trying to transform this website from a resume/portfolio into a cheaper, and more easy to update (and more fun to use) blog. To do so I created a workflow to post blog entries from my iPad and iPhone.

Read More
Sun, Sep 27, 2020