“the j stands for Jaborine”
about me | blog | facebook profile | linkedin profile | twitter profile | stuff i've done | stuff i like | wordpress plugins

26 February, 2010

johnjcamilleri.com is now seriffed

Filed under: Other — Tags: , — John @ 11:19 pm

there’s just something I like about serifs, so I thought it was about time I seriffed the fonts on my own site.

other than that, it’s still the same old boring gray theme.. tbh i’m waiting for WordPress 3 before my next major site facelift (not that the 2 are really related, but anyway…)

How to unescape HTML entities in JavaScript

Filed under: Useful,Web Development — Tags: , , — John @ 10:44 pm

This is one of those routine web development things which you assume is inbuilt, but actually proves quite tedious to find a nice solution to.

Specifically, I am talking about converting something like ' to ‘ or & to & directly in Javscript.
This function does exactly that! Note how it adds a function to the prototype for String, so is called in the following way:

"Hello José".unescapeHtml()

Find the code here: paul schreiber » Blog Archive » JavaScript: how to unescape HTML entities.

16 February, 2010

Goals for the new semester

Filed under: Other — John @ 5:50 pm
  1. Finish my final year project / dissertation (obviously)
  2. Become a vi or emacs pro
  3. Learn more about typography and font design
  4. Get used to using SVN
  5. Improve my handwriting to something slightly more elegant / less horrible
  6. Enjoy my last few months as an undergraduate

Powered by WordPress