Category Archives: Blog

把大量的 MyISAM table 換成 InnoDB

把主機的 MySQL 從 5.1 升級到 5.5 後,想把主機上的 MyISAM table 都換成 InnoDB。 基本上是參考「Quick tip: how to convert tables to InnoDB」這篇提到的工具以及說明。 文章裡所提到的 mk-find 是 2008 年的時候的名稱,當時這隻工具是在 Maatkit 裡面,而 2012 年則已經併入 Percona Toolkit,所以文章裡本來是 mk-find 的地方要改成 pt-find。 另外我不想嘗試把 mysql.* 改成 InnoDB (我不知道會不會爆炸),所以我的做法是只用 –print,然後丟到 vim … Continue reading

Posted in Blog, Computer, Database, Murmuring, MySQL, Network, Software | Tagged , , , , , | 2 Comments

把 blog 搬回自己主機…

把 blog 搬回自己的主機上跑,好像沒有快多少…

Posted in Blog, Computer, Murmuring, Network, WWW | Tagged , , | 1 Comment

WordPress plugins 安全性問題

在 TechCrunch 上看到 WordPress.org 強制所有 WordPress.org 的使用者更新密碼 (不是 WordPress.com):「WordPress.org Forces Password Resets Due To Compromised Plugins」。 起因是 AddThis、WPtouch 以及 W3 Total Cache 這三個 plugin 有異常 commit 塞入 backdoor code。(瞬間就中兩槍) 這幾天有更新 plugin 的人最好趕快看一下… 慘啊 :/

Posted in Blog, Computer, Murmuring, Network, Security, Software, WWW | Tagged , , , , , , , , , , , | Leave a comment

支援新版 Plurk API (OAuth Core 1.0a) 的 Twitter To Plurk Script

code 放在「Plurk 新版 OAuth Core 1.0a 的 twitter to plurk」,其中裡面用到的 SQLite 的表格結構請參考「Twitter 轉 Plurk 的程式…」這篇文章的說明。把本來是 plaintext password 的程式換過去後看起來舒服多了,不過中間寫起來讓人頗 orz… 先是一直沒辦法透過 OAuth::Lite 送出 UTF8 內容,於是決定換成 Net::OAuth,結果因為文件內的範例都沒講到重點而倒地不起… 然後遇到 Plurk API 2.0 beta 的文件沒有列出是 GET 或是 POST,於是又試了老半天… 文件真的很重要…

Posted in Blog, Computer, Murmuring, Network, Programming, Security, Social, Software, WWW | Tagged , , , , , | 1 Comment

很久沒看到 Twitter 噴出 Apache 錯誤訊息…

之前都是一般的自訂頁面,這次居然噴出 Apache 的… 看起來是 HTTPS only,我用其他瀏覽器看 HTTP 版本是正常的… (至少在沒登入的情況下)

Posted in Blog, Computer, Murmuring, Network, Security, Software, WWW | Tagged , , , , , | Leave a comment

Plurk API:OAuth Core 1.0a

「Plurk API 2.0 beta」總算是提供 OAuth Core 1.0a 介面讓人使用了,想把之前「Twitter 轉 Plurk 的程式…」的程式改寫,不過新的 API 不管怎麼註冊都不會過… 有人有註冊成功的嗎? PS:另外「* 如果這不是一個網頁應用程式,請留空白即可」好像也怪怪的,我記得應該反過來?

Posted in Blog, Computer, Murmuring, Network, Programming, Security, WWW | Tagged , , , | 4 Comments

W3 Total Cache 0.9.2 與 0.9.2.1 的問題…

W3 Total Cache 最近的版本更新把一堆站台弄壞 (很像是 css naked day?XD),可以在 Plugin 網頁的回報資訊看出來: 後來在 forum 上看到有人提:「[Plugin: W3 Total Cache] Minify just won’t work」,於是先手動把 minify 功能關閉測試,發現這樣就正常許多,發現看起來應該是跟 minify 有關的問題… 有遇到的人不需要把 W3 Total Cache 全關,還是可以用其他功能加速並降低負載…

Posted in Blog, Computer, Murmuring, Network, Software, WWW | Tagged , , , , , | 2 Comments

Blogger…

第一次看到這個訊息…

Posted in Blog, Computer, Murmuring, Network, WWW | Tagged , , | 3 Comments

更新 blog css,加上 max-width…

本來圖片過寬會造成頁面有點亂,針對文章內的圖片補一下 max-width,不過這個屬性 IE6 就 sorry 了 XD 上一篇「IPv6 的進展,以及北美 IPv4 流量分析…」用到的圖都有超過,現在看起來應該好一些了…

Posted in Blog, Computer, CSS, Murmuring, Network, WWW | Tagged , , , , , | Leave a comment

Blog 關掉 CloudFront CDN…

剛剛用手機看自己的 blog 發現版面亂掉,看起來是 CSS 有問題… 測了一些東西後發現,如果 W3 Total Cache 使用 CloudFront CDN,會使得 WPTouch 失效,拿掉 CDN 的部份就會恢復正常… 那只好先拿掉了,現在用手機看 blog 的人應該就正常了…

Posted in AWS, Blog, CDN, Cloud, Computer, CSS, Murmuring, Network, Software, WWW | Tagged , , , , , , , | Leave a comment