2008年12月18日 星期四
單純想在收錄照片的光碟中加上自動播放功能,參照網路上資料後,最後選定"PhotoCDBrowser"這套軟體作為製作工具。PhotoCDBrowser 製作過程簡單,檔案小巧(約460K)又是免費軟體,推薦使用。
1. 首先由網路上下載 PhotoCDBrowser 軟體。
官方 http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Viewers/PhotoCDBrowser.shtml
2. 將ZIP檔解壓縮到準備製作光碟的資料夾, 例如 c:\photocd\
3. 執行PhotoCDBrowser.exe 選定語系後,按滑鼠右鍵選擇關閉程式。
4. 解壓縮後可見到3個子資料夾,請另建立一個可放照片的資料夾(內部可含有子資料夾)例如: c:\photocd\photo\ ,再建立一個放MP3音樂檔的資料夾,例如 c:\photocd\music\
5. 將照片直接COPY到放照片的資料夾中,可包含子目錄
6. 將MP3 COPY 到放音樂的資料夾中
7. 以記事本開啟 photocdbrowser.ini 檔, 編輯內部的參數設定
---------------------------------------------
[General Settings]
.
.
.
PathToStart=.\photo\ <-- 指定開啟照片之資夾
.
.
.
[Slideshow Settings]
SlideShowAutoExec=1 ;(0-none, 1-run total slideshow, 2-run small slideshow) <-- 自動執行照片流覽
SlideShowAutoExecScript=
SlideShowDelay=3.00 ;in seconds (1.00-600.00) <-- 換片時間
.
.
.
SlideShowTotalRandom=1 ;(1-yes, 0-no) <-- 隨機播放照片
.
.
.
[Music Settings]
Music=1 ;(0-off, 1-on) <-- 開啟音樂功能
MusicPresent=a ;(a-always, s-only in slideshow)
MusicSearchMask=.\music\*.mp3 <-- 指定音樂資料夾
MusicRandom=1 ;(1-yes, 0-no) <-- 隨機播放音樂
.
.
.
-----------------------------------------------------------------
8. 另在光碟根目錄中建立 autorun.inf 檔案內容如下
[AutoRun]
Open=PhotoCDBrowser.exe
9. 完成以上動作後, 請不要再開啟 PhotoCDBrowser.exe, 不然PhotoCDBrowser.ini 內容會再次變動,直接將c:\photocd\ 下的內容燒成一資料光碟片。
參考自" SO'生活旅遊日誌"
2008年12月17日 星期三
Pymol 筆記
1. 取得檔案 fetch 1guv
2. 選擇胺基酸 à 右下角”S”白字
3. 標示某胺基
select bb, name c+o+n+ca # Atoms included in the
# named-selection are indicated
# with pink dots in the viewer.
color yellow, name c+o+n+ca # Backbone are colored yellow,
l color blue, cys/
l show sticks, cys/
l show cartoons, a/10-12/ca
l color white # Everything turns white. This looks fine on the default black background, but causes disappearance if you've changed the background to white.
l color orange, pept # Remember that "pept" is our object−name, so the entire object is colored orange.
l color green, resi 50+54+58 # The representation of residues numbered 50, 54 and 58 is colored green.
l color yellow, resi 60−90 # The representation of residues numbered 60 through 90 is colored yellow.
l color blue, akeeper # Residues which were collected in the named selection "akeeper," are colored blue.
l color red, ss h # The representations of helical residues are colored red.
l color yellow, ss s # The representations of beta sheet residues are colored yellow.
l color green, ss l+"" # The representations of loop and unassigned residues are colored green.
4. Secondary Structure Assignment
l show cartoon
l alter 11-40/, ss='H' # assign residues 11-40 as helix
l alter 40-52/, ss='L' # assign residues 40-52 as loop
l alter 52-65/, ss='S' # assign residues 52-65 as sheet
l rebuild # regenerate the cartoon
5. Cartoon Types
l set cartoon_color,blue
l set cartoon_cylindrical_helices,1
l set cartoon_fancy_helices, 1
l set cartoon_smooth_loops, 1
l set cartoon_highlight_color, grey
l set cartoon_transparency, 0.5
6. 高品質輸出
l ray 2400,2400
l file à save image as à PNG
7. Global Protein Surface Survey Plugin
l place “GPSSpyMOL.py” file into the following directory: $PYMOLPATH/module/pmg_tk/startup/
l "Plugin" menu à “Global Protein Surface Survey”.
l "GPSS Surfaces All" shows all CASTp and ligand, metal, and peptide surfaces..
l Enter a PDB identification code:
l The plugin will load the PDB and all the associated surfaces. All pockets are shown in surface mode. Simply click on the surface name to toggle on/off.
8. Hydrogen Bonding
l distance 542/oe1,538/ne
l distance 542/oe2,538/nh2
l hide labels, dist01
l label (542/oe1), " %s" % (" E542")
l label (538/ne), " %s" % (" R538")
9. Show Sticks ball
l # turn on the representation for everything in PyMOL
preset.ball_and_stick('all')
l Balls with sticks really look nice. You can even create your own style of this, with control over sphere_scale and stick_radius.
hide lines
show sticks
show spheres
set stick_radius=0.1
set sphere_scale=0.25
l Also OK:
show sticks
set valence, on
set stick_ball, on
set stick_ball_ratio, 3
set stick_radius, 0.12
10. Movies
load test/dat/pept.pdb
# load a structure
mset 1 x60
# define the movie
util.mrock(1,60,10,1,1)
# issues mdo commands to create +/− 10 deg. rock over 60 frames
set ray_trace_frames=1
set cache_frames=0
mclear
mpng mov
# will create mov0001.png, mov0002.png, etc.
標籤: Bioinfo
2008年12月15日 星期一
Mio A201恢復系統的預設值
打開電池蓋
開關關閉再打開
將電池裝進去
先按螢幕旁的錄音鍵
螢幕上出現CoolStar
電池蓋蓋上去
標籤: PDA
2008年12月7日 星期日
1. 網路線以 LAN to LAN port 連接
2. 關閉 wl-520g的 DHCP 功能
完成設定。
標籤: Hardware