昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期一, 七月 11, 2011

用壁炉烤地瓜,烤成碳,碎裂

害我还在壁炉里翻了半天,怎么也找不到我放进去的地瓜了,连锡纸也被烤没了。。。。晕死。

--
Feng

星期六, 七月 02, 2011

台式机也搞好了

其实是我一开始就路线错误, 我记错了我是用removeWat 而非 win7 activate 来破解的。 如果我记得, 我肯定就会直接再RUN 一次 removeWat, 而不会去寻找什么 windows loader, oem7F7 之类的东西。 我刚才在台式机上试尽所有办法都没能装上以上两种, 我便又试回了 removeWat. 虽然有个网站说 removeWat 不能用了, 但我这里还是能用。 运行后, 整个激活的信息又不见了。 然后不会看到那令人烦恼的还有28天的信息。呵,回归了。 

--
Feng

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

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

  1. Right click on My Computer
  2. Select Manage
  3. Double click Services and Applications
  4. Then double click Services
  5. Right click on "Sql server reporting services(MSSQLSERVER)"
  6. 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

星期四, 五月 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

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

星期一, 四月 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

星期五, 四月 22, 2011

google 毒

今天打 good friday

居然打成了, google friday....

--
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

星期五, 四月 15, 2011

每天都有不同的菜

星期一 土豆
星期二 马铃薯
星期三 山药蛋
星期四 洋芋子
星期五 洋山芋
星期六 番鬼慈薯
星期天 薯仔

--
Feng

星期四, 四月 14, 2011

Nokia 5800 ovi suite support software installation failed

下载了最新的 OVI SUITE, 然后要升级软件, 却发现有一个消息被忽略了.


 support software installation failed

一直以为是 win7 64bit 惹的祸.

最后才发现,是手机时间错了...居然是2010年....


--
Feng

星期二, 四月 12, 2011

continue...

用 winterboard 切换主题会进入假死状态, 几分钟后退出来, 但是主题没有变化, 于是删....

--
Feng

continue...


最后一个装的软件是 winterboard, 正准备连上 Itune 卸载它, 还在查资料, 居然成功启动了, 启动之前 白苹果和菊花同时出现.
--
Feng

iphone 菊花 白苹果

靠,我妹在iphone 在我手里才两天, 就菊花,白苹果全见着了....惨淡...

--
Feng

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.