Waiting for the wind

programming memo in different platforms

Archive for 2011 年 04 月

windows mysql reset root

發文作者 cotton5415 於 四月 28, 2011

http://dev.mysql.com/doc/mysql-windows-excerpt/5.0/en/resetting-permissions-windows.html

1. stop mysql service.
2. edit a file abcd.sql
UPDATE mysql.user SET Password=PASSWORD(‘MyNewPass’) WHERE User=’root’;
FLUSH PRIVILEGES;
3. mysqld.exe –console –init-file=abcd.sql
4. new root password = MyNewPass

發表於 mysql's Road, web programming, Win32's Road | 已加上的標籤: , , , | 張貼留言 »

VC++ MFC using STL, operator new: ono of the 5 overloads

發文作者 cotton5415 於 四月 28, 2011

http://social.msdn.microsoft.com/Forums/zh-CN/visualcpluszhchs/thread/b93ed7fe-c328-4901-bd3a-7e742e499775/

http://support.microsoft.com/kb/317799

發表於 Win32's Road | 已加上的標籤: , , , | 張貼留言 »

Power Point VBA Runtime Error

發文作者 cotton5415 於 四月 7, 2011

http://blogs.msdn.com/b/larryosterman/archive/2005/08/25/456344.aspx

發表於 MAC OS X's Road | 已加上的標籤: , , , , , | 張貼留言 »

to minimize Javascript codes

發文作者 cotton5415 於 四月 1, 2011

1.YUI Compressor (from Yahoo)
2.JSMin (by Douglas Crockford)
3.ShrinkSafe (from Dojo library)
4.Packer (by Dean Edwards)

發表於 MAC OS X's Road | 已加上的標籤: , , | 張貼留言 »

 
Follow

Get every new post delivered to your Inbox.