Jan 03, 2006
Web Developer for Walt Disney
Winter Garden, FL
About me
Code | Comics | Conservative | #ENTP | Opinions are my own | SRE at @disney | Formerly @espn and @ucf
PHP, CSS, Javascript (jQuery, node.js, Angular), Java

Javascript Code Snippets

sean created a Page  -  May 29, 2012
1 149 

APGAR is the one-way hashing algorithm all legacy Command and Conquer games use to send and store user passwords. This snippet is a simple port of the PHP version submitted some time ago.

sean created a Page  -  May 03, 2012
1 197 

Thought it would be a neat exercise to recreate the mIRC $gettok() function in javascript as I've seen it popup in several other languages. The only caveat I'm aware of is when passing multiple N parameters (eg: '2-6' or '2-'); it must be in string format. Otherwise javascript will interpret N and pass undesired results (eg: '-4'). If only passing one N parameter, integer use is recommended.

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.