• Home
  • About
Blue Orange Green Pink Purple

Archive for the ‘code’ Category

Aug 04

A simple Ruby implementation with lots of comments. This document explains how to implement DES, from the perspective of learning how the algorithm works.

Jul 30

Unlike sessions, it appears that cookies are a bit of an orphaned feature in Struts2. There are ways of reading them using the framework, but no way to write them.

Jul 30

Luckily (unlike cookies), Struts2 comes with features to give you access to sessions without dipping into the realms of the ServletRequest / ServletResponse. So here's how to use sessions with Struts 2:

Jul 27

Lately i've needed to run a background task every 10 seconds in a Java web-app (servlet) and found Quartz Scheduler to be great. It's just that their documentation doesn't really cover servlets much. So here we are:

Jul 27

Hi,
I've been fed up with all the JS calendar date pickers that are out there - they're all too complicated, heavy, rely on frameworks that i don't want to include, or they're ugly, or have anti-commercial licenses, etc etc etc. So here's mine:

Jul 20

Recently had to upgrade one of my programs to go from some other database to Oracle. Luckily it uses hibernate, so i thought it would be hassle free. Well, i hit a few hiccups so here's how i finally got it to work. Note that this is for Oracle XE, but should be applicable for any Oracle version 9i onwards.

Jun 29

How to implement 128 bit AES / Rijndael from scratch: A simple Ruby implementation with lots of comments. This document explains how to implement AES, from the perspective of learning how the algorithm works.

May 28

Hi all, here's the quickest way to get forms authentication up and running in your asp.net web app, storing usernames and hashed password in your own database.

May 07

Binary message parsing! This is one of those areas that I must admit, C *almost* has the edge on C#.
Anyway, here's an AS2805 message parser written in C#.

May 04

A quick little script for dumping a binary file into a view similar to a hex editor.

Older Posts »

Chris' Babble

  • About
    Hi, i'm Chris Hulbert, a software guy from Sydney Australia.
  • Categories
    • code
    • Portfolio
    • Uncategorized
  • Recent Articles
    • How to implement DES and Triple DES from scratch
    • How to use Cookies in Struts 2 with ServletRequest and ServletResponse
    • How to use sessions with Struts 2
    • Using Quartz Scheduler in a Java web app (servlet)
    • Javascript date picker that Doesn't Suck!(tm)
    • Using Oracle XE with Hibernate


  • Home
  • About

© Copyright Chris' Babble. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top