Springboard icons arrangement

三月 4, 2013

Location : /var/mobile/Library/SpringBoard

File : IconSupportState.plist

backup & restore to have same arrangement

can be used across different iphones

廣告

Manually change VM’s mac address

四月 9, 2011

1. Edit the VMX file of the VM
2. Change the following line from ethernetN.addressType="vpx" to ethernetN.addressType="static" (N is the number of your ethernet adapter, usually 0)
3. Next change the line “ethernetN.GeneratedAddress” to “ethernetN.address” and then change the current MAC address to “00:50:56:XX:YY:ZZ” (again N is the number of your ethernet adapter and XX is a valid hex number between 00 and 3F, and YY and ZZ are valid hex numbers between 00 and FF. The value for XX must not be greater than 3F in order to avoid conflict with MAC addresses that are generated by the VMware Workstation and VMware GSX Server products.)

Power your VM back on. Login to the OS, go to the CMD prompt and type “ipconfig /all”, your manually assigned MAC address should be listed for the NIC that you changed

Mac OS installation procedures for AMD

三月 12, 2011

1. Downloaded the 10.6.6 Combo Update from Apple’s website and ran it.
http://www.macupdate.com/app/mac/13052/apple-mac-os-x/

2. After installing combo update, do not restart when prompted.
Instead, download this legacy kernel and install it
http://3rr0rists.net/driver/legacy-kernel-10-6-6-10-6.html

Note: You may need to close the 10.6.6 Update first, otherwise they freeze.

3. Then restart manually after legacy kernel is installed.

4. If you have a problem booting it, boot it with EFI X Boot.

http://3rr0rists.net/osx86/new-pirate-efi-x-boot-cd-v0-3-released.html

Or you may use darwin_snow.iso(original one), some claim it is faster.

Emule無法連線到Kad網絡

二月 2, 2011

1. 先連 ed2k 網路*
2. 用全球搜尋(伺服器),隨便找個檔案下載
3. KAD 連上了

*ed2k網路在你安裝後應該有幾個,如果一個也連不上可試試這兩個.
88.191.81.111:7111
88.191.228.66:7111

安裝新network adapter問題

一月 25, 2011

Windows 無法自動將 IP 通訊協定堆疊繫結至網路介面卡。

發生這問題可能是你曾安裝過另一個無線網卡
1.在開始,搜尋程式及檔案裡,輸入cmd
2.按Ctrl+Shift+Enter
3.輸入netsh winsock reset,按enter
4.輸入netsh interface ipv4 reset,按enter
5.輸入netsh interface ipv6 reset,按enter
6.重新啟動你的電腦

Windows cannot automatically bind the IP protocol stack to the network adapter
1. First you have to type cmd in the Start Search text box.

2. And after this you have to push Ctrl+Shift+Enter keyboard shortcut to execute a cmd as an Administrator. Allow elevation.

3. Type netsh winsock reset in the cmd , and then press the Enter key.

4. Then, netsh interface ipv4 reset
5. netsh interface ipv6 reset
6. Restart your Computer.

由string中提取由某符號(本例用",")相隔的各個data

七月 12, 2010

要list1,command1,text1,text2

Dim first, sec As Integer
Dim str1 As String
Private Sub Command1_Click()
On Error Resume Next
first = 0
sec = 0
str1 = Text1
Text1 = Text1 & “,"
For i = 1 To 40
sec = InStr(first + 1, Text1, “,") ‘開頭1 ,insert
If sec < first Then Exit For
Text1.SelStart = first ‘開頭0

Text1.SelLength = sec – first – 1
List1.AddItem (Text1.SelText)
first = sec
Next i
Text1 = str1
For i = 0 To List1.ListCount
Print List1.List(i)
Next i
End Sub

本例由text1提取到list1,可提取list1.list(i)到其他地方
當然可以換其他符號,要同時換兩處

OpenProcess時(eg.修改memory) 可能要提升權限

六月 22, 2010

RtlAdjustPrivilege

宣告RtlAdjustPrivilege

Public Declare Function RtlAdjustPrivilege Lib “ntdll.dll" (ByVal Privilege As Long, ByVal Enable As Long, ByVal CurrentThread As Long, Enabled As Long) As Long

放在form_load
Call RtlAdjustPrivilege(SE_DEBUG_PRIVILEGE, 1, 0, 0)

Hello world!

二月 19, 2009

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!