Code of the Day: Javascript Random Number Generator

15 years ago

Code *Updated* //@function: getRandomNum( i, decLen ) /** * @param i, a number for the number range. [0, i) *…

Find equations within chaos.

15 years ago

While I was reading my weekly edition of New Scientist, I found an article that was truly amazing. In 2009,…

Join me on Twitter!

15 years ago

Hey Guys and Gals. Join me on twitter to check the latest updates. Larry Battle's Twitter

“Beginning MySql” – Book Review

15 years ago

Here's a book review I did on amazon.com. Check out more of my reviews at my amazon.com profile page. Overall,…

Javascript Code of the Day: get highlighted text

15 years ago

Discovered the code below while browsing online. Inspired from codetoad.com. function getHighlightedText(){ return ((window.getSelection) ? window.getSelection() : (document.getSelection) ? document.getSelection()…

Google Translate a Life Saver

15 years ago

Four days after a powerful earthquake-triggered tsunami hit the Japan's east coast, I found a this on Google, Google Translate…

JavaScript Binary Operations – the easy way

15 years ago

Intro: "There are 10 types of people in this world. Those who understand binary and those who don't" - Author…

Javascript NOT is not what you expect

15 years ago

A weird part of javascript is trying to toggle the bits in a number. For most programming languages, like C…

Best way to prevent Javascript from failing.

15 years ago

Javascript is a great flexible language but has a major flaw with portability. I call it the "1 Hit Combo…

Code of the day – Javascript Insertion Sort

15 years ago

Insertion Sort. Best: O(n), Average: O(n2), Worst: O(n2) Insertion sort is a simple sorting algorithm, a comparison sort in which…