Monday, August 15, 2011

Cisco VPN service network troubles

Wife suddenly started to complain about trouble to connect to our server (at home). I thought a simple reboot will fix the problem but nope. Can ping other computer from server but can't ping the server from other computers.

Firewall is off, and after some research I found it is the Cisco VPN service. As long as the VPN service is started, even if VPN is not connected it will still prevent connections.

So problem solved :-)

Wednesday, August 10, 2011

MS security updates

Yesterday night I posted about how I got a virus by just using IE9 to view drudge report (even after I denied the UAC requests), MS released 13 patches, once of them is this:

Cumulative Security Update for Internet Explorer 9 for Windows 7 for x64-based Systems (KB2559049)

Download size: 20.9 MB

You may need to restart your computer for this update to take effect.

Update type: Important

Security issues have been identified that could allow an attacker to compromise a system that is running Microsoft Internet Explorer and gain control over it. You can help protect your system by installing this update from Microsoft. After you install this item, you may have to restart your computer.

More information:
http://go.microsoft.com/fwlink/?LinkID=221946

Help and Support:
http://support.microsoft.com

Thursday, July 21, 2011

Starcraft match, Baby vs Killer

http://www.youtube.com/watch?v=1VXIE0o9Qbo&feature=feedu

See link above. I was surprised by who finally win :-)

Thursday, July 14, 2011

javascript math

So what is 70.18*100 in javascript? It might be surprise you that the result is 7018.00000000001.

And number.toFixed() should fix this nicely.

Another interesting thing about jqGrid. I have a date column that requires a customized format but needs to be sorted as date. I did some research and none of the online solution works (my jqGrid version is 3.6.5). So I download the source, and what's going on is jqGrid parse the date with y,m,d,h,i,s A (as year, month, date, hour, minute, second, AM/PM). So the solution is:

sorttype: 'datetime', datefmt: 'm-d-y h:i:s A' (I am mm-dd-yyyy hh:mm:ss AM/PM format).

Wednesday, July 6, 2011

Cool jQuery UI

Haven't been doing scripts for a while, and there is one from msdn that looks pretty cool: http://msdn.microsoft.com/en-us/scriptjunkie/hh127352.aspx

Kind of surprised how easy it is doing round corner UIs :-)

Sunday, June 26, 2011

OSL JD vs Flash

Another great battle between 2 best players.
http://www.youtube.com/watch?v=DExusOePdSA&feature=feedu