- PHP has no elegance. $patterns = array_map(function($a) { return '/###' . $a . '###/'; }, array_keys($tags)); #
- Russia vs. Finland tonight! http://bit.ly/jYvY2D #
- Russia vs. Finland, end of first time, 0:0. #
- WTF,!!!!! #
- Russian game sucks big time. 1:0 #
- Second goal :( #
- We are screwed… 3:0 #
- We lost. #
Month: May 2011
Day in brief
- Shared: WordPress 3.2, Beta 1 http://bit.ly/mgkR8w #
- PHPUnit is awesome. Saved me plenty of time these days. #
- My kid recommended that I install Doodle Jump game on my phone. Apparently his teacher is playing it. Nice game. Paid .70 EUR. :) #
- Watching ice hockey on ORT. Canada vs. Russia. 0:0 so far. #
- End of first time. 0:0 #
- Canada scores :( #
- 1:1 !!! #
- Nooooooo!!!!! Goal canceled #
- 10 minutes to decide if we scored. Apparently no. #
- 1:1 !!!!!!!!!while in minority #
- Goal!!!!!!! #
- Russia won!! #
Disable automatic restart in MS Windows
At my current work, MS Windows is a corporate standard, so I have to spend my days in a VMware virtual machine.  With two large monitors, that’s not a big issue at all.  However there is one really annoying bit about my Windows machine.  If I leave it on overnight, it sometimes reboots by itself.  Yes, it tries to save the state of most applications and even my virtual machine state is restored more often than not, but it is still annoying and unnecessary.  Gladly, there is a solution:
Alright, first off let’s click the Start button. Once the menu pulls up we can click on “Run”. Now you should have a field to type in, let’s type “gpedit.msc” and hit enter. Once the screen comes up click the + next to “Local Group Policy” than “Computer Configuration” than “Administrative Template” than click on the “Windows Updates” folder. In here you will find a bunch of different variables. If you click on them in the right pane there should be some definitions of what each one does. I will not go in-depth on all of them because you can obviously read. The key we are looking for is “No auto-restart for scheduled Automatic Updates Installations”. Right click on that value and hit properties. Now click on Enabled, than hit “Apply” and “Ok”. Now close the Console1 window. It will prompt you to save, choose “Yes” and than “Save”. Now that you have saved the settings a reboot is necessary for the policy to take effect.
Day in brief
Day in brief
- GitHub: mamchenkov created repository SafeCharge-API http://bit.ly/kO8xqh #
- GitHub: mamchenkov created branch master at mamchenkov/SafeCharge-API http://bit.ly/kpkX7l #
- GitHub: mamchenkov started watching apache/log4php http://bit.ly/jN2aMF #
- Shared: Microsoft Buying Skype for $8.5B http://bit.ly/igSFMu #