Author Archives: nicko2k
Code that scares (scars?) the Nick.
So here I am, fixing code that one of our old, evil programmers wrote long ago, and I stumble across a script. This script needed a list of the days of the week, as well as some other day periods … Continue reading
JavaScript frameworks and Juice
I’ve been toying around with some code that – while not needed – would benefit greatly from a nice JavaScript enhancement framework. After going through Prototype and not being very happy with the functions, steep learning curve or feeling of … Continue reading
Fun Fact!
Thunderbird/Firefox’s dictionary knows the word ‘guesstimate’
My comments
I’ve always been known to comment my code fairly verbosely. I’ll put in little niggles I had while writing the code, and sometimes – like in the following snippets – what I think of either code I’m writing, or code … Continue reading
Plural function
I know it seems basic, but I wrote this a while ago and use it in many many applications I’ve written. I’m surprised alot of languages don’t have something this simple in a small, native function… Takes three arguments: number, … Continue reading
PHP + Unicode = Shit
Working on trying to get Chinese and Japanese characters to transmit correctly over email, a major problem is that in using PHP to process the text, PHP can’t handle the characters for shit and I got absolutely nowhere. Grr. I … Continue reading
Quote
From the author of Space Moose (name unknown) Of course, it’s easy to say offensive stuff without using forbidden words like “Fuck”, “Shit”, etc.. In North America, these words induce idiotic knee-jerk reactions, and can offend even when taken out … Continue reading
Note to self:
Keep an eye on the size of apache’s error logs. I don’t like seeing this -rw-r–r– 1 root root 114184167424 2007-05-25 15:06 error.log
My collection
This is just where I’ll be storing my collection of interesting pieces of information that I come up with. Code snippets, Linux tricks… stuff like that. That is all.