Tags
Android AngularJS APN C# Cell C Checklist CV eScript Ethics FJUG Google Guava Graduate HyperSQL Interview Java Java Data Bean JavaScript Jenkins JGoodies JGoodies Binding Job Search Jozi JUG JSUG Marketing Marketing Smell Maven NetBeans NetBeans Platform Open Source Oracle Permission marketing Recruitment Renjin Rhino Samsung Galaxy Tab Ship it Siebel SiebelDataBean Software AG SqlTool Static Analysis Swing Tetrad IT University webMethods-
Recent Posts
-
Twitter
-
@CityPowerJhb "Tell people (roughly) how long they have to wait and they are more accepting of the delay" https://t.co/ExRkMAFgKW 10 months ago
-
@Afrihost Both on Vuma though? 1 year ago
-
@Afrihost Why is your fibre hundreds of Rands more expensive than @CipherWave for (seemingly) exactly the same service? 1 year ago
-
Recent Comments
- vaibhav on About
- Nimmi Kumari on Using Subversion With Siebel
- John on IT Cuties and Code Babes – Why Oh Why?
- Santosh on Using Subversion With Siebel
- HydeUniversity on Simple dynamic ToolTip text for JComponents
Categories
Archives
- April 2017
- January 2017
- October 2015
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- April 2014
- November 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- June 2012
- May 2012
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- October 2010
- September 2010
- August 2010
Meta
Category Archives: Programming
On Ubuntu 16.04 running pharo, from the Moose Technology download, results in the following error: unknown option: -plugins To fix, change: # execute exec “$LINUX/pharo” \ -plugins “$LINUX” \ -encoding utf8 \ -vm-display-X11 \ “$image” To: # execute exec “$LINUX/pharo” … Continue reading
Error on ‘inverse_transform’ of LabelEncoder
If you get the following error when calling inverse_transform on sklearn.preprocessing.LabelEncoder ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() You could be passing in a numpy.ndarray of strings, not numeric … Continue reading
Grails Bootstrap Form Field Error Template
Define a Grails template in /layouts/_formFieldError.gsp <div class=”form-group has-error”> <g:hasErrors bean=”${fieldModel}” field=”${fieldName}”> <div class=”errors”> <g:eachError bean=”${fieldModel}” field=”${fieldName}”> <span class=”help-block”><g:message error=”${it}”/></span> </g:eachError> </div> </g:hasErrors> </div> Usage <g:render template=”/layouts/formFieldError” model=”[fieldModel: myModelObject, fieldName: ‘myFieldName’]” />
Making Sure Our Technical Communities Are Safe Spaces For All
The number of technical user groups in South Africa has grown and we’ve now got several vibrant communities. Which is awesome! If we want to make sure our communities continue to be as awesome and welcoming as they are, we need … Continue reading
Posted in Event, Programming
Leave a comment
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
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
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
Submit HTML form using AngularJS
The payment gateway I’m integrating with requires a post from a form to navigate to their payment page. Some of the information I need to post is dependent on the results from a call to my back end server. My … Continue reading
Xamarin View Fails To Bind To Model
MvxBind:Warning: 9.81 Unable to bind: source property source not found Property:SomeObject on null-objectMvxBind:Warning: 9.81 Unable to bind: source property source not found Property:SomeObject on null-object One of the causes of the above error is mixing up the order of base.OnCreate … Continue reading
5 Minute NLog Wrapper: Limiting The Number Of Emails Sent
If you’re using an Email target to send notifications when an error occurs, it may be useful to limit the frequency of those emails. One way of achieving this is to wrap your target that sends email in a Wrapper … Continue reading