Handling Custom Events in AngularJS

I downloaded this pretty cool simple UI widget that allows me to select a color from a nice color palette.  In my continuing effort to learn Angular, I decided to open the code on GitHub and see how the events were being handled.…

Closures and Angular JS

Something I learned along my Angular journey, and Javascript in general, was the concept of closures.  I really didn’t quite get it, to be honest.  I would leave it, move on and everything worked, so when I had no need to “really use…

Duplicate execution of Angular JS Controllers

Have you create some controller code in Angular that you are trying to test out only to find out the controller is being executed more than once, typically twice? If so, you are not alone and this is a very common design problem…

Understanding Angular ngOptions using form select

This is the first of many posts to come that may help you understand how to use AngularJS libraries and syntax.  This is a work in progress, part of the purpose of this blog is for me to document what I learn, share…

Open eml files in compose mode

Before you get too excited, this solution only appears to work in Outlook and not Thunderbird.  I’ll explain a workaround for Thunderbird, but let’s first get Outlook work and the gist of what this post is about. So I had a situation where…

Responsive Off Canvas Menus

What a great, simple solution to off canvas menus.  And they work super fast as they are using CSS transitions instead of jQuery.  I read an article on Smashing Magazine that perhaps was a bit complex, even though the result was great, I…

Send Binary data to the browser via Async and Javascript

Have you ever had a situation where you are possibly generating a PDF from the server side via async technologies like jquery or Angular and you want to push that binary data right to the browser as to mimic a download of a file?…

Java XML Parsing – Preserve XML as is during parsing

I had a unique situation where I needed to parse an XML document using Java, and I needed to preserve some of the XML in the document.  I am so used to parsing XML documents using Node and Element names etc, I could…

Oracle Listeners

Let me first start by stating I am not a DBA and I am not an expert when it comes to Oracle.  I’ve messed around with Oracle for a few years now and I simply document these things to give you some guidance…

Splitting – Parsing a CSV String in Java

I found this to be very useful when I wanted to parse CSV strings into a Java List: Arrays.asList(someCsvString,split(“\\s*,\\s*”)); The nice part with this solution is the regex includes any spaces around the CSV.

Categories