網頁

2012年6月29日 星期五

Wireless Hacking

稍微瞄過下文章後的感想。
家中的 Wireless AP 沒在使用時,還是關閉為佳。


2012年6月26日 星期二

AC3 Filter

  • 因為在看影片時常常會有說話聲音太小的問題,調整音量也覺得效果不徍,Google 了一下,可以透過 AC3 Filter 軟體解決。 
  • GOM Player 與 AC3 Filter 的 結合方式
  • POT Player (請參考下圖)

2012年6月22日 星期五

Search

Google Feed API

You can use the Google Feed JSON interface to write feed applications in any language that can handle a JSON-encoded result set with embedded status codes. 

將遠方的 RSS重新彙整到自己所開發的頁面。

CODE DEMO

2012年6月21日 星期四

實用工具收集

2012年6月7日 星期四

Jquery

Jquery Plugin

2012年6月6日 星期三

Keyword

<?php
$keyword= 'keyword1 keyword2';

$search_word=explode(' ',$keyword);

foreach ($search_word as $word){

    //echo  $word."<br />";

    $where_list[]="`question` LIKE '%$word%'";//SQL

    $where_clause = implode(' OR ',$where_list);

}

if(!empty($where_clause)){

    $search_query .= " WHERE $where_clause";

}

echo $search_query; //WHERE `question` LIKE '%keyword1%' OR `question` LIKE '%keyword2%'
?>

2012年6月4日 星期一

Web APP

PHP 將 Google Chart URL 抓成圖片

<?php
$url = 'YOUR CHART URL';
$image_data = file_get_contents($url);
$image = imagecreatefromstring($image_data);
imagejpeg($image, 'google-chart.jpg); // 於此目錄下, 產生實體圖片
?>

2012年6月2日 星期六

常用的 Windows 指令整理

  • Win7
  • 自動
    • 登入 - control userpasswords2
    • 開機 - BIOS (power_on 調整)
    • 關機 -  排程 + shutdown.exe -s -t 60 (60秒後自動關機)
  • Windows 設定及使用網際網路連線共用 - URL
  • VirtualBox
    • 自動啟動 VirtualBox Guest OS -利用批次檔,加入排程內執行即可 (e.g. VBoxManage startvm guest os name)