1
2
3
4
Date.prototype.getFormatedWeek = function( ){ 
    var months = [
        "January", "February", "March", "April", "May", "June", 
...

JavaScript On Week Of Date

by Andre Steenveld, May 25, 2008 19:48 Star_fullStar_fullStar_fullStar_fullStar_full

At the cost of creating 2 e...

Avatar Talk
1
2
3
4
using System;
using System.Collections.Generic;
using System.Linq;
...

C# On Pointers in C#

by Andre Steenveld, May 08, 2008 09:00

I have found the problem. I...

Avatar Talk
1
2
3
4
using System;
using System.Collections.Generic;
using System.Linq;
...

C# Pointers in C#

by Andre Steenveld, May 06, 2008 10:39, 1 refactoring, tagged with Unsafe, C#, pointers, unmanaged

I am trying to work out how...

Avatar Talk

JavaScript On Hex color between two colors

by Andre Steenveld, May 06, 2008 10:28

You are welcome. And thanks...

Avatar Talk
1
2
3
4
function calc_color( value, start, end, min, max ){
  var n = ( value - min ) / ( max - min );
    
...

JavaScript On Hex color between two colors

by Andre Steenveld, April 25, 2008 19:30 Star_fullStar_fullStar_fullStar_fullStar_full

It's twice as fast in FF an...

Avatar Talk
1
2
3
Object.prototype.dump = function( excludePrototype, maxDepth, depth ){
    depth    = depth || [];
...

JavaScript On Recursively dump an object

by Andre Steenveld, February 03, 2008 19:18

It is pretty bad practice t...

Avatar Talk
1
2
3
Object.extend = function( target, source ){
    var key = "";
...

JavaScript On Get the last key

by Andre Steenveld, December 10, 2007 12:33

V the for...in loop display...

Avatar Talk

JavaScript On I care about older browsers...

by Andre Steenveld, October 31, 2007 07:42

lol, how about not using do...

Avatar Talk
1
2
3
var StopWatch = function( startOnCreation ){

...

JavaScript On Stop Watch

by Andre Steenveld, October 29, 2007 10:52 Star_fullStar_fullStar_fullStar_full

Just made a little class ou...

Avatar Talk

JavaScript On Beautify JS Date to how rec...

by Andre Steenveld, October 17, 2007 11:38

It's a bitwise operation wh...

Avatar Talk

JavaScript On Simple Form Validation

by Andre Steenveld, October 03, 2007 00:35

What is your question exact...

Avatar Talk