Code

Here are some code samples hosted on GitHub.

Angular Transactional Form Sample External Page
This is an example of web form written in Angular, demonstrating usage of Templates, Controllers, Services, Routes, Directives, LESS, HTTP service mocking with API Blueprint, Internationalization, and testing with Mocha/Sinon/Chai.

Java 'Coffee Shop' External Page
This is a Java coding sample I wrote on request. It command-line menu-driven app that simulates the sales and inventory of a coffeeshop. For example, Cafe Mocha appears on the menu only when the ingredients are available in inventory. As you sell more Cafe Mochas, the ingredient store decrements until you can't sell any more. I used Java Enums extensively to represent the inventory.

Open Source project: Data Grid Rotator External Page
This is a javascript object that supports flipping x- and y-axes of data, and supports rotating data over a collection of charts. I am actively at work to release this as an open source tool.

Replace Words in Page External Page
This is a jQuery coding sample I wrote on request. It demonstrates Screen-scraping of Wikipedia pages, Word-counting, Sorting, the Module pattern, Promises, Replacing text in an HTML page, rules definitions through predicates, and CSS selectors.

Perl code sample External Page
At iCrossing we frequently received XML file feeds from clients which contained characters of mixed formats, instead of pure ASCII. Mixed in with plain ASCII we might find WinLatin-1, ISO-8859-1, extended ASCII, or UTF-8. This script analyzes every character to give a tally of how many of each character set type are present.

jQuery plugin External Page
This is a jQuery plugin I wrote for a UI element that moves text items from one container to another.

Tip


Links marked with arrow icons ( or ) will open in a new tab.

You will see this message only once.