The GitHub ReadME Project

The GitHub ReadME project is all about increasing awareness about Open Source, its developers and communities, as well as bringing people closer together. Chances are you’re using more Open Source code in your everyday life than you know. From GitHub ReadME about: Coding is usually …

Read more

var_dump() for Javascript

PHP, for example, has var_dump() and print_r() to facilitate quick variable dumps to log files, etc. For Javascript, one can use console.log() in combination with JSON.stringify() to achieve something similar.   console.log( JSON.stringify(object) ); It’s also possible to “pretty-print” the output like so:   console.log( JSON.stringify(object, null, …

Read more