PHP

Remove cydia app

1. Connect to your phone via SSH, Diskaid, i-funbox, etc.. 2. Navigate to /private/var/lib/dpkg/info/ and you will see a list of files. 3. Find the *.list file for the app your looking for and open it.

By admin, ago
PHP

NetCut

無論是在公司的大網路,或是家裡三五台電腦的小小網路.負責管理的人總會遇到一些人的困擾, 像小張整天都在下載色情影片占用頻寬,小雪則是整個上班時間都在ICQ情話綿綿, 家裡的小孩則是常常RO到兩三點… 身為網管(或家管)的你 ,在不惹人厭的前提下難道就真的無計可施了嗎? Arcai 公司的「網路斷線器」NetCut 產品就是專門針對這種需求而設計的。 「網路斷線器」顧名思義就是可以讓你將網段中的任何一台電腦對外連線切斷! 你只要在左邊清單中選取要切斷連線的主機 ,按下 Cut Off 按鈕 ,那台電腦就此不能上網了! (要讓他恢復連線只要按下 Resume 鍵即可) 如果你不是要切斷那台電腦的 Internet 連線 ,而是要讓某兩台電腦之間不能通訊的話(比如說某對同事情侶一整天都在ICQ ,或是某甲一直占用網路印表機列印了整個上午了…) 你要做的就不是切斷他們的 Internet 連線,而是要切斷他們彼此的連線:首先把右邊的 Gateway 位址按 Del GateWay 刪除,然後點選要切線的其中一員按 >> 鈕移到右邊,再於左邊點取另一位後,按 Cut Off 就可以切斷這兩點之間的連線了。 「網路斷線器」顧名思義就是可以讓你將網段中的任何一台電腦對外連線切斷! 你只要在左邊清單中選取要切斷連線的主機 ,按下 Cut Off 按鈕 ,那台電腦就此不能上網了! (要讓他恢復連線只要按下 Resume 鍵即可) 如果你不是要切斷那台電腦的 Internet 連線 ,而是要讓某兩台電腦之間不能通訊的話 Read more…

By admin, ago
PHP

Linux / Unix Command: zip

When given the name of an existing zip archive, zip will replace identically named entries in thezip archive or add entries for new names. For example, if fooz.zip exists and contains foo/file1and foo/file2, and the directory foo contains the files foo/file1 and foo/file3, then: zip -r fooz foo http://linux.about.com/od/commands/l/blcmdl1_zip.htm

By admin, ago
PHP

Windows 7 換底板改regedit

仍是舊底板用 regedit 檢查: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci\ start 要是 0 然後換新底板,入 desktop 後再更新 display、sound、lan 咭便成事。

By admin, ago
PHP

Facebook API for PHP login url premission

$login_url = $facebook->getLoginUrl(array( 'fbconnect' => 1, 'canvas' => 0, 'next' => 'http://localhost/demo/facebook/index.php', 'redirect_uri' => 'http://localhost/demo/facebook/index.php', )); 參數說明: fbconnect:Facebook 連線,恆為1。 canvas:Facebook內的畫布,沒有用到,為0。 next:按下完成後轉向網址。 redirect_uri:下一頁轉向網址。 基本款權限如下圖 修改參數 $login_url = $facebook->getLoginUrl(array( 'fbconnect' => 1, 'canvas' => 0, 'next' => 'http://localhost/demo/facebook/index.php', 'redirect_uri' => 'http://localhost/demo/facebook/index.php', )); 加入req_perms = email, publish_stream權限之後,登入權限會變成,如下圖 沒錯,如此一來就可以擁有操控權限,是不是非常的容易呢!?原始碼,自己拉回去改。 Renew a facebook Login URL.

By admin, ago