2012年1月10日 星期二

Windows Admin Tools

http://www.intelliadmin.com/index.php/2006/04/disable-usb-drives/

2011年11月4日 星期五

關閉登入畫面的訪客使用者


Lion 10.7.2 關閉訪客使用者
當更新完MacOSX Lion 10.7.2 之後你會發現登入視窗多了個訪客使用者非常礙眼
更悲的是去把guest停用掉也沒辦法 這時候 請打開系統偏好設定–>安全性與隱私

Lion 10.7.2 關閉訪客使用者
先按最左下角的鎖頭打密碼解鎖
然後勾選”螢幕鎖定時停用重新開機到Safari的模式” (真饒舌)
(原來這是讓路人可以用你的電腦開網頁逛大街的模式)
勾勾鉤起來之後 以後登入畫面就不會有惱人的訪客帳戶了

2011年8月15日 星期一

如何在App Store刪除"asdfff2011@mail.ru"?

Do you have in your Mac App Store an update for Angry Birds but when you click update it says sign into asdfff2011@mail.ru?

Okay I made a post on a different way to remove it but if you want to be still illegal here’s how to remove it.

*DISCLAIMER*

In no way do I recommend downloading pirating software, If you have pirated software you should support the developers for making the software because without them, that program wouldn’t exist.

Okay now that I put that out lets dig in… Okay first you need the Twitter App from the Mac App Store, once you have that open up to Show Package Contents> Contents then copy the _MASReciept. Once you have that copied go into Final Cut Pro X>Show Package Contents>Contents then replace FCPX’s _MASReciept with the one from Twitter. Once you did that, The “Sign into asdfff2011@mail.ru” on the Mac App Store should be gone.


Source from here


2011年7月26日 星期二

Resolve Windows 7 Slow Startup with bootcamp

Resolve Windows 7 Slow Startup with bootcamp

You can fix the blinking cursor slow boot in Windows 7 by repairing the Master Boot Record.

1. Restart your computer into Windows.
2. While Windows is loading, press the F8 (play/pause) key about every second.
3. Select Recovery Mode and press Enter.
4. Click Repair your computer. (Command Prompt)
5. Select a language, a time, a currency, a keyboard or an input method, and then 4. click Next.
6. Click the operating system that you want to repair, and then click Next.
7. In the System Recovery Options dialog box, click Command Prompt.

Type (these commands are safe)
Code: Bootrec.exe /FixMbr
Code: Bootrec.exe /FixBoot
Code: Bootrec.exe /RebuildBcd
*Press ENTER after each command.*
*Restart your computer.*

2011年7月13日 星期三

2011年7月6日 星期三

如何在Mac OS X 10.5版上啟動Apache的PHP支援?

※注意!這將會更動到您的Mac系統,強烈建議您先做系統備份!
架構在UNIX下的Mac OS,本身就有內建一個強大的伺服器系統「Apache」(Apache 2.2.6與PHP 5.2.4)
如果您是Mac的使用者,需要用Mac來架設網站的話
可以在 [系統偏好設定] > [共享] ,將「網頁共享」服務啟動
不過內建僅能讓你啟動靜態的HTML網頁服務
PHP預設是沒有的!
若您是高手需要用到PHP的話,要怎麼啟動呢?
.....只能手動去修改Apache的設定檔囉~

Apache的設定檔是放在 /etc/apache2/httpd.conf 裡
不過 /etc 資料夾用 finder 是找不到的,它被隱藏起來
所以我們就用「終端機」下指令來開啟它

再一次提醒您!注意!這將會更動到您的Mac系統!
若您是新手,或沒有把握能操作成功,強烈建議您先做系統備份!
本資料僅供參考!


步驟1. 到 [應用程式] > [工具程式] 下開啟「終端機」

步驟2. 我們要把 httpd.conf 檔先移到 [桌面] 上來做編輯,所以請在「終端機」輸入以下指令
sudo mv /etc/apache2/httpd.conf ~/Desktop
執行完後應該是可以在桌面上看到 httpd.conf 這個檔案
不過檔案預設的權限是無法寫入,所以我們要輸入指令來修改這個檔案權限

步驟3. 請在「終端機」輸入以下指令
sudo chmod 646 ~/Desktop/httpd.conf

步驟4. 請用「文字編輯」來開啟 httpd.conf,並找出第114行 (或用搜尋功能尋找下行)
#LoadModule php5_module libexec/apache2/libphp5.so
將這一行前面的 # 字號刪除。如下:
LoadModule php5_module libexec/apache2/libphp5.so
修改完後請「儲存」,這樣就改完了!

步驟5. 接著把 httpd.conf 的檔案權限改回來,請在「終端機」輸入以下指令
sudo chmod 646 ~/Desktop/httpd.conf

步驟6. 接著把 httpd.conf 檔案移回 /etc/apache2/,請在「終端機」輸入以下指令
sudo mv ~/Desktop/httpd.conf /etc/apache2/httpd.conf

步驟7. 最後就只要到 [系統偏好設定] > [共享],將「網頁共享」服務重新啟動,這樣就可以執行PHP囉!

參考資料
.http://foundationphp.com/tutorials/php_leopard.php