Use Stellarium to Simulate 2009.07.22 Solar Eclipse
小朋友反應還不錯,畢竟依照天文科學教育館的網站上的說法,這可是本世紀難得一件是天文景象呢!
以下的影片就是模擬2009年7月22日的日全蝕,觀測地點在台北,算是日偏蝕而已吧!

二、接下來『立即註冊』
三、選擇您的部落格平台,然後點選『下一步(N)』。
四、填入您部落格平台上的帳號密碼
五、直接按『確定』即可。(無-不要上載圖片)
六、選擇您要發佈至的部落格。(假如一個帳號有多個的話)
七、編輯文章完之後可以直接在左上角選擇『發佈』成文章或是草稿。
後記:不能上傳圖片或檔案,對部落格客來說實在一大缺點,所以Word 2007支援部落格這個功能,有點像雞肋一樣,另外,回到blogger上編修時,有時會出現不被blogger接受的tag,所以說,玩玩就好!^^
七月三日收到一封Email,來自於spreadfirefox.com,原來是2008 Firefox 3下載日的成功通知,內容如下:





Today I feel my Live Messenger has some problems, when start always show me "failure" and close itselft. So I uninstall it and then link to the MSN official website to download the software. On the website, Windows Live Messenger provide new vesion to download and preview beta version. Which one of it include a sofeware "Windows Live Writer". Curious play. This is what I want! ! ! !
As for what is Windows Live Writer? Below is the describe on his official website, the home page content from http://get.live.com/betas/writer_betas
Welcome to the Windows Live Writer team blog! We are excited to announce that the Beta version of Windows Live Writer is available for download today.
Windows Live Writer is a desktop application that makes it easier to compose compelling blog posts using Windows Live Spaces or your current blog service.
Blogging has turned the web into a two-way communications medium. Our goal in creating Writer is to help make blogging more powerful, intuitive, and fun for everyone.
Writer has lots of features which we hope make for a better blogging experience. Some of the ones we are most excited about include:
WYSIWYG Authoring
The first thing to notice about Writer is that it enables true WYSIWYG blog authoring. You can now author your post and know exactly what it will look like before you publish it. Writer knows the styles of your blog such as headings, fonts, colors, background images, paragraph spacing, margins and block quotes and enables you to edit your post using these styles.
Writer also includes other views including HTML source-code editing and web preview mode.
Now you don’t have to waste time going through the process of publishing, refreshing, previewing, and tweaking your post to get it looking the way you want. It’s all right there in Writer as you create your post.
.......
So, simply, this is a blog editor, can support general functions of blog editor. It can be off-line editing, support many blog services, and so on.
--------------------------------------
今天覺得自己的Live Messenger有點問題,怎麼啟動都會出現"啟動失敗",於是就到MSN的官方網頁想下載新的即時通訊,就發現Windows Live Messenger搶鮮版。其中多了一個Windows Live Writer,好奇之下就裝起來玩。發現,這正是我要的!!!!
至於什麼是Windows Live Writer?下面是他官方網站的介紹,取自http://get.live.com/betas/writer_betas的首頁內容
與您的部落格服務相容
Writer 能將內容發佈至 Windows Live Spaces、Sharepoint、WordPress、Blogger、LiveJournal、TypePad、Moveable Type、Community Server 等多家部落格服務。
「所見即所得」的編輯功能
Writer 會記住您的部落格所使用的視覺主題。因此,當您在編寫自己的部落格文章時,就能在發布之前預先看到實際的發佈結果。
發佈豐富的媒體內容
在 Writer 的協助之下,發佈豐富的媒體內容就像傳送電子郵件一般簡單。只要插入您想要的相片、地圖、標籤以及各式各樣的酷炫內容,並於完成自訂之後按一下「發佈」即可 - 沒錯,就是這麼簡單!
強大的編輯功能
有了 Writer,您只需要按一按滑鼠,就能立即插入並編輯表格、一面輸入文字一面進行拼字檢查,並為您的內容設定格式及超連結,讓您能夠無比輕鬆地建立引人注目的部落格文章。
離線編輯
從現在起,想要隨時隨地編輯自己的部落格再也不是夢想。Writer 會自動維持您的部落格草稿和離線變更之間的同步化,讓您再也不用擔心內容不一致的問題。
所以,簡單來說,這就是一個部落格編輯器,可以支援多個部落格的編輯器、可以離線編輯、集合所有編輯器常用的功能等等。
getPreviewText()
---
修改前
global $wgOut, $wgUser, $wgTitle, $wgParser;
修改後
global $wgOut, $wgUser, $wgTitle, $wgParser, $wgRequest;
---
---
修改前
wfProfileIn( $fname );
if ( $this->mTriedSave && !$this->mTokenOk ) {
修改後
wfProfileIn( $fname );
if ($wgUser->getOption( 'showtoolbar' ) && !$wgUser->getOption( 'riched_disable' ) && !$this->previewOnOpen() ) {
$oldTextBox1 = $this->textbox1;
$this->importFormData( $wgRequest );
}
if ( $this->mTriedSave && !$this->mTokenOk ) {
---
---
修改前
wfProfileOut( $fname );
return $previewhead . $previewHTML;
修改後
if ($wgUser->getOption( 'showtoolbar' ) && !$wgUser->getOption( 'riched_disable' ) && !$this->previewOnOpen() ) {
$this->textbox1 = $oldTextBox1;
}
wfProfileOut( $fname );
return $previewhead . $previewHTML;
---
includes/Parser.php (必須的)
這個修改為使其正確的轉換文本。
doBlockLevels()
修改前
$output .= $this->closeParagraph().'<pre>';
修改後
$output .= $this->closeParagraph().'<pre class="_fck_mw_lspace">';
includes/SpecialPreferences.php (可選的)
這裡的修改是在"我的參數設置"裡新增一個"Rich Editor"選項,用來控制是否使用FCKeditor。如果沒有此修改,FCKeditor的啟用與否將全部列在"雜項"裡。
mainPrefsForm()
修改前
global $wgLivePreview;
$wgOut->addHTML( '<fieldset><legend>' . wfMsg( 'textboxsize' ) . '</legend>
<div>' .
wfInputLabel( wfMsg( 'rows' ), 'wpRows', 'wpRows', 3, $this->mRows ) .
' ' .
wfInputLabel( wfMsg( 'columns' ), 'wpCols', 'wpCols', 3, $this->mCols ) .
"</div>" .
$this->getToggles( array(
'editsection',
'editsectiononrightclick',
'editondblclick',
'editwidth',
'showtoolbar',
'previewonfirst',
'previewontop',
'minordefault',
'externaleditor',
'externaldiff',
$wgLivePreview ? 'uselivepreview' : false,
'forceeditsummary',
) ) . '</fieldset>'
);
修改後
global $wgLivePreview;
$wgOut->addHTML( '<fieldset><legend>' . wfMsg( 'textboxsize' ) . '</legend>
<div>' .
wfInputLabel( wfMsg( 'rows' ), 'wpRows', 'wpRows', 3, $this->mRows ) .
' ' .
wfInputLabel( wfMsg( 'columns' ), 'wpCols', 'wpCols', 3, $this->mCols ) .
"</div>" .
$this->getToggles( array(
'editsection',
'editsectiononrightclick',
'editondblclick',
'editwidth',
'showtoolbar',
'riched_disable', //add new tab (Rich Editor)
'previewonfirst',
'previewontop',
'minordefault',
'externaleditor',
'externaldiff',
$wgLivePreview ? 'uselivepreview' : false,
'forceeditsummary',
) ) . '</fieldset>'
);
# FCKeditor
# load FCKeditor settings into separate tab
if (!$wgUser->getOption( 'riched_disable' )) {
$wgOut->addHTML( '<fieldset><legend>' . wfMsg( 'textrichditor' ) . '</legend>' .
$this->getToggles( FCKeditor::$nsToggles ) . '</fieldset>'
);
}
修改完了就可以去試試看啦!
後記:不知道有沒有可以批次(大量)新增帳號的extense?
| A | B | C | |
|---|---|---|---|
| 1 | username | source username | source password |
| 2 | picasso | picasso | 12345 |
| 3 | claude.monet | claude.monet | 12345 |
| 4 | lilies | lilies | 12345 |
When browse through China websites usually would being to pop out several advertise pages, or having to install some components and continue to browse. Or perhaps downloaded software from the China websites that be bedded other softwares. It must be forced to install and can use original software. Even the RM or RMVB format files that because of oneself the file format had auto function of opening the web page be used to infix advertisement. These example are too numerous to enumerate.
Understood not very much before, but know finally recently those malice software is what! Because I also am ever and deeply harmed by it!
The malice software lies in the virus with regular software or business software. It's classification contain a lot of kinds.( The follows are sorting and classifing by myself. ) for examples:
Kidnap home page: This kind of malice software will distort the settings of the browser and force an user to browse certain one page with the Plugin, the browser assistance tool(BHO) or the Winsock LSP(the Layered Service Provider), and usually can't change or move. These softwares have : 3721 networks, Tao-Bao net, BT launch machine, DuDu accelerator, CNNic Chinese to the Internet, 3721 Internet Assistant, 888y, 9i5, 37021, instafinder, cnww, okww etc..
The Malicious shareware: This kind of softwares use common used software to bind the malice software and lure by money offers or the trap or other methods to let the user to register, or force to install to the computer directly. Be often used to be the tools that carry with the malice software : Media Player Classic, QQ2005, KUGOO, Trojan expert 2006, WINRAR, Skype crack version etc., These softwares have no wrong. Wrong is the person who joins the malice software.
Spyware and Track ware: This type usually install secretly in the computer to be a rootkit(back door). It records the user's usage habit, information, account number, password etc. Familiar of in addition to the Trojan programs, the others are 3721 networks, GetRight, Keyloggers, Dialers etc..
Paralyze the anti-virus software or other softwares: Some malice softwares avoid the anti-virus softwares or anti-hack softwares to detect for the sake of the protection itself and after install them make duplicate by their own in the meantime and carry out a lot of processes first. Maybe they open a lot of processes to paralyze an anti-virus software and letting the anti-virus software can't thoroughly clearance; Perhaps they paralyze the bandwidth flooding. This kind of software contain: DMCase desktop tools, BankAsh-A(the bank cash) etc..
Advertise software(Adware): Reach the advertisement benefit or earning advertising reward, the softwares will open many advertisement Windows compulsorily. More than the behavior, user can't remove softwares completely. For example: IE_WinServerName, vste, 37ss mutation, NetSystem, DiRVIn etc..
The vedio advertises: This type most occur in the RM or the RMVB files. Because of oneself design to be haven the function of the automatic performance affairs(events) and just be made to use to be advertise tool. This behavior of the video let user to abominate extremely.
The top tool of the clearance malice softwares probably is "360 Safe Bodyguard ". This software author can be treated as the first ancestor of the malice software. But now he repent and develop this software to let people avoid the banes of the malice software. Another software is "KillSoft ", being called Switzerland knife of the system maintenance.
If want to clean the advertisement of the RM or RMVB files. We can clean the RM advertisement by the freeware Real Fileter or shareware "Real Producer Plus" and the "SuperRrabbit".
"360 Safe Bodyguard" is more effectively to the malice software of the China. To remove malice softwares of the western word have to depend on the "Ad-Aware SE "! However "Ad-Aware SE" only the personal version doesn't need to be paid and other of all want to pay. And The tool of the Microsoft oneself Microsoft Windows Malicious Software Removal Tool can be try.
In fine, if meet a web page of having the oddness behavior or the free softwares that free and have full functions, have to notice more by ordinary time. Be carelessly very easy to become a victim by malice softwares.
P.S: If use the China softwares, the simplified Chinese interface of softwares usually will be a disorderly code. By this way, We can use the Microsoft AppLocale .
惡意軟體介於病毒與正規或商業軟體之間,其分類有很多種,以下是我自己整理分類的,譬如說有:
綁架首頁:這種惡意軟體會篡改瀏覽器的設定,以瀏覽器的Plugin、瀏覽器輔助工具(BHO) 或是Winsock LSP(Layered Service Provider)的形式來強迫使用者瀏覽某一畫面,而通常無法更改或移除。這些軟體一般有:3721網路實名、淘寶網、 BT發動機、 DuDu加速器、CNNic中文上網、上網助手、888y、9i5、37021、instafinder、cnww、okww等等。
惡意共用軟體(Malicious shareware):這種會利用各種常用軟體來綑綁惡意軟體,用利誘或陷阱或其他手段來讓使用者註冊,或直接強迫安裝到使用者的電腦裡。一般常見被利用 來綑綁的軟體有:暴風影音(Media Player Classic)、QQ2005、KUGOO、木馬專家2006、WINRAR、Skype破解版等,這些軟體本身並沒有錯,錯的是加入惡意軟體的人。
間諜軟體或(Spyware)是行為紀錄軟體(Track ware):這一類的通常偷偷安裝在電腦上當作後門(rootkit),紀錄使用者的使用習慣、資訊、帳號、密碼等資料。常見的除了木馬程式之外,另有3721網路實名、GetRight 、Keyloggers、 Dialers等等。
癱瘓防毒軟體或其他軟體:有的惡意軟體為了保護自己避免被防毒軟體或防駭軟體偵測到,在安裝好的同時先自我複製且執行一堆程序,譬如開啟一堆視窗來癱瘓防毒軟體,就算防毒軟體抓得到卻也砍不完;又或者是癱瘓頻寬(Bandwidth Flooding)等惡意作為。這一類的大概有:DMCase桌面媒體、BankAsh-A (銀行現金)等。
廣告軟體(Adware) :為個達到廣告效益或賺取廣告費,這類軟體會強制開啟許多廣告視窗,更甚者可能無法完全移除。例如IE_WinServerName、vste、37ss變種、NetSystem、DiRVIn等等。
影片廣告:這一類多半發生在RM或RMVB檔,因本身設計就具有自動執行事件(events)的功能,只是被利用來當作廣告工具。這會讓觀賞影片者不勝其擾。
其他:.....
目前所指比較利害的清除流氓軟體的工具大概是"360安全衛士 ",此軟體作者可說是惡意軟體的始祖,後來"改邪歸正"來發展此軟體以讓人們避免惡意軟體的危害。另外一套是"完美卸載",俗稱系統維護的瑞士刀。
如果是要去除RM或RMVB上的廣告可用免費軟體RealFilter(Download from my site)或者使用需付費的超級兔子去除RM廣告軟體或是Real Producer Plus來移除。
360安全衛士對大陸的惡意軟體黑幫比較有效,那西洋的流氓軟體就得靠Ad-Aware SE 囉!不過Ad-Aware SE只有Personal版的才不需付費,其他的都要付費。另外還有微軟自家的Microsoft Windows Malicious Software Removal Tool ,也可以試試看!
另外,如果使用大陸的軟體,簡體字畫面在其他語系通常會是亂碼,這時候Microsoft AppLocale 是可以使用的工具之ㄧ。
總之,如果遇到有著奇怪行為的網頁或者看起來免費又大碗的免費軟體,這時候得更加注意,一不小心很容易就成為被流氓欺負的受害者了。
In addition to eAccelerator I found a tool that can accelerate for the PHP. However the person who use it less apparently.
Install it also easily. But you must install php-devel befor. Because we will use phpize later.
The suggestion of the official website, if you use php 4 and you want to use 1.03 edition as follows;You use php5 above and you better went to use 1.20-rc1 edition
1.03(stable):http://210.51.190.228/pub/XCache/Releases/xcache-1.0.3.tar.gz
1.20-rc1(newest):http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz
#cd /usr/local/src
#wget http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz
#tar zxvf xcache-1.2.0-rc1.tar.gz
#cd xcache
#phpize // use phpize to create configure file.
#./configure --enable-xcache --enable...
#make
#make install
#cat xcache.ini >> /etc/php.ini
#$EDITOR /etc/php.ini //alter xcache settings to what you want and don't forget
to restart your web server.
Xcache also has Web UI:
Copy the directory "admin" to you web root. Maybe you create a directory for Xcache's admin.
#mkdir /your/webroot/xcache
#cp -R admin/ /your/webroot/xcache/
# $EDITOR /etc/php.in
Alter the username and password to what you want.
[xcache.admin]
xcache.admin.user = "admin"
; xcache.admin.pass = md5($your_password)
xcache.admin.pass = ""
--------------------------------------------------------------------------------
You can use php page to create your password md5 code.
---------------------------------------------------------------------------------
Reatart you web server and connect your Xcache admin URL. ^^
除了eAccelerator之外,我又發現一套可以為php加速的工具,但是似乎欲的人比較少了些。
這套名字叫做Xcache安裝也是同樣簡單,只是前提是要先安裝php-devel,因為後面會用到phpize這個指令。
依據官方網站的建議,如果是php4以下的要用1.03版本,php5以上請使用1.20-rc1的版本
1.03版(stable):http://210.51.190.228/pub/XCache/Releases/xcache-1.0.3.tar.gz
1.20-rc1版(newest):http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz
#cd /usr/local/src
#wget http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz
#tar zxvf xcache-1.2.0-rc1.tar.gz
#cd xcache
#phpize // 使用 phpize 產生configure檔。
#./configure --enable-xcache --enable...
#make
#make install
#cat xcache.ini >> /etc/php.ini
#$EDITOR /etc/php.ini
//修改php.ini的Xcache設定,隨自己的狀況修改;別忘修改之後要重新啟動網頁伺服器。
Xcache 也有網頁控制介面:
把Xcache裡的admin這整個資料夾複製到你的網頁根目錄裡面,也許你會新增一個資料夾來放置。
#mkdir /your/webroot/xcache
#cp -R admin/ /your/webroot/xcache/
# $EDITOR /etc/php.in //修改php.ini裡的xcache的帳號密碼,密碼要填上MD5碼。
[xcache.admin]
xcache.admin.user = "admin"
; xcache.admin.pass = md5($your_password)
xcache.admin.pass = ""
--------------------------------------------------------------------------------
你可以用PHP的工具來產生md5碼
---------------------------------------------------------------------------------
重新啟動網頁伺服器,然後連上你的Xcache admin的URL。收工!輕輕鬆鬆!^^
One day I went to library and use the Internet. When connect to my website and found the reaction speed of the web page was slow and I probably waited for five seconds for loading completely. I thinks that if a foreign person to connect to my website and it must be more slow! Hence I want to accelerate my httpd and I found the eAccelerator. eAccelerator's installion and configure is very simple. I used the rpm method:( Tarball method can be found at nternet. So, I no longer illustrate with example. )
RPM:
Download rpm package from mysite ( FC6/httpd-2.3.3-5/PHP-5.1.6) or search from internet.
#wget http://acmevil.taes.tp.edu.tw/drupal/files/php-eaccelerator-5.1.6_0.9.5-1.fc6.i386.rpm
#rpm -Uvh php-eaccelerator-5.1.6_0.9.5-1.fc6.i386.rpm
Install done.
Configure: /etc/php.d/eaccelerator.ini
zend_extension="/usr/lib/php/modules/eaccelerator.so"
eaccelerator.shm_size = "16"
eaccelerator.cache_dir = "/var/cache/php-eaccelerator" eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
eaccelerator.name_space = ""
eaccelerator.check_mtime = "1"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only = "0"
eaccelerator.compress = "1"
eaccelerator.compress_level = "9"
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"
eaccelerator.allowed_admin_path = ""
Save it. Restart your httpd.
P.S: If you don't have /etc/php.d/eaccelerator.ini and you must add one.
eAccelerator also has web UI:
#cp /usr/share/doc/php-eaccelerator-5.1.6_0.9.5/*.php /your/web/root/eaccelerator
#$editor //your/web/root/eaccelerator/control.php
Alter the usrname and password
/** config **/
$user = "admin";
$pw = "eAccelerator";
/** /config **/
Then connect http://ypur.domainname.com/eaccelerator/control.php
有一天我到圖書館上網。連到我的網站的時候,發現網頁的反應速度慢了一點,我大概等了五秒才全部開好。裡想,那如果是國外的人連到我的網站不就更慢了!於是就找到了eAccelerator。
eAccelerator的安裝非常簡單,尤其是用RPM這個方法:( Tarball 的方法在網路上容易找到,我就不再舉例說明。 )
RPM:
從我的網站 ( FC6/httpd-2.3.3-5/PHP-5.1.6)下載rpm套件或從網路上搜尋適合您的版本。
#wget http://acmevil.taes.tp.edu.tw/drupal/files/php-eaccelerator-5.1.6_0.9.5-1.fc6.i386.rpm
#rpm -Uvh php-eaccelerator-5.1.6_0.9.5-1.fc6.i386.rpm
安裝完了!別懷疑,就這麼簡單!
設定 eaccelerator的設定檔: /etc/php.d/eaccelerator.ini (如果沒有php.d這個資料夾,就把設定檔加在php.ini裡或是新建一個資料夾來符合路徑位置。)
zend_extension="/usr/lib/php/modules/eaccelerator.so"
eaccelerator.shm_size = "16"
eaccelerator.cache_dir = "/var/cache/php-eaccelerator" eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
eaccelerator.name_space = ""
eaccelerator.check_mtime = "1"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only = "0"
eaccelerator.compress = "1"
eaccelerator.compress_level = "9"
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"
eaccelerator.allowed_admin_path = ""
存檔、重新啟動httpd(網頁伺服器)
收工、喝茶去~~~
等等,eAccelerator還有網頁介面的控制,你可以:
#cp /usr/share/doc/php-eaccelerator-5.1.6_0.9.5/*.php /your/web/root/eaccelerator
把php-eaccelerator的doc裡的所有*.php複製到網頁根目錄
#$editor //your/web/root/eaccelerator/control.php
修改control.php裡的帳號跟密碼
/** config **/
$user = "admin";
$pw = "eAccelerator";
/** /config **/
最後連上你control.php的URL就可以了!
喝茶去吧~~~ ^^