(Or how I'm going to start writing more blog posts) OK, so the title is a bit presumptuous since I'm yet to get in to the habbit of writing more posts, but it's good to be positive! I keep telling myself "I'll write a post this month", closely followed by it's "OK I'll do one next month". Here's a write up on how I plan to find the motivation to write more posts; stop thinking "no one is interested in that" or "that's old news"; and get over writers block.
Wordpress is great but had too many bells and whistles for what I needed, not to mention the requirement of a MySQL server, so I recently decided to move to Jekyll and GH Pages. I'd previously had my own Apache instance where I could do all the
.htaccess magic I liked, but how to perform redirects using Jekyll and GitHub pages?
More and more people are now adopting some kind of Continuous Integration system, where their full suite of tests and checks are run on every commit with the aim of giving fast feedback to developers. As this adoption grows, and more and more tools come out to help with it, feedback time for developers can actually increase rather than decrease.
Testing Java servlets reliably can often be difficult. Generally the main business logic is contained in a different class which can be tested in isolation, but in some cases it is necessary to have some logic in the servlet itself. It’s also nice to have a quick sanity check that the servlet is loading as it should be and generating the correct responses.
It’s always nice to have a website load quickly, especially on mobile devices. One way to help the load time is to decrease the number of bits that need to fly through the airwaves to make up the website. Here is a quick bit of PHP that can automagically minify the CSS before it is sent – just paste it at the top of the file and change the file extension to .php. Voila!