Category Archives: Hacking

Posts about various projects that I am working on, along with the occasional tips, tricks, and tutorials.

Spring Security, Webjars, and MIME type error

I volunteered to be JLO (Java Language Owner) at CircleCI and I am currently working on getting a sample Spring Framework project running on CircleCI 2.0. I made a simple app bootstrapped with the Spring Initializer. I included Spring Security … Continue reading

Posted in Hacking | Tagged , , | Leave a comment

The Best Autotools tutorial from the Ajunta docs

Autotools is probably the most overwhelming piece of software that I have encountered. Just when I think that I get how it works, something goes wrong and I spend hours digging through man pages and info docs trying to figure … Continue reading

Posted in Hacking | Tagged | Leave a comment

Using gtk-doc with Anjuta on Debian Stable

gtk-doc is a library that helps extract code documentation. When you create a new project with Anjuta it asks if you wish to include gkt-doc. Unfortunately, on Debian stable there seems to be a bug because the autoconf configuration is … Continue reading

Posted in Hacking | Tagged , , | Leave a comment

Anjuta “You must have libtool installed”

Anjuta is an excellent IDE specifically when it comes to writing applications for GNOME. On Debian stable, there seems to be a bug having to do with a missing dependency. When you create a project for the first time using … Continue reading

Posted in Hacking | Tagged , , | Leave a comment

Posting to WordPress via Email with Mutt

Soemtimes you are hanging out in your terminal and you just want to be able to post something to your blog quickly. I was pretty inspired by Derek Siver’s OpenBSD post [1] where he really embraces the unix philosophy of … Continue reading

Posted in Hacking | Tagged | 2 Comments

Serving a Static Home Page in Rails

TIL while working on this issue that if you dump a file into public/index.html then rails will just serve that up for you. A lot of tutorials out there talk about making a static pages controller, which seems like overkill … Continue reading

Posted in Hacking | Tagged | Leave a comment

Do not Install Karma Globally

Wow, I spent so long trying to figure out why the hell karma was not working for me, it turns out its because it was installed globally. For instance. In my projects package.json I had: “scripts”: { “test”: “karma start … Continue reading

Posted in Hacking | Tagged , , | Leave a comment

Injecting Stuff into your Python Path

Similar to a previous post where I wrote about how to run flask tests without installing your app, another common thing that you might want to be able to do is import your app from some arbitrary script. This is … Continue reading

Posted in Hacking | Tagged | Leave a comment

Using the Flask CLI

Who knew that flask had a cli? Previously I used to just use manage.py just like Django does it to “do stuff”. The CLI is great, but again it follows the theme of kind of wanting you to install your … Continue reading

Posted in Hacking | Tagged , | Leave a comment

Follow Me on Twitter CTA on Ghost and WordPress

The other day I read a post on Hacker News about premature optimization in web application development. This was an excellent post in its own right, but one thing that jumped out at me was the call to action from … Continue reading

Posted in Hacking | Tagged , , | Leave a comment