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

Posted in Coding, PHP, WTF?! | Leave a comment

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

Posted in Coding, JavaScript | Leave a comment

Fun Fact!

Thunderbird/Firefox’s dictionary knows the word ‘guesstimate’

Posted in Language, Mozilla | Leave a comment

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

Posted in Coding, PHP | Leave a comment

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

Posted in Coding, Language, PHP | Leave a comment

LOLCODE

Oh dear…

Posted in Coding | Leave a comment

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

Posted in Coding, Language, PHP | Leave a comment

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

Posted in Language | Leave a comment

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

Posted in Linux | Leave a comment

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.

Posted in General | Leave a comment