Add the select menu to the html code

<select name=”timeOfWorkoutPlanMinutes” id=”timeOfWorkoutPlanMinutes” data-native-menu=”true”>
<option value=”0″>00</option>
<option value=”5″>05</option>
<option value=”10″>10</option>
<option value=”15″>15</option>
<option value=”20″>20</option>
<option value=”25″>25</option>
<option value=”30″>30</option>
<option value=”35″>35</option>
<option value=”40″>40</option>
<option value=”45″>45</option>
<option value=”50″>50</option>
<option value=”55″>55</option>

and it can be changed by javascript

$(‘#timeOfWorkoutPlanMinutesoption[value=’+val+’]’).attr(‘selected’, ‘selected’);


Best VNC server

Posted: July 2, 2013 in MAC+SHIT

Tried most of them (real, uvnc etc)
this is the best one:



All the forums said it was because my Firebreath and my DLL were not both in Debug or in Release. But this wasn’t true. They were both in Debug and still I had this runtime crash.


Just add “-DWITH_DYNAMIC_MSVC_RUNTIME=1” to your prep script.

look for it here –

Google Android development team – you’re a bunch of whores!

Why std is so fu**ing old??????

need to write your own to_string function

string to_string (int num)
ostringstream convert; // stream used for the conversion

convert << num; // insert the textual representation of ‘Number’ in the characters    in the stream

return convert.str();

this helped

I needed to parse JSON response from a server.

I did my research and the most important thing i looked for was SIMPLICITY of API and small number of files to integrate to my existing project.

Finally, I found what I was looking for. Not something fancy JSON library but rather a very simple one that does the trick very nicely without any obvious bugs.


The code to print every Json response:

found this nice question and great answer

works great