Mikael's blog

A developers sixth time trying to maintain a blog

Archive
2013
May, 2013
Saturday
4
Decreasing Load Time When Using Google Web Fonts
I've been using Google Web Fonts ever since I started building this blog. It's an awesome service with a great user interface and it makes it really easy to add fonts to your web site. Of course I had to find something wrong with it. Earlier this w...
Thursday
2
Re-sizing Images in Javascript
Uploading files asynchronously with XMLHttpRequest is a neat trick on its own, but what I really wanted was a nice way to upload images from my phone and/or tablet. The problem with this is that technology is evolving quite rapidly these days and m...
Wednesday
1
Async File Uploads in HTML5
Uploading files using HTML forms has always felt a bit off for me. You had to set your encoding to `multipart/form-data` and the synchronous nature of form posts always made it a waiting game when uploading larger files. Then came AJAX and the dawn ...
April, 2013
Tuesday
30
Pictures!
I've been hacking away at the blog again and made a little nifty photo uploader for the admin area. It resizes the image on the client (browser) before uploading it with Ajax which is great because now I can upload directly from my phone without worr...
Saturday
27
Search And You Shall Find
Every blog should have a search box. Not because it's necessary, but because it's fun to implement. A few weeks ago I ran across a small Javascript library called Lunr.js. It's basically a small text indexer that can rank search results and it's wri...
Monday
22
New Drapes
I got tired of the old dark green design. It was too murky and spring is in the air, so I redesigned the site to be lighter and more "spring-y". ` `Inconsolata` is back as the source code font and `Open Sans` makes up the majority of the text on ...
March, 2013
Friday
29
4 Hours of Markdown
Wow, that was kind of exhausting. I've completed my rewrite of all my blog posts into Markdown. Somewhere in the middle I found why my inline HTML didn't work and that made my old posts look almost acceptable, but the syntax highlighted source code ...
Thursday
28
Marked Up With Markdown
Desperate, as always, for lowering my blogging threshold I implemented Markdown syntax for the blog. As I did this through use of the marked plugin I lost support for inline HTML (might be a setting though). For a few hours this means that my old bl...
Tuesday
26
Group Pressure
In a totally unoriginal move I'm now starting to wean myself off Facebook, starting by deleting the Facebook app from my phone and tablet. Since almost everyone else in the tech sector seems to have done the same thing at least once, I don't feel th...
February, 2013
Wednesday
6
OMG New Certificates
One might wonder where I've been or what I've been up to these last couple of months. One would be right to wonder why I, so close to the one year anniversary of this blog, suddenly stopped writing. The truth is kind of embarassing. I created a ...