Sunday, December 19, 2010

Garmin Nuvi Internal Map Naming


1. PROM1 = gmapprom.img
2. PROM2 = gmapprom1.img
3. Suppmap1 = gmapsupp.img (nuvi drive only)
4. Suppmap = gmapsupp.img (SD Card drive only)
5. Dir DB = gmapoem.img (OEM POI data map)
6. Basemap = gmapbmap.img
7. TZMap = gmaptz.img
8. 3DMap 1 = gmap3d.img
9. 3DMap 2 = gmap3d1.img

Saturday, December 04, 2010

Optimized Macports

In /opt/local/share/macports/Tcl/port1.0/portconfigure.tcl
default configure.march {nocona}
default configure.compiler {gcc-4.2}

Friday, December 03, 2010

Resetting OS X Password


To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:
Reboot
Hold apple + s down after you hear the chime.
When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now
After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again!

Friday, October 22, 2010

Internet Weather Calender for Outlook

Go to www.wunderground.com, select your city, then copy the ical link in the top right corner.
Then in Outlook go to Tools -> Account Settings -> Internet Calendars -> New then follow the steps. And make sure to set the calendar to overlay to save even more time.

Wednesday, October 06, 2010

Tweak Linux TCP/IP

http://kaivanov.blogspot.com/2010/09/linux-tcp-tuning.html
Edit /etc/sysctl.conf

#It still loads the module but unhooks almost all of the calls into the module. net.ipv6.conf.all.disable_ipv6=1

# Allow reuse/recycling of TIME-WAIT sockets for new connections:
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
# Enable TCP timestamps: (Timestamp add 12 bytes to the TCP headers. But, good for Gigabit network)
net.ipv4.tcp_timestamps = 1
# Enable TCP Selective/Forward Acknowledgements:
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
# Enable support for large TCP windows:
net.ipv4.tcp_window_scaling = 1
# Lower FIN timeout (default: 60):
net.ipv4.tcp_fin_timeout = 15
# Wait time between isAlive interval probes (default: 75, recommended: 15-30):
net.ipv4.tcp_keepalive_intvl = 15
# Number of probes before timing out (default: 9, recommended: 5):
net.ipv4.tcp_keepalive_probes = 5
# Maximum TCP Send Window:
net.core.wmem_max = 33554432
# Maximum TCP Receive Window:
net.core.rmem_max = 33554432
# Memory reserved for TCP rcv buffers (default: 4Kb 85Kb 4Mb):
net.ipv4.tcp_rmem = 4096 87380 33554432
# Memory reserved for TCP snd buffers (default: 4Kb 16Kb 4Mb):
net.ipv4.tcp_wmem = 4096 65536 33554432
# Explicit Congestion Notification
net.ipv4.tcp_ecn=1

# Not to cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
# To increase this for 10G NICS
net.core.netdev_max_backlog = 30000
# Use TCP VEGAS. Do modprobe tcp_vegas first!
net.ipv4.tcp_congestion_control = vegas

Sunday, September 26, 2010

LPR vs Raw TCP/IP Printing Protocol

According to the below paper, Raw TCP/IP is more than 50% faster than LPR.
Comparative Efficiency Analysis of LPR and Raw TCP/IP Printing Protocols

Apple Talk is not support by my printer server TE100-MP2U.
My printer's SMB printer can not see by my Windows 7.
LPR is slow.
My printer server's Raw TCP/IP is not compatible with Windows 7.

Sunday, August 29, 2010

Statistics of PhD Awarded in 2008

There are 48802 PhD graduated on 2008.
1/4 is life science. 1/6 is physical sciences. 1/6 is engineering. 1/6 is social sciences. There is a big increase in PhD awarded from the first three disciplines, but not from social science.
1/3 is US citizen or resident. 1/10 is from China and 90% will stay is US. 5% is from India and 88% will stay is US. 3% is from Korea and 65% will stay is US. 1.4% from Taiwan and 53% will stay in US.
50% get BS in same field. 75% get MS degree. 60% of parent get advance degree.
After graduated: 59% academe, 6% government, 16% industry, 5.4% nonprofit
Primary activity: 42.4 teaching, 28.8 research, 16.2 administration, 11.1 service
Secondary activity: 19.2 teaching, 32.9 research, 9.4 administration, 7.4 service

Source: http://www.nsf.gov/statistics/nsf10309/

Wednesday, August 18, 2010

Mac PowerPoint vs. Windows PowerPoint

Apple的使用率在美國還挺高的, 尤其在學界
可是Mac跟Windows 兩個作業系統的PowerPoint的相容性, 實在是不敢恭維
最大的問題是, Mac上的 PowerPoint不會自動轉換多媒體格式, 導致在Mac上做的 PowerPoint移到 Windows上時會沒辦法顯示
就算在 Windows上裝了QuickTime也不能解決

為了看到上課的 slide, Google了一下這個問題
解法如下:
1) Save PPT as Webpage
2) Search for pcz-Files
3) unpack pcz-Files by Gzip or WinRar
4) extract and add extension .pict to the files
5) convert PICT-Files into JPG (QuickTime is needed to be installed)
6) reinsert into PPT

粉麻煩, 但至少有解. 感覺這是 Microsoft在 PowerPoint裡留下的伏筆, 讓 Mac 到 Windows上做簡報變的很難

Speeding Up Matlab

Java 'Out of memory' errors
修改或新增下列程式碼於 'java.opts' (in $MATLAB/bin/win32/java.opts)
-XX:PermSize=72m
-XX:MaxPermSize=72m
-Xmx256m
-Dcom.sun.management.jmxremote
除此之外, 可以參考 Sun JVM的微調參數, 做更進一步的調教

Java Virtual Machine (JVM) Matlab
修改系統變數 MATLAB_JAVA
更換Matlab內建的 BLAS函式庫
先找出你CPU對應最佳化Basic Linear Algebra Subroutines (BLAS)函式庫, 然後修改 BLAS_VERSION這個系統變數, 去使用最佳化函式庫
理論上, 這對舊版的 Matlab 6有奇效, 因為舊的 Matlab並沒有使用最佳化的函式庫, 改用新的至少會快兩倍
以下是 Intel 最佳化函式庫 9.1.2版的對照表 (最新版是 10.1)
mkl_p3 Kernel optimized for Intel® Pentium® III processor
mkl_p4 Kernel optimized for Intel® Pentium® 4 processor
mkl_p4m Kernel optimized for Intel® Core™ 2 Duo Processor
mkl_p4p Kernel optimized for Intel® Pentium® 4 processor with SSE3 Instructions
可以用 LAPACK_VERBOSITY=1 來檢查 BLAS的版本

Optimized Elementary MATLAB Functions
用在 PII以上, 可以快上兩三倍

Monday, August 02, 2010

Transforming a Unused Laptop into a Secondary Monitor

Install ZoneScreen and make the desktop extended to the virtual monitor.
Then, use the ZS Wizard to set up a screen server on my Windows. Run the the client mode of ZS Wizard via Wine on my Linux laptop and connect it to the Windows box.
Note:
1. The latest ZoneScreen 1.0.11.0 did not show virtual monitor on my Windows XP and the SC Wizard did not show the cursor. Version 1.0.10.0 worked fine.
2. TightVNC 2.0.2 did not support projecting only secondary monitor to the VNC client (remmina 0.8.1 with libvncclient). UltraVNC 1.0.8.2 did not show my cursor in the client. RealVNC 4.1.3 refused to make connection.

Thursday, July 15, 2010

Ranking of Universities Related Me

National TSING HUA University
THE-QS WUR 2009 - Natural Sciences #150 /301
ARWU 2009 – Natural Sciences and Mathematics #100+
Univ. of Pittsburgh
USNews 2011 - Best Engineering Schools: EE #53 /84
THE-QS WUR 2009 - Engineering/Technology #218 /300
ARWU 2009 – Engineering and Computer Sciences #100+
Univ. of Pittsburgh
USNews 2011 - Best Engineering Schools: Bioeng #12 /52
THE-QS WUR 2009 - Life Sciences & Biomedicine #148 /300
ARWU 2009 - Life and Agriculture Sciences #40 /100

Solving The Problem Related to In-executable Java Program Under Win64

cd %windir%\system32
mklink java.exe ..\syswow64\java.exe
mklink javaw.exe ..\syswow64\javaw.exe
mklink javaws.exe ..\syswow64\javaws.exe

Wednesday, June 30, 2010

Folder Sharing via SMB Using Nautilus

Install nautilus-share

Edit /etc/samba/smb.conf
add "usershare owner only = False" under [global]

This also remove the error msg below
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: usershares are currently disabled

Monday, June 28, 2010

Journal Citation Reports 2009

Nature 34.5
Science 29.8
Nat Method 16.8
Nat Neurosci 14.3
PNAS 9.4
J Neurosci 7.2
Radiology 6.3
Hum Brain Mapp 6.3
NeuroImage 5.7
JCBFM 5.5
PLOS One 4.4
Psychopharmacology 4.1
MRM 3.2
NMR BioMed 3.1
JMRI 2.8
Med Phys 2.7
JMR 2.5
MRI 2.0

Saturday, April 24, 2010

The Dungeon of Doom

http://en.wikipedia.org/wiki/The_Dungeon_Revealed

剛剛發現我二十年前玩過的遊戲
在一台黑白的Mac上, 一邊翻著字典一邊玩
以當年的英文能力, 想當然爾, 玩的不知所云 orz
死了千百遍也沒破過, 真是有毅力又有趣的童年

Wednesday, April 21, 2010

Making File Name in NTFS Case-sensitive

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive
DWORD=0 for case-sensitive

Thursday, April 15, 2010

Friday, April 02, 2010

Replacing metacity with xfwm in gnome under Arch Linux

Install xfwm
packer -S xfwm4

Create /usr/share/applications/xfwm4.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Xfwm4
Exec=xfwm4
NoDisplay=true
X-GNOME-WMName=Xfwm4

Change in gconf-editor
/desktop/gnome/session/required_components/windowmanager = xfwm4

Tuesday, March 30, 2010

數據傳輸優化篇

http://floss.blog.51cto.com/683157/138088

經過一個快速的簡單測試,可以明顯看到:建立ssh數據通道進行傳輸時,缺省使用的加密方式(3des-cbc為缺省優先選擇加密算法)和指定 arcfour(在openssl中為rc4)的傳輸速率相差很大,是否使用壓縮參數也差異顯著,大概有5倍左右的傳輸速率差異。

請取消如下參數:
-z壓縮選項,避免浪費CPU解壓縮計算資源。對於已經壓縮過或者可壓縮性很低的文件就不要使用此選項了。對於純文本或者有高壓縮率的文件可以考慮使用。但建立ssh加密通道時最好是別用了。鑑於目前大多數情況下的數據傳輸的實際使用場景,建議不要使用-z壓縮選項。

ssh的 cipher可用算法列表,同時也是缺省使用次序:3des-cbc, aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr, aes192-ctr, aes256-ctr, arcfour128, arcfour256, arcfour, blowfish-cbc, andcast128-cbc

尋找最快的加密算法的方法,用於選擇ssh的fastest cipher參數:openssl speed @ Linux hottie 2.6.33-ZEN #1 ZEN i686 Pentium M 1.73GHz

OpenSSL 0.9.8n 24 Mar 2010
built on: Wed Mar 24 14:21:12 UTC 2010
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
md2 991.28k 2027.43k 2762.23k 3026.90k 3117.03k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 17233.64k 61935.82k 176811.69k 332014.81k 446297.79k
md5 14736.71k 49719.84k 131933.04k 225910.32k 285880.39k
hmac(md5) 13064.57k 44810.77k 123996.32k 219284.11k 285808.76k
sha1 13745.98k 42426.65k 97972.57k 144979.75k 495149056.00k
rmd160 33462768.00k 94506240.00k 201206784.00k 273613824.00k 310427648.00k
rc4 608679072.00k 712475264.00k 723046656.00k 750848000.00k 749789184.00k
des cbc 102333728.00k 109271168.00k 109681664.00k 110924800.00k 111853568.00k
des ede3 39130064.00k 39723776.00k 37981440.00k 39950336.00k 40148992.00k
idea cbc 73431808.00k 76847232.00k 76859904.00k 76259328.00k 78266368.00k
seed cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 47297744.00k 49137408.00k 48640512.00k 49191936.00k 49963008.00k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 171583376.00k 171896128.00k 188671232.00k 187596800.00k 189677568.00k
cast cbc 93562608.00k 98648000.00k 98099456.00k 100521984.00k 100909056.00k
aes-128 cbc 86808912.00k 156550592.00k 215949824.00k 232400896.00k 241270784.00k
aes-192 cbc 80760080.00k 145644032.00k 180620800.00k 197377024.00k 203276288.00k
aes-256 cbc 76685536.00k 131800512.00k 159832576.00k 171541504.00k 172146688.00k
camellia-128 cbc 0.00 0.00 0.00 0.00 0.00
camellia-192 cbc 0.00 0.00 0.00 0.00 0.00
camellia-256 cbc 0.00 0.00 0.00 0.00 0.00
sha256 26420976.00k 62012032.00k 106653440.00k 137116672.00k 149176320.00k
sha512 14625040.00k 58937472.00k 93570048.00k 137558016.00k 159031296.00k
aes-128 ige 188753024.00k 202563648.00k 204330752.00k 212256768.00k 215678976.00k
aes-192 ige 165618048.00k 174002048.00k 182565888.00k 183057408.00k 185917440.00k
aes-256 ige 146738864.00k 155212480.00k 155065600.00k 160993280.00k 162643968.00k
sign verify sign/s verify/s
rsa 512 bits 0.000000s 0.000000s 12423000.0 167908000.0
rsa 1024 bits 0.000000s 0.000000s 2662000.0 60169000.0
rsa 2048 bits 0.000002s 0.000000s 476000.0 16974000.0
rsa 4096 bits 0.000013s 0.000000s 79000.0 5638000.0
sign verify sign/s verify/s
dsa 512 bits 0.000000s 0.000000s 16075000.0 13642000.0
dsa 1024 bits 0.000000s 0.000000s 5969000.0 5000000.0
dsa 2048 bits 0.000001s 0.000001s 1914000.0 1616000.0


kuro Windows 7 x64, Duo Core 1.73GHz

Cygwin won most of the time.

Cygwin
OpenSSL 0.9.8n 24 Mar 2010
built on: Wed Mar 24 16:07:40 CET 2010
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx)

compiler: gcc -D_WINDLL -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
available timing options: TIMES TIMEB HZ=1000 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
md2 1774.03k 3806.61k 5098.23k 5670.10k 5977.21k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 15973.63k 53201.90k 158294.55k 335919.95k 534955.83k
md5 13512.23k 46812.05k 134339.46k 242230.53k 317048.99k
hmac(md5) 18015.69k 66210.28k 157862.22k 245168.59k 326490.18k
sha1 13086.19k 39198.67k 106817.64k 188203.38k 239562.27k
rmd160 10359.44k 33694.52k 75268.00k 107819.28k 122044.75k
rc4 170165.79k 202053.91k 172411.94k 164065.48k 155313.36k
des cbc 40737.24k 36721.55k 40984.41k 43932.35k 41196.70k
des ede3 15602.36k 14746.06k 15628.67k 15607.67k 15760.96k
idea cbc 0.00 0.00 0.00 0.00 0.00
seed cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 17066.69k 18998.16k 18431.05k 18941.11k 17674.04k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 63177.65k 71263.58k 68140.47k 67408.52k 70304.23k
cast cbc 47026.79k 46374.28k 53050.68k 53212.97k 53370.47k
aes-128 cbc 47917.46k 77158.00k 91592.10k 92582.39k 90879.23k
aes-192 cbc 42802.48k 69055.47k 77293.81k 79001.38k 71507.92k
aes-256 cbc 53991.53k 60098.53k 69963.90k 64256.60k 73137.61k
camellia-128 cbc 0.00 0.00 0.00 0.00 0.00
camellia-192 cbc 0.00 0.00 0.00 0.00 0.00
camellia-256 cbc 0.00 0.00 0.00 0.00 0.00
sha256 11226.08k 22969.67k 38357.49k 53051.41k 59428.24k
sha512 7520.37k 32957.11k 50212.74k 77590.36k 78861.94k
aes-128 ige 72018.82k 83387.35k 88261.68k 88866.87k 80829.01k
aes-192 ige 61859.70k 62520.99k 72114.72k 70603.63k 74340.16k
aes-256 ige 45764.42k 62939.78k 61760.09k 64189.15k 65952.27k
sign verify sign/s verify/s
rsa 512 bits 0.000588s 0.000051s 1701.8 19599.0
rsa 1024 bits 0.002769s 0.000133s 361.2 7533.5
rsa 2048 bits 0.014881s 0.000410s 67.2 2439.9
rsa 4096 bits 0.098602s 0.001237s 10.1 808.7
sign verify sign/s verify/s
dsa 512 bits 0.000536s 0.000568s 1865.2 1761.1
dsa 1024 bits 0.001261s 0.001487s 793.0 672.6
dsa 2048 bits 0.003805s 0.004673s 262.8 214.0

SUA
OpenSSL 0.9.8k 25 Mar 2009
built on: Thu Apr 16 03:25:54 EDT 2009
options:bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(ptr2)
compiler: cc -DOPENSSL_THREADS -D_REENTRANT -D_ALL_SOURCE -DL_ENDIAN -DTERMIOS -DPEDANTIC
-O2 -Wall -DMD32_REG_T=int
available timing options: TIMES TIMEB HZ=1000 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
md2 709.91k 1762.52k 1933.05k 2636.76k 2677.52k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 11568.97k 38903.77k 121203.14k 257570.52k 348330.04k
md5 9865.43k 34314.58k 104578.51k 192965.83k 258038.48k
hmac(md5) 10491.79k 35665.20k 103016.27k 192911.26k 257197.78k
sha1 10558.55k 36331.40k 97451.49k 147857.78k 229204.60k
rmd160 8884.38k 26725.55k 63539.54k 94661.58k 111342.82k
rc4 182501.91k 249617.41k 279596.45k 288812.45k 279937.32k
des cbc 27968.83k 30959.70k 30299.65k 30428.11k 29862.30k
des ede3 11671.23k 11787.71k 12167.52k 11829.22k 11040.56k
idea cbc 29184.18k 30357.28k 30381.87k 29988.57k 30637.70k
seed cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 13889.31k 16599.00k 17466.36k 17473.64k 17469.56k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 52247.80k 54759.43k 57292.65k 58522.23k 55975.49k
cast cbc 41661.62k 43441.72k 45341.51k 45414.54k 46708.77k
aes-128 cbc 85900.89k 92138.74k 90629.98k 87379.41k 93412.20k
aes-192 cbc 70500.59k 78695.45k 77225.07k 81734.69k 72644.85k
aes-256 cbc 66963.42k 69092.83k 72163.20k 66184.76k 71614.02k
camellia-128 cbc 0.00 0.00 0.00 0.00 0.00
camellia-192 cbc 0.00 0.00 0.00 0.00 0.00
camellia-256 cbc 0.00 0.00 0.00 0.00 0.00
sha256 9721.80k 26570.99k 55769.40k 75787.23k 86032.41k
sha512 7239.01k 28654.03k 58970.04k 98096.82k 125325.90k
aes-128 ige 89115.10k 95370.72k 96083.25k 96014.70k 91478.24k
aes-192 ige 79208.26k 82281.36k 81975.97k 84082.65k 83136.15k
aes-256 ige 70663.06k 72209.75k 72236.99k 73232.75k 74348.90k
sign verify sign/s verify/s
rsa 512 bits 0.000723s 0.000068s 1382.8 14758.1
rsa 1024 bits 0.004020s 0.000205s 248.7 4871.5
rsa 2048 bits 0.026289s 0.000773s 38.0 1293.9
rsa 4096 bits 0.177732s 0.002829s 5.6 353.4
sign verify sign/s verify/s
dsa 512 bits 0.000662s 0.000787s 1509.7 1271.0
dsa 1024 bits 0.002054s 0.002550s 486.9 392.2
dsa 2048 bits 0.007379s 0.009024s 135.5 110.8

Thursday, March 25, 2010

Xming Warning: Cannot convert string *** to type FontStruct

Just follow the instruction from here http://www.straightrunning.com/XmingNotes/fonts.php to generate the fonts list for all true type fonts

Thursday, March 18, 2010

Samsung i617 (Blackjack II) Hard reset and tricks

Turn Phone off....hold directional pad UP while turning the phone back on. Follow directions on screen.

There are many hidden code for Samsung Omnia phone. Replace #numbers# with *#numbers#

#02068376263#
To Shows a screen with the PDAPhone version numbers, HW and RFCalDate.

#197328640#
Root debug menu

#1546792#
(Executes WindowsAdminSettings.exe

Shows the Administrator Settings menu.

Version - Shows a menu where you can access the version numbers for the PDA and the Software (redirects to the Settings Version applet)
Preconfiguration - Password is #81230#. Allows to preconfigure the Omnia Operator settings by changing the country and operator. Note Changing this will hard-reset the device. This won't lock the device with the specified operator.
Network-Call Setting

- Power On Attach (Attach [default] or Detach)
- Service Domain (Combined [default], CS or PS) Changes which service domain to use.
- Network mode (Auto [default], GSM or WCDMA3G) Changes the data connexion mode.
- Network order (Auto [default], GSM first, WCDMA first or No change) Changes which mode to try first when connecting, with Network Mode on Auto.

Internal - Password is unknown. I'm not sure what it does.


#000228346#
Opens the Audio control utility, where you can adjust low-level volumes.

#7465625#
(Executes WindowsPersonalize.exe %LOCK_STATUS_INFO) Shows the status of the Network, Service Provider, SIM or Corporation lock.

#92782#
(Executes Windowsuamgr.exe) Shows the UA profile settings.

#232337#
(Executes Windowsbthrftest.exe) Shows the Bluetooth RF tester and the device address.

#32489#
(GSM test) Shows the ciphering status and options to enable or disable it.

#7451#
(Nothing happens)

#7450#
(Nothing happens)

#2263#
(Executes Windowsbandsel.exe -band) (GSM test) Shows the GSM band selection screen, with the options Automatic [default], GSM 850, 900, 1800, 1900, 850190 and 9001800.

#1234#
(Executes WindowsKSReset.exe #Version) Shows the PDA and the Phone version number.

#0782#
(Executes WindowsRTCViewer.exe) Shows the Clock & Alarms settings.

#0673#
(Executes WindowsPlaySound.exe) Shows Audio sound tests.

#9090#
(GSM test) UARTUSB settings.

#0842#
Shows tests for the Vibration, the Back Light and the Alert LED (Power buttton LED).

#2580#
(GSM test) Integrity settings.

#0228#
(GSM test) Shows the detailed GSM status Antenna signal power, served network mode, temperature, Battery, Voltage (Antenna ADC test)

#2222#
(GSM test) Shows the FTA hardware version.

#1111#
(GSM test) Shows the FTA software version.

#0011#
(Executes WindowsTestMode.exe) (GSM test) Shows some more detailed GSM (Basic Information) status.

#745#
Dumps SLOG, whatever it is, and shows a message.

#06#
Shows IMEI number.

#1#
(Executes WindowsLine_KeyTest.exe)

#0#
(Executes WindowsLCDTest.exe) Shows a menu to test LCD colors, bootup melody, vibration, dimming, back camera, front camera, touchscreen, light sensor, sleep mode and mouse. The accelerometer data is also displayed at the bottom.

Saturday, March 13, 2010

How to disable Windows Vista/7 from probing the internet via msftncsi?

Set the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing to 0
Windows Vista/7 will no longer probe for internet connectivity, but you also lose the 'earth' overlaid on the internet connectivity.

Saturday, February 27, 2010

Thursday, February 25, 2010

How to fix Office slow opening file problem?

在資源管理器-工具-文件夾選項-文件類型中選中擴展名為DOC,點擊"高級"-選擇"打開"-點擊"編輯"-在"用於執行編輯的應用程序中"在後加上"%1"

Monday, February 22, 2010

Naming Convention of Nintendo 64 ROM

http://jonce006.blogspot.com/2005/02/64.html

檔名後面的(E)(J)(U)是說明哪各地區版本(歐)(日)(美)
檔名後面的(V1.0) (V1.1)是說明版本
檔名後面的(Star Cheat)(Course Cheat)就是以Cheat過的(但不一定可玩)
所以要一定能玩的話舊一定要選檔名有[!]這的.一定都能玩
再來就看你要玩日文或是英文了
結論是.要一定能玩的話就解這3個檔
Mario Kart 64 (E) (V1.1) [!].z64 (英文)(歐版)
Mario Kart 64 (J) (V1.1) [!].z64 (日文)(日版)
Mario Kart 64 (U) [!].z64 (英文)(美版)

Tuesday, February 16, 2010

網上流行藍牙驅動簡單介紹 ver1.2

http://benyouhui.it168.com/viewthread.php?tid=913133

目前藍牙市場還是稍顯混亂,近日買了一個MOTO S805藍牙耳機,連接過程中碰到諸多問題,自忖解決問題的能力也不算差,還是花了好多天才搞定,在這裡說明一下自己在解決問題過程中的理解,力圖作出一個提綱掣領的表述,讓將來的兄弟們不至於在多種驅動的複雜情況面前暈頭轉向、多走彎路。

書歸正傳。現在做藍牙芯片硬件的主要有兩家廠商,CSR(Cambridge Silicon Radio)和博通(Broadcom);做驅動的有四家,Widcomm、IVT BlueSoleil、東芝、微軟和蘋果,蘋果的比較少,在此按下不表。



微軟Microsoft
Compatibility: ★★★★★
Perference: ★★
其中微軟做的驅動也就是所謂系統自帶驅動,兼容性最好,而性能最弱。細究原因不難想像,在其他藍牙廠商各行其是的情況下,微軟為了保證自己系統的兼容性,必然要推出一款免費的驅動。以微軟的能力不難把驅動做得很好,但是其他廠商的驅動都是要收錢的,微軟把東西做得太好必然要觸犯到廠商的利益,精力不放在這片兒的微軟顯然沒有必要做這種吃力不討好事情。自帶驅動不支持藍牙耳機。

東芝Toshiba
Compatibility: ★★★★
Perference: ★★★
除了微軟的驅動是免費的,本文要介紹的其他三家驅動都需要授權。東芝的驅動主要用在品牌機上,例如索尼、富士通、明基的內置藍牙多隨機附送東芝的驅動。如果要更新東芝的驅動,需要先保存授權舊版本的授權文件TosBtChk.dll,替換新版本的同名文件。東芝的驅動兼容性也不錯,對於芯片沒有太大要求,但是穩定性有限,在我S805的藍牙芯片最初錯裝在信號不良的位置的時候,IVT能夠提供相對穩定的連接,而東芝最新驅動的中斷情況更為嚴重。

IVT和widcomm
IVT的驅動和Widcomm的驅動比起上面兩個,可以用「更多,更貴,更強」來形容,它們都需要不菲的授權費用,但是性能相應地也大有提高,缺點有兩個,一是挑芯片,二是要破解。

前面說到CSR(Cambridge Silicon Radio)和博通(Broadcom)做藍牙芯片硬件,在藍牙1.1時代CSR非常有優勢,但是1.2時代之後博通將Widcomm收購令其不再支持CSR的芯片,奠定了博通的領導地位。受到重擊的CSR迅速扶植起台灣的IVT,並憑藉低價策略繼續與博通分庭抗禮,但是風光早遠遠不如往昔。這就是前面說到的「挑芯片」,IVT驅動主要支持CSR芯片,而Widcomm不肯支持CSR芯片。

Widcomm
Compatibility: ★★★
Perference: ★★★★★
按我的感覺,Widcomm驅動應該是要比IVT強一點,所以很多兄弟也是想方設法要讓Widcomm支持CSR芯片。Widcomm網上流傳多種版本,最多的是5.0.1.801破解版。這個版本遠不是最新,但是已經完成破解,解除了芯片限制和版權提示,安裝起來比較方便。而實際上Widcomm的版本已經更新得非常後面,07年XP版就更新到了5.1.0.4200,現在兩年過去都不知道到了多少。這些後面的版本一般使用破解工具手動破解,破解的內容一是芯片限制,二是版權提示。流行的破解工具可以把這兩個限制都破解,按照說明操作即可,在此也不多說。破解芯片限制的原理是修改安裝文件中的一個inf文件,把自己芯片的PID和KID信息按格式加入,而破解版權提示修改相應註冊表鍵值也就可以了……沒有錯,這種限制實在是形同虛設- -b

版本
破解方式
性能
5.0.1.801
已破解
立體聲與耳麥功能分開
5.1.0.3600及以後
需使用工具手動破解
立體聲與耳麥功能整合;
性能比801有加強

IVT
Compatibility: ★★★★
Perference: ★★★★
IVT驅動的版本也很多,比較有價值的從3.2開始,歷經中間的5.0.5,直到最新的6.4系列版本。從3.2版本開始就比較穩定,大家不必盲目求新,試用中我感覺3.2提供的耳機信號比後續版本都要穩定。網上流傳的3.2版本一般是替換DLL文件和安裝完成後的主執行文件來破解。和後續版本比起來,這個版本只有IVT的「太陽系」經典管理界面,而後續版本同時提供了和其他驅動一樣的資源管理器界面。6.4系列驅動的破解和3.2系列相似,也是用替換文件來完成,但是MOTO S805的奇怪之處就在於驅動沒破解則傳輸正常、一旦用替代文件法破解就不能正常發聲(至少我的是這樣),因此我最後使用的是5.0.5,此版本網上流傳的破解是運行一個crack文件。IVT還有一個缺點是開機之後要手動連通,比方說,在登陸界面,不能使用藍牙鍵盤輸入密碼。

版本
破解方式
性能
3.2
替換dll和exe文件
界面單一; 性能可能最穩定; 破解後可能不能連接Moto S805
5.0.5
運行Crack文件
界面改良; 性能穩定; 運行後可以穩定連接Moto S805
6.4
替換dll和exe文件
界面改良; 性能穩定; 破解後可能不能連接Moto S805


綜上來說,如果使用雜牌藍牙適配器,一般只能用微軟的驅動;如果使用博通的芯片,最省心,可以直接使用Widcomm驅動;如果使用CSR芯片,可以考慮破解Widcomm驅動,如果出現問題則使用IVT驅動,3.2或者6.4的破解存在問題的情況下可以換用5.0.5,反之亦然。


[ 本帖最後由 einheria 於 2009-2-25 11:07 編輯 ]

Monday, February 15, 2010

Apple's HFS+ driver for Windows

I need to access the HFS+ partition in my external hard disk. But, Windows does not recognized HFS+ partition. There are few solutions. One is to buy MacDrive which can bring both read and write ability to Windows. But, I don't want to "write" to HFS+ partition which can potentially mess up the file system. Besides, it's not free. Or one can use HFSExplorer which is free and open source. But, one can not operate on the file directly through native Windows interface which is counter-intuitive.
Recently, I found that Apple's Bootcamp contain driver which can let Windows recognized and read HFS+ partition. This let me wonder can I extract the driver from Bootcamp and install the driver in Windows. After some search, bingo!, I found the solution here: http://efixusers.com/showthread.php?p=7388
In short, all you need is two system drivers from Bootcamp, AppleHFS.sys and AppleMNT.sys, and a little registry tweak.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppleHFS]
"Type"=dword:00000002
"ErrorControl"=dword:00000001
"Start"=dword:00000000
"Group"="File System"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppleMNT]
"Group"="System Bus Extender"
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"Start"=dword:00000000

Tuesday, February 09, 2010

How to disable zip & cab compressed folder in Windows 7?

The following two (2) keys need to be deleted from the registry:
For zip files delete the regkey
HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}

For cab files delete
HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}

Tuesday, February 02, 2010

Optimization of Using SSD Under Win 7

Free software to optimized SSD under Win 7
http://www.ocztechnologyforum.com/forum/showthread.php?t=49779

To Disable Hibernate
powercfg -h off

Free RAMDisk software
http://memory.dataram.com/products-and-services/software/ramdisk

Sunday, January 24, 2010

Using Skype Under Linux

I have been fighting to get webcam work in Skype under Linux for few days. At first, it didn't work at all. Later, I figure out I need to put
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
before using Skype.

But, this didn't solve all the problem.
So, I kept searching and final found some weird X Window error:

X Error, request 132, minor 18, error code 8 BadMatch (invalid parameter attributes)

And found the solution here:
http://forum.skype.com/index.php?showtopic=411441&st=60&p=2124231&#entry2124231


export XLIB_SKIP_ARGB_VISUALS=1