http://www.growveg.com/growblogpost.aspx?id=71
--
Feng
昨天,今天,明天,每天的每天,你是否都多懂得一点点...
星期三, 七月 13, 2011
星期一, 七月 11, 2011
星期六, 七月 09, 2011
星期六, 七月 02, 2011
WIN7 旗舰版 更新到 SP1 后又要激活
昨天用我的笔记本电脑的时候发现桌面右下角有副本不是正版的信息,才知道前天的更新把我的系统给 FUCK 了。 于是便故技重施,把 win7 activate 又运行了一遍。 无效。。。
于是找到 windows loader 2.04, 可以说我的系统被改过, 要卸载原有的crack. 于是我把win7 activate 又卸载了。 但是没有用 windows loader 还是说我的系统被改过。 于是我便想干脆下一个集成SP1 的免激活版算了。 于是找了半天, 也没有找到免激活的。 但却在此过程中,看到了一个熟悉的名字 removeWat, 我靠,我才突然想起,我是用 removeWat 激活的系统, 而不是用 win7 activate. 于是便用 removeWat 卸载。 卸载时出错, 我便进入安全模式卸载, 更出错。 我便不管了, 在安全模式下运行 windows loader, 居然成功了, 但证书没有安装。 我便重启电脑, 直接再run windows loader, 显示是 trail, 我直接便点了install (uninstall 也可以点, 但我没点), 重启。 成功激活了。
非常郁闷的是,这个在我华硕笔记本上的方法, 在我的组装台式机上无效。。。
--
Feng
星期五, 六月 17, 2011
Fiddler removed session contains url
1. Add a tag for url contains something in OnBeforeResponse
--
Feng
if(oSession.uriContains("abc/abc.html")){
oSession.oResponse["tag"] = "mock";
}
2. Add a case in OnExecAction
case "removetag":
if (sParams.Length<2) { FiddlerObject.StatusText="Please specify url part to wipe."; return;}
FiddlerObject.UI.actSelectSessionsWithResponseHeaderValue("tag", sParams[1]);
FiddlerObject.UI.actRemoveSelectedSessions();
FiddlerObject.UI.lvSessions.SelectedItems.Clear();
FiddlerObject.StatusText="Removed url contains: " + sParams[1];
break;
Then, ALT+Q in fiddler
type removetag mock, then all the url contains abc/abc.html will be removed.
For keep sessions contains url is very similar
case "keeptag":
if (sParams.Length<2) { FiddlerObject.StatusText="Please specify url to retain during wipe."; return;}
FiddlerObject.UI.actSelectSessionsWithResponseHeaderValue("tag", sParams[1]);
FiddlerObject.UI.actRemoveUnselectedSessions();
FiddlerObject.UI.lvSessions.SelectedItems.Clear();
FiddlerObject.StatusText="Removed all but URL contains: " + sParams[1];
break;
For filter out something other than url, you can do in the same way.
Please make sure your new added http header doesn't break your stuff.
--
Feng
星期一, 六月 13, 2011
Release port 80 for win7
Release from IIS first
then
--
Feng
then
- Right click on My Computer
- Select Manage
- Double click Services and Applications
- Then double click Services
- Right click on "Sql server reporting services(MSSQLSERVER)"
- Select Stop ...and voila, port 80 was released
--
Feng
星期五, 六月 03, 2011
Install ADB driver for android device.
Open Adb Manager to install Google USB Driver package, revision 4 from Available packages->Third party Add-ons->Google Inc
After that, you will find the downloaded files here
c:\Dev\Android\android-sdk\extras\google\usb_driver
Your one will be different, you should be able to find it.
Then, Go to device manager (WIN+R, devmgmt.msc)
Then, plug in your device, and find the hardware ID of your device,
open the file Added your device hardware id
[Google.NTamd64]
; HTC Dream
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91&REV_0226&MI_01 <-- I added this line, Put to [Google.NTx86] if you are running 32bit os.
Then, update your driver from device manager, point the file location to c:\Dev\Android\android-sdk\extras\google\usb_driver
...Then, you know how to install a drvier.
--
Feng
After that, you will find the downloaded files here
c:\Dev\Android\android-sdk\extras\google\usb_driver
Your one will be different, you should be able to find it.
Then, Go to device manager (WIN+R, devmgmt.msc)
Then, plug in your device, and find the hardware ID of your device,
open the file Added your device hardware id
[Google.NTamd64]
; HTC Dream
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91&REV_0226&MI_01 <-- I added this line, Put to [Google.NTx86] if you are running 32bit os.
Then, update your driver from device manager, point the file location to c:\Dev\Android\android-sdk\extras\google\usb_driver
...Then, you know how to install a drvier.
--
Feng
星期四, 五月 19, 2011
Becaureful of tf checking
In vs2010's pending window, if you undo changes, it will undo unchange files. if any file is changed, there will be a pop up window ask for your confimation, I always answer "Not to all".
By doing this, all unchnaged files will disappear from the pending window.
But, if you do a tf checkin cmd to pop up the pending window,
Don't undo a changed file if you don't want to do it. There is not confimation window here, all your changes will be undo.
--
Feng
By doing this, all unchnaged files will disappear from the pending window.
But, if you do a tf checkin cmd to pop up the pending window,
Don't undo a changed file if you don't want to do it. There is not confimation window here, all your changes will be undo.
--
Feng
ANT: taskdef class com.android.ant.SetupTask cannot be found ...
ANT: taskdef class com.android.ant.SetupTask cannot be found ...
the reason is that:
The local.properties.files doesn't have the right sdk.dir set up.
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=c:\\Dev\\Android\\android-sdk
--
Feng
星期一, 五月 02, 2011
ADB server didn't ACK
C:\Dev\Android\android-sdk\platform-tools>adb kill-server
C:\Dev\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
If this happen, go to task manager and kill adb.exe
then , restart adb server.
also, eclipse need to be restarted if you are using it.
--
Feng
星期四, 四月 28, 2011
Install Blackberry JDE in win7 64bit
Need to set jdk bin in path.
Edit file
c:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\bin\ide.bat
set path=%path%;c:\Program Files (x86)\Java\jdk1.6.0_18\bin
start javaw -Xmx512M -DRIM_RUNTIME=..\lib -DRIM_BIN=..\bin -jar IDE.jar
Don't use 64 bit jdk bin, use the 32 bit one.
Otherwise, it will complain "cannot find RIM*WIN32*.dll" something like that.
Then double click ide.bat to run.
I got both jdk 32bit and 64bit installed. Remind you, you can install both of them.
--
Feng
Edit file
c:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\bin\ide.bat
set path=%path%;c:\Program Files (x86)\Java\jdk1.6.0_18\bin
start javaw -Xmx512M -DRIM_RUNTIME=..\lib -DRIM_BIN=..\bin -jar IDE.jar
Don't use 64 bit jdk bin, use the 32 bit one.
Otherwise, it will complain "cannot find RIM*WIN32*.dll" something like that.
Then double click ide.bat to run.
I got both jdk 32bit and 64bit installed. Remind you, you can install both of them.
--
Feng
星期一, 四月 25, 2011
Ubuntu iptables layer 7 support
终于成功安上了LAYER7 的SUPPORT了。
之前在跟教程安装 IPP2P, 可是教程中漏了 KERNEL的补丁, 编译失败。
后来看到一篇 LAYER7 PROTOCOL 的教程, 反正也能禁BT等,于是跟着做。
只不过教程中的NET FILTER的补丁是FOR 其它 KERNEL的版本的,于是下了那个KENEL。
编译安装好那个KERNEL后才发现, 在那个新的KERNEL里面, 无线网卡没驱动。。。
又不会安装驱动,于是。。。
又回来用原来的KERNEL, 今天又在GOOGLE教程。 找到原来的那篇教程。 到里面给的链接去翻 NET FILTER, 然后发现其实那个补丁包里有个 for_old_kenerl 的文件夹。 有我正在用的这个KERNEL的补丁, 于是从新用现在这个KERNEL的源编译了一次。
终于可以禁P2p 了。
--
Feng
--
Feng
星期三, 四月 20, 2011
Blackberry MDS through proxy
c:\Program Files (x86)\Research In Motion\BlackBerry Email and MDS Services Simulators
4.1.4\MDS\config\rimpublic.property
[HTTP HANDLER]
application.handler.http.proxyEnabled=true
application.handler.http.proxyHost = 127.0.0.1
application.handler.http.proxyPort = 808
application.handler.http.logging = true
application.handler.http.logging.verbose= true
application.handler.http.CookieSupport = true
application.handler.http.AuthenticationSupport = true
application.handler.http.AuthenticationTimeout = 3600000
application.handler.http.device.connection.timeout = 120000
application.handler.http.server.connection.timeout = 120000
--
Feng
4.1.4\MDS\config\rimpublic.property
[HTTP HANDLER]
application.handler.http.proxyEnabled=true
application.handler.http.proxyHost = 127.0.0.1
application.handler.http.proxyPort = 808
application.handler.http.logging = true
application.handler.http.logging.verbose= true
application.handler.http.CookieSupport = true
application.handler.http.AuthenticationSupport = true
application.handler.http.AuthenticationTimeout = 3600000
application.handler.http.device.connection.timeout = 120000
application.handler.http.server.connection.timeout = 120000
--
Feng
星期五, 四月 15, 2011
星期四, 四月 14, 2011
Nokia 5800 ovi suite support software installation failed
下载了最新的 OVI SUITE, 然后要升级软件, 却发现有一个消息被忽略了.
support software installation failed
一直以为是 win7 64bit 惹的祸.
最后才发现,是手机时间错了...居然是2010年....
--
Feng
support software installation failed
一直以为是 win7 64bit 惹的祸.
最后才发现,是手机时间错了...居然是2010年....
--
Feng
星期二, 四月 12, 2011
订阅:
博文 (Atom)