Search

5/31/2009

Mobile01 (D I Y ) 衛星電視來我家

Mobile01 (D I Y ) 衛星電視來我家

1...器材需要有天線盤...LNB天線...衛星接收機,器材費用看你要裝幾星的,像我是裝128C 天線盤就要用180CM的,然後外掛138KU..146KU在旁邊,當初想自己DIY所以器材花費大約11張小朋友,但是後來
因為自己的能力不足所以請師父來收尾,又多花了3張小朋友

2...收視費用就看你的賣家如何跟你算,從600~1200/年都有以幾星算的越多星越貴

3...頻道部份..緯來不建議裝因為他是在88C的衛星上,而這顆衛星大多是國外頻道中文只有8台而已如果只為了看緯來而多花600我覺得不划算,日本台只有JET跟國興其他的都沒有,其他的八大-K台..八大1台..八大娛樂
八大戲劇,三立台灣...都會..新聞..國際..,中天娛樂..中天新聞,JET,東森新聞..東森電影,年代新聞,民視
民視新聞,大愛,全日通,人間,這些都在128C,夠我看了其他不足部分都是用138跟146補

146 ku搜尋結果- Yahoo!奇摩拍賣
DM500S

5/27/2009

YQL Execute page builder

YQL Execute page builder
community contributed yql tables
http://github.com/spullara/yql-tables/tree/master



Examples of Open Data Tables with JavaScript - YDN

<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<sampleQuery>select * from {table} where url="www.yahoo.com" and css="#news a"</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url></url>
</urls>
<inputs>
<key id="url" type="xs:string" paramType="variable" required="true" />
<key id="css" type="xs:string" paramType="variable" />
</inputs>
<execute><![CDATA[
//include css to xpath convert function
y.include("http://james.padolsey.com/scripts/javascript/css2xpath.js");
var query = null;
if (css) {
var xpath = CSS2XPATH(css);
y.log("xpath "+xpath);
query = y.query("select * from html where url=@url and xpath=\""+xpath+"\"",{url:url});
} else {
query = y.query("select * from html where url=@url",{url:url});
}
response.object = query.results;
]]></execute>
</select>
</bindings>
</table>

Slides from JSConf / phpied.com

Slides from JSConf / phpied.com


Cleanup after yourself
property you no longer need

var myApp = {
prop: huge
};
delete myApp.prop

DOM elements you no longer need

var el = $('mydiv');
el.parentNode.removeChild(el);

instead of ...

function myEvent(el, type, fn) {
if (window.addEventListener) {
el.addEventListener(type, fn, false);
} else if (window.attachEvent) {
el.attachEvent('on'+type, fn);
} else {..}
}

Do ...

if (window.addEventListener) {
var myEvent = function (el, type, fn) {
el.addEventListener(type, fn, false);
} else if (window.attachEvent) {
var myEvent = function (el, type, fn) {
el.attachEvent('on' + type, fn);
}
}
}

Memoization


function myFunc (param) {
if (!myFunc.cache) {
myFunc.cache = {};
}
if (!myFunc.cache[param]) {
var result = {}; // ...
myFunc.cache[param] = result;
}
return myFunc.cache[param];
}

204 No Content / phpied.com

204 No Content / phpied.com

Now (after we relax a bit)... instead of having your server send a blank GIF, however small, can you just send.. nothing? Yep, you can. Your server can respond with a "204 No content" header. Cool, eh, especially when you want to squeeze every bit of network traffic?

Another application of 204s I was thinking could be favicons. If you don't want to deal with favicons, but you don't want to respond with a 404 Not Found either, you can just configure Apache to send 204 to favicon requests. Could be useful when your application generates subdomains for your users, since the browser will request the favicon from each subdomian (unless you have a link-ed favicon).

5/26/2009

array flatten


Array.prototype.flatten=function(){
return this.reduce(
function(a,b){
if(b instanceof Array){
return a.concat(b.flatten());
} else {
return a.concat(b);
}
}
,[]);
}

console.log(['a', ['b', 'c']].flatten());
// ['a', 'b', 'c']

via Arrayを拡張(flatten,max,min,sum,uniq,first,last) - 素人がプログラミングを勉強するブログ

5/21/2009

宏碁Aspire Timeline系列筆電台灣上市發表會

宏碁Aspire Timeline系列筆電台灣上市發表會

目前共有3款尺寸,分別為13.3吋的3810T與3410T、14.1吋4810T的與15.6吋的5810T,這次發表的共有7款,其中有獨立顯卡與光碟機機種,比較特別的是鍵盤手感(官方稱為FineTip keyboard)與顯卡可在開機時切換(電池模式用Intel GMA,接AC就會問要用獨顯還是內建顯卡),外殼為鎂鋁合金,厚度約1吋(2.54公分)左右並且都搭載杜比音效,價位從台幣24900元到38900 元。
型號:Aspire Timeline 3410T

處理器:Intel Celeron,時脈1.2GHz
尺寸:13.3吋,1366 × 768解析度,亮度200 nit、8ms反應時間、LED背光
晶片組:Intel GS45
GPU:Intel GMA 4500MHD
記憶體:吃DDR3,預載2GB,最大可到4GB(2 slot)
硬碟:320GB SATA 5400轉
無線:WiFi(802.11a/b/g/n)、藍牙2.0+EDR
作業系統:Windows Vista Home Basic
連結埠:USB × 3、VGA Out × 1
電池:6 Cell
重量:1.67公斤

建議售價:台幣24900元


型號:Aspire Timeline 3810T

處理器:Intel SU3500,時脈1.4GHz,3MB L2快取
尺寸:13.3吋,1366 × 768解析度,亮度200 nit、8ms反應時間
晶片組:Intel GS45
GPU:Intel GMA 4500MHD / ATi Mobilty Radeon HD4330(顯示記憶體512MB)
記憶體:吃DDR3,預載2GB,最大可到4GB(2 slot)
硬碟:320GB SATA 5400轉
無線:WiFi(802.11a/b/g/n)、藍牙2.0+EDR
作業系統:Windows Vista Home Basic / Premium
連結埠:USB × 3、ExpressCard × 1、eSATA × 1、VGA Out × 1(HDMI Out × 1)
電池:6 Cell
重量:1.67公斤

建議售價:台幣27500元 / 29500元(含電池)

★沾美西餐廳 @ Leddy生活雜記 :: 痞客邦 PIXNET ::

★沾美西餐廳 @ Leddy生活雜記 :: 痞客邦 PIXNET ::

沾美西餐廳
02-27117750
台北市大安區仁愛路4段77號B1樓

中午是歐式自助餐吃到飽 $580+10% 不算太貴
Ireneの美食鋪子 - 【沾美西餐廳】歷久不衰的美味~

5/18/2009

AOL page test

AOL page test

* IE Integration. Pagetest was built for IE6 and IE7, which represent over 94% of traffic across AOL's web properties. Optimizing for Internet Explorer is a must, and Pagetest runs quietly outside of it in the background, sniffing packets and HTTP requests.
* Waterfall Timeline Charts. Unlike any other tool on the market, Pagetest includes a timeline in its waterfall charts, and numbers the objects to make object performance analysis something easy to talk about and act upon. Check out our sample screen shots, we hope you will agree they're fantastic.
* Optimization Checklist. There are several best practices that we call "standards" at AOL; techniques that should always be implemented on every page of every web site with few exceptions. We designed a simple checklist for quickly seeing how each object stacks up to the test.
* Optimization Report. A companion to the checklist, the Optimization Report is text based and lists every asset that failed (or almost failed) to implement a standard optimization technique. This list makes for a quick punch list of "things to fix" immediately.
* Object Detail Report. Included in pagetest is a machine readable object report that further details each transaction that occurred in the browser, and many other statistics such as DNS Lookups, # of Requests and Bytes sent, etc.

iPhone Lego Mindstorms NXT Robot Demo