This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations] | |
"AllowFontAntiAlias"=dword:00000001 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp] | |
"AllowFontAntiAlias"=dword:00000001 | |
"ColorDepth"=dword:00000004 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
GFX API 懶惰測試頁 - | |
用 Firebug 看資料結構吧。 | |
--> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
<script> | |
var c; | |
$(function() { | |
$.getJSON( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default menu.c32 | |
prompt 0 | |
menu title Ubuntu Live USB | |
#timeout 100 | |
timeout 30 | |
label unetbootindefault | |
menu label Ubuntu (^Persistent Mode) | |
kernel /ubnkern | |
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper persistent noprompt quiet splash -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make wget-en-US EN_US_BINARY_URL=http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ | |
make unpack | |
hg -R ../../../repo/mozilla-central pull | |
make ident | |
make ident | awk '{print $2}' | head -n 1 | xargs hg -R ../../../repo/mozilla-central update -r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. $topsrcdir/browser/config/mozconfig | |
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../../firefox-build | |
ac_add_options --disable-compile-environment | |
ac_add_options --with-l10n-base=/home/timdream/repo/l10n-central | |
mk_add_options MOZ_MAKE_FLAGS="-j4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doSomethingWithArray(arr) { | |
// check the array | |
var flag = false; | |
for (var i; i < arr.length; i++) { | |
if (arr[i] === 0) { | |
console.log('item at ' + i.toString(10) + 'is zero.'); | |
flag = true; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doSomethingWithArray(arr) { | |
doArray : { | |
// check the array | |
for (var i; i < arr.length; i++) { | |
if (arr[i] === 0) { | |
console.log('item at ' + i.toString(10) + 'is zero.'); | |
flag = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: text/plain'); | |
/* Keep the location of this file secret so we won't overload the sharehosting */ | |
$CONF = array( | |
'path' => '../2011', | |
'user' => 'timdream', | |
'repo' => 'coscup-landingpage', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
gold: [ | |
{ | |
name : '測試廠商', | |
url: 'http://...../', | |
logoURL: 'http://..../...png', | |
desc: '<p>dsfasdfsdaf</p><p>dfasdfd<a href="dsafsad">asdfdsaf </a>sfsaf.</p>', /* 轉好的 HTML */ | |
enName: 'Test Corp.', | |
enDesc: '<p>dsfasdfsdaf</p><p>dfasdfd<a href="dsafsad">asdfdsaf </a>sfsaf.</p>' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
name: '測是', | |
from: 1234456788, /* Unix timestamp */ | |
to: 123456778, | |
type: 1, | |
room: 0, | |
language: 'zh', /* 'zh' or 'en', 我們應該不會有日文議程 */ | |
speaker: '陳愛講', /* 名字 (頭銜)*/ | |
speakerTitle: '測試大學愛講系教授', |
OlderNewer