硬盤整數G分區方法
首先我承認我是一個完美主義者,每當看到Windows磁盤管理的硬盤分區大小不是整數的時候就會覺得很不爽,所以小探究了一下啊。
當然磁盤分區大小竟然和分區格式有關係,這個我是做了測試驗證的。
現在是對應Windows兩種格式的具體算法
1. FAT格式計算整數G分區需要輸入的M數是比較簡單的。
M=1028*G-4
2. NTFS的就稍微比較難點,但是我們有公式了也就不怕了。
M=ceiling(ceiling(G*1024/7.84423828125)*7.84423828125)
Ceiling表示向上取整。
比如我要分800G的分區 G=800
M=ceiling(ceiling(800*1024/7.84423828125)*7.84423828125)
M=ceiling(ceiling(104433.3395580454)*7.84423828125)
M=ceiling(104434*7.84423828125)
M=ceiling(819205.1806640625)
M=819206
分區的時候只要輸入819206MB給這個分區,在Windows下就擁有一個完美的整800G的分區啦。
增加1T硬盤
說實話,硬盤其實早就不夠用了。但是本著能用就好的原則還是撐了很久才再增加這個硬盤。
不過這個希捷7200.12的盤速度還是可以的。一般空盤可以穩定在130MB左右,相當得牛逼啊。哈哈
Microsoft Office 2007 換CD-Key
Microsoft Office 2007 換CD-Key:
- 刪除註冊表[HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice12.0Registration{90120000-0051-0000-0000-0000000FF1CE}]中ProductID和DigitalProductID兩項。
- 運行office2007任何組件, 輸入序列號安裝。
- Done
Polarclock 3.0
非常漂亮使用的一個屏保程式,用環形的彩條來表示當前的時間。也可以用來保護屏幕。下载吧,这个是免费的噢
官方網站:
http://blog.pixelbreaker.com/polarclock/
Blog搬遷到美國伺服器
中國的虛擬主機快要到期了,剛好看到DRL的廠公在賣美國的空間,價格相當優惠。所以就買了一個。現在用用感覺不錯,希望大家都可以循規蹈矩地用這個空間,可別讓偉大的墻給和諧了。
Firefox Add-ons
以前一直用Maxthon來作為主力瀏覽器的,今年不知道幾月開始就習慣用Firefox來瀏覽器網頁了。
想了想發現最重要的還是FF的Add-ons非常豐富的原因吧,各種功能你都可以在FF網站上找到相應的Add-on,真的非常好用。
今天就來介紹一下我現在用的Add-ons:
- IE Tab:這個插件是最最重要的吧,特別是在大陸。因為很多網站都是需要IE來瀏覽的,比如網銀,各類必須用ActiveX插件的網站等等
- Easy DragToGo:這個插件也必不可少,因為一直用Maxthon和The World瀏覽器,都養成了超級拖拽的習慣,沒有這個功能也是不行的。
- FireTray:讓FF最小化到系統托盤。
- Flashgot:下載管理,迅雷,快車等軟體都可以集中管理。
- Tab Mix Plus:在同一個實體中打開網頁,這樣就可以保證只運行一個FF來打開所有請求的頁面。
- FireGPG:郵箱加密,特別是Gmail的加密解密,非常好用。
BIOS Update [PRG3110H.86A]
新主機買來幾個多月了,但并沒有怎么用過,一直都是晚上回到家就躺在床上玩laptop了。這個電腦就一開始買來的時候裝了Windows 7的預覽版,後來就沒有動過它了。也就星期六,星期天的時候表弟來我家玩電腦的時候用這個電腦玩玩遊戲,昨天他又來玩的時候發現不能上網了,Windows 7的試用期到了,總不能放一臺不能用的電腦在房間里啊,所以就裝重裝了系統。
越來越發現我這個人有更新強迫癥了,發現所有的東西都喜歡系統,軟件是就版本就很不爽,一定要更新為新的版本才肯歇。
到Intel網站下載主板的所有最新配套驅動還不肯罷休,又到各個硬件廠商的網站的support欄目里查看每個驅動的最新版本,真是敗給自己了。
不過現在Intel主板的BIOS更新方法更好了,直接在Windows下更新,下次啟動的時候BIOS就自動更新了,把新主板上08年6月份的BIOS更新到11月了。不錯不錯。
Updated to WordPress 2.7
updated to wordpress 2.7
Admin UI become so beautiful.
Here is a list of features that will be introduced into WordPress 2.7:
- Comments API – This according to me is the most exciting feature, it will allow developers to create offline integration of comments management, where users could use desktop clients to manage comments (moderate, edit, reply, delete, spam, unspam).
- Keyboard shortcuts for comment moderation – This feature will help users to quickly moderate comments using keyboard shortucts, so you can expect key combinations like Ctrl + S to spam a comment, Ctrl + A to approve and so on.
- Theme Update API – WordPress 2.5 and above have really made plugin management quite easy, you automatically receive notices when a new update to a plugin is available and can upgrade it without having to manually upload it to your FTP server. With this addition WordPress aims to bridge the gap between theme developers and the users for publishing updates to themes.
- One Click Plugin Installs – Installing a plugin will be much easier with One click plugin installs. A plugin with similar features called One Click Plugin was the winner of the Plugin Competition last year.
- WordPress core updates – This is a feature many users have been waiting for, with core updates you can easily upgrade your WordPress versions. The WordPress Automatic Upgrade plugin performs the same task.
- Default Sitemaps – WordPress 2.7 will include a default sitemap creator, which will create Google XML sitemaps for your blog. Google Sitemaps Generator plugin is the best option available right now for creating XML sitemaps.
- Admin Panel Comment Replies – This plugin will help administrators to reply to comments using the admin panel. There are several plugins which allow you to do so right now, including WP AJax Edit Comments, Better Comments Manager and Absolute Comments.
- Comment Threading – This feature will allow users to reply to other commentators in a threaded manner, where replied comments will display below the actual comment, WordPress already has the ability to scale to accomodate threaded comments, without requiring database changes. Brian’s Threaded Comments is a does the job of allowing users to reply to comments.
- Subscribe to Comments – The WordPress team is also planning to include a option to allow commentators to subscribe to follow up comments, but this is marked as a question, so it may not actully make it into WordPress 2.7. The Subscribe to Comments plugin does the job to notify commentators on follow up comments.
- Widgets for Dashboard and Write Box – This feature will allow users to re-arrange the widgets on the dashboard and write page to suit their preferences.
- Batch Editing of Posts – This feature will allow users to batch edit their posts. Though there is not much information available about this right now, and I could not really find more from my research on the topic.
網卡不能從DHCP服務器獲取IP解決方法
這個問題從大學的時候就一直困擾著我們,具體情況是由於某種原因(網絡攻擊或病毒)導致網卡不能從HDPC服務器分配到IP, 而只能使用169.254.*.*這樣的私有地址。如果你想手動設定IP和網關來實現上網的話,那讓你失望了,還是不能上網的,只能發送數據,接收數據量一直是零的。
以前碰到這種分配不到IP的情況,只能一次次的重裝系統來解決。
偶爾的一次機會在網上瀏覽的時候發現一條非常無敵的命令:
netsh winsock reset
這種困境迎刃而解,非常方便。以前幾個小時的事情,現在幾秒就搞定了。
知識就是力量啊!現在終於體會到了吧,哈哈
換IP,升級到WordPress 2.6
這次不知道爲了什麽,國外的主機IP又被偉大的墻給和諧了,可能是合租的幾個人發了不該發的言論吧。
在blog數據和文件在遷徙的時候,發現WP發布了2.6版本,所以就隨便升級一下。
但是這次升級非常不順利,按照以前一貫的升級經驗竟然沒有成功,汗!
後來七弄八弄,終於給升完級了。用起來沒有什麽區別,等有時間了看一下changelog來體驗一下新功能。
继续blog导入的工作吧
