試過幾次發現....
GAE沒辦法用習慣用的x.x.x版本編號
看來只能從他預設的1開始整數的跳號了
馬克杯之我在澎湖天氣晴
雨季過了,該是晴天了嗎?
Monday, August 02, 2010
Sunday, July 04, 2010
How run Trac as service
Run Trac as service
ref http://trac.edgewall.org/wiki/TracOnWindowsStandalone
1.download Windows Server 2003 Resource Kits
2.C:\Program Files\Windows Resource Kits\Tools>instsrv.exe
"C:\Program Files\Windows Resource
Kits\Tools\srvany.exe"
3.open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
in RegEdit
4.create subkey *Parameters*, below which you will create 2 string values:
5.create string value *Application* with the full path to python.exe
6.create string value *AppParameters* with the set of desired tracd
parameters, e.g. "c:\Python26\Scripts\tracd-script.py --port 8080
c:\path\to\trac" (without the quotes)
7.open the Services tool (somewhere in the administrative tools in the
Windows control panel) and start your service
delete trac service
1.open the Services tool ,stop
2.in cmd run "sc delete"
ref http://trac.edgewall.org/wiki/TracOnWindowsStandalone
1.download Windows Server 2003 Resource Kits
2.C:\Program Files\Windows Resource Kits\Tools>instsrv.exe
Kits\Tools\srvany.exe"
3.open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
in RegEdit
4.create subkey *Parameters*, below which you will create 2 string values:
5.create string value *Application* with the full path to python.exe
6.create string value *AppParameters* with the set of desired tracd
parameters, e.g. "c:\Python26\Scripts\tracd-script.py --port 8080
c:\path\to\trac" (without the quotes)
7.open the Services tool (somewhere in the administrative tools in the
Windows control panel) and start your service
delete trac service
1.open the Services tool ,stop
2.in cmd run "sc delete
Wednesday, March 17, 2010
在linux下使用網芳連結
因為使用的linux沒有ftp
要傳檔案到該台機器就無從下手
後來找到這個方法
用smbmount來處理
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
基本上是一目了然,一樣劃葫蘆就可以用了
要傳檔案到該台機器就無從下手
後來找到這個方法
用smbmount來處理
在command line輸入smbmount就跑出下面的example可以參考
For example:mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
基本上是一目了然,一樣劃葫蘆就可以用了
Thursday, December 17, 2009
快速備份/設定IP(轉貼)
需要帶著notebook到處跑的人, 除非每個地方都使用DHCP, 否則每到一個地方都得更改TCP/IP的IP address, 有些專為此目的而設計的軟體, 像是IP Changer. 但多裝個軟體, 又讓系統肥了一些, 而且使用上並不是非常方便.
我的作法是利用dos batch file + netsh指令來完成此目的.
我常待的地方有三個, 公司裡是private ip, 家裡是fixed ip, 朋友公司裡是用DHCP, 所以我做了三個batch file如下, 各有一行指令, 放在桌面上.
company.bat
netsh interface ip set address "區域連線電腦" static 192.168.1.23 255.255.255.0 192.168.1.254 1
home.bat
netsh interface ip set address "區域連線電腦" static 168.95.1.1 255.255.255.0 168.95.1.254 1
dhcp.bat
netsh interface ip set address "區域連線電腦" dhcp
要換ip時, 只要double click正確的batch file就ok了. 如果你要使用的話, 必須把"區域連線電腦"改成你的網路裝置名稱, 並修改ip address和netmask.
It is easy.
company.bat
netsh interface ip set address "區域連線電腦" static 192.168.1.23 255.255.255.0 192.168.1.254 1
netsh interface ip add address "區域連線電腦" 10.1.0.1 255.255.0.0
不過綁定2個IP倒是不知道怎麼個弄法?
從通信>.網路連線>區域網路連線>內容(tcp/ip)>一般.>進階>ip設定(進階tcp/ip設置值)
ip位址設置 ip位址/子網遮罩
如果是DNS的, 因為使用的DNS server允許從這三個地方connect.
較完整的作法是
at company :
netsh -c interface dump > company.txt
at home :
netsh -c interface dump > home.txt
company.bat
netsh -f company.txt
home.bat
netsh -f home.txt
使用netsh
int ip
dump
把顯示的配置copy&paste做成指令碼如config.sh
再netsh exec config.sh
多IP也一樣
我的作法是利用dos batch file + netsh指令來完成此目的.
我常待的地方有三個, 公司裡是private ip, 家裡是fixed ip, 朋友公司裡是用DHCP, 所以我做了三個batch file如下, 各有一行指令, 放在桌面上.
company.bat
netsh interface ip set address "區域連線電腦" static 192.168.1.23 255.255.255.0 192.168.1.254 1
home.bat
netsh interface ip set address "區域連線電腦" static 168.95.1.1 255.255.255.0 168.95.1.254 1
dhcp.bat
netsh interface ip set address "區域連線電腦" dhcp
要換ip時, 只要double click正確的batch file就ok了. 如果你要使用的話, 必須把"區域連線電腦"改成你的網路裝置名稱, 並修改ip address和netmask.
It is easy.
company.bat
netsh interface ip set address "區域連線電腦" static 192.168.1.23 255.255.255.0 192.168.1.254 1
netsh interface ip add address "區域連線電腦" 10.1.0.1 255.255.0.0
不過綁定2個IP倒是不知道怎麼個弄法?
從通信>.網路連線>區域網路連線>內容(tcp/ip)>一般.>進階>ip設定(進階tcp/ip設置值)
ip位址設置 ip位址/子網遮罩
如果是DNS的, 因為使用的DNS server允許從這三個地方connect.
較完整的作法是
at company :
netsh -c interface dump > company.txt
at home :
netsh -c interface dump > home.txt
company.bat
netsh -f company.txt
home.bat
netsh -f home.txt
使用netsh
int ip
dump
把顯示的配置copy&paste做成指令碼如config.sh
再netsh exec config.sh
多IP也一樣
Tuesday, October 06, 2009
加入Apple Developer Connection流程
Monday, August 03, 2009
[轉貼]教你做《三國志》雙開程式,不用再求人
標題:教你做《三國志》雙開程式,不用再求人~❤
作者: nana 日期: 2009-08-03 13:31
其實自己動手做一個《三國志》online 的多開程式並不難,現在本小姐就手把手的教你做視窗多開程式。
以後別再跑去到處求人了,凡是遇到改版,就用我教的這個方法去做就好。
步驟:
1:下載 UltraEdit 軟件,很多地方都可以下的到,以下這個是共享繁體版:
http://www.softking.com.tw/soft/download.asp?fid3=17607
2:安裝好 UltraEdit,並用 UltraEdit 打開 RTKOnline 文件夾中的 RTKOnline.bin 文件
(該文件路徑通常在你電腦的:C:\Program Files\GAMEFLIER\RTKOnline 裡面)
3:打開 RTKOnline.bin 文件後,按 Ctrl+F(即是搜索),在查找的框框裡面輸入 74628b44 ,按 [找下一個]
4:找到上述字串後,將 74 62 8b 44 中的 74 修改為 EB
5:最後將改好的 RTKOnline.bin 另存為 RTKOnline.exe,覆蓋原先的EXE文件即可。如果你不想覆蓋原來的文件,可以將改好的文件名字取為 RTKOnline2.exe,然後將捷徑放到桌面上。
完成。現在你想開幾個視窗都可以了。
我已經做好了一個,測試過沒問題完全OK,只是本站流量有限,所以就不將做好的程式拿出來公開下載嚕。
有需要的請自己動手做一個吧,整個過程用不了 10 分鐘就可以完成,一勞永逸。
以後別再跑去到處求人了,凡是遇到改版,就用我教的這個方法去做就好。
步驟:
1:下載 UltraEdit 軟件,很多地方都可以下的到,以下這個是共享繁體版:
http://www.softking.com.tw/soft/download.asp?fid3=17607
2:安裝好 UltraEdit,並用 UltraEdit 打開 RTKOnline 文件夾中的 RTKOnline.bin 文件
(該文件路徑通常在你電腦的:C:\Program Files\GAMEFLIER\RTKOnline 裡面)
3:打開 RTKOnline.bin 文件後,按 Ctrl+F(即是搜索),在查找的框框裡面輸入 74628b44 ,按 [找下一個]
4:找到上述字串後,將 74 62 8b 44 中的 74 修改為 EB
5:最後將改好的 RTKOnline.bin 另存為 RTKOnline.exe,覆蓋原先的EXE文件即可。如果你不想覆蓋原來的文件,可以將改好的文件名字取為 RTKOnline2.exe,然後將捷徑放到桌面上。
完成。現在你想開幾個視窗都可以了。
我已經做好了一個,測試過沒問題完全OK,只是本站流量有限,所以就不將做好的程式拿出來公開下載嚕。
有需要的請自己動手做一個吧,整個過程用不了 10 分鐘就可以完成,一勞永逸。
Friday, July 03, 2009
msn超快速雙開法(9.0)
MSN 9.0雙開:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger]
"MultipleInstances"=dword:00000001
然後按另存新檔
存檔類型選 所有檔案
檔名隨便取,只要把.txt改成.reg就可以了
存好之後,點那個檔案兩下按是、確定
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger]
"MultipleInstances"=dword:00000001
然後按另存新檔
存檔類型選 所有檔案
檔名隨便取,只要把.txt改成.reg就可以了
存好之後,點那個檔案兩下按是、確定
結束....夠快吧
Subscribe to:
Comments (Atom)






