Monthly Archives: May 2014

AngularJS – Format Cents As Monetary Unit (Dollars, Rand etc)

1. Create a filter app.filter(’MonetaryUnit’, function () { return function (amount) { return (amount / 100).toFixed(2); } });app.filter(‘MonetaryUnit’, function () { return function (amount) { return (amount / 100).toFixed(2); } }); 2. Apply filter to field {{someField | MonetaryUnit}}{{someField | … Continue reading

Posted in Programming | Tagged | Leave a comment

May Jozi JUG – Code Dojo and Open Source Contributions

The Jozi JUG is hosting their May event on Monday the 26th. There will be two tracks on the evening, so there’s something for everyone. What are you waiting for? RSVP today! A big thank to Oracle for hosting and … Continue reading

Posted in IT, Programming | Leave a comment

IT Cuties and Code Babes – Why Oh Why?

An acquaintance of mine posted a link to the IT Cuties site. The description is “Programming tutorials hosted by cute girls”. Not women, but girls. This led me to discover the even more explicit Code Babes where you can learn … Continue reading

Posted in IT | Tagged | 4 Comments

HMAC SHA512 in Java

When doing some research on authentication tokens I came across the post Don’t Hash Secrets and learn’t of a few new things, one of which was HMAC: Hash-based message authentication code. I use Google Guava for some utility functions, but … Continue reading

Posted in Programming | Tagged , , , | Leave a comment