Useful snippet for debugging javascript. It prints out key-value pairs of associative array. In PHP your have function print_r($array), but in Javascript you still have to make your own function.
Useful snippet for debugging javascript. It prints out key-value pairs of associative array. In PHP your have function print_r($array), but in Javascript you still have to make your own function.
The task. We have 3 separated text files, for example, web server logs. For more comfortable analyze we want to join them into one file. Below my simple solution for this task in C#.
The main steps of script are: (read more...)
We have array of int and want to write it to a variable or to show on display. It's not so easy to do in one string as you can think at first. Below I wrote one of ways to do it. (read more...)