List All Pages
7z
7z壓縮語法 語法: 7z a -t7z -mx=9 -ms=on 壓縮檔名.7z 目錄或檔案 -t7z: 7z 存檔 -mx: 壓縮效率最佳為 9 -ms: 可壓縮目錄,...
AI筆計 原來DFS有分兩種 一種是我們平常用recursive ,space complexity O(m),m是deepest...
After build the whole Android project. If you install sun-java6-jdk and ‘make sdk’ you will meet above error. You should uninstall sun-java6-jdk, sun-java6-jre, and sun-java6-bin and install...
apt-get install aptitude //某種apt的軟體 apt-cache search pkg-name apt-get -u dist-upgrade //升級 apt-cache showpkg pkg-name //列出pkg之詳細內容 /* 裝KDE apt-get install...
Environment MS SQL 2005 express visual studio 2005 MS SQL Server Managerment Studio express Asp .net reading: http://msdn.microsoft.com/zh-tw/library/ms178125(VS.80).aspx quick...
Note that members of the code behind class must be either public or protected (they cannot be private). ASP.NET 2.0 introduces the App_Code directory, which can contain standalone files that...
In site manager, there is a backup option which can take a snapshot of your wiki.
Ctrl+u 刪除游標所在左邊全部文字(不包括游標處) Ctrl+k 刪除游標所在右邊全部文字(包括游標處) Ctrl+c 送出SIGINT, 通常用來中斷執行中的程式 Ctrl+z...
alias ls='gnuls -F —color=auto —show-control-char' —show-control-char 可以讓ls顯示中文 #alias la='ls -a' #alias ll='ls -lh' alias vi='vim' alias mv='mv -iv' alias cp='cp -iv' alias...
...
http://www.amazon.com/Harold-Purple-Crayon-Anniversary-Books/dp/0064430227 文學類: 百年孤寂 台北人……白先勇 寂寞的十七歲…….白先勇 假面的告白...
int the casting from a signed variable x to unsigned int. the cast doesn't change the bit representation of x, just how the interpreted as a number. ex: int x = -1; unsigned int ux = (int)...
default.aspx <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDeleting="GridView1_RowDeleting"...
Company List IBM Google Yahoo 訊連 (Core Technology) Coreal 益科 鈊象 HP 百資 openfind http://www.asus.com.cn/masp/ trend 普奇科技有限公司(Potix Corporation) — AJAX...
const的三種用法 指向const的pointer usage: const type * var_name, type const * var_name pointer所指到的對象是const const int *p; // int const *p; int a = 5; int b = 3; p =...
Please change this page according to your needs
首先建立.vim/plugin資料夾 把http://cscope.sourceforge.net/cscope_maps.vim放進去 在你想建立所有搜尋檔案的目錄下,接著執行cscope -R -q 可以看到以下畫面 Cscope...
template <class T, class U> T min(T *array,U value) { typename T::name *p; // ok for pointer declaration T::name * p; // this is a multiply expression } Template Explicit...
dynamic allocate two dimention array: int...
Linux Device Driver: http://lwn.net/Kernel/LDD3/ PL SICP: http://mitpress.mit.edu/sicp/full-text/book/book.html Game Theory http://www.cambridge.org/us/catalogue/catalogue.asp?isbn=0521872820
Document basic Programming Erlang Joe's Thesis The design of Erlang and OTP OTP design principle more detail about OTP usage! Programming Distributed Erlang Applications: Pitfalls and...
轉錄自 http://hatupsidedown.blogspot.com/2007/02/extern-c.html 使用 extern "C" 目的在於解決混用C與C++時所發生的問題。 事實1. 副檔名為 .c 的檔案由C...
find [path] [expression] ex: find . -name *.c -exec ls -l {} \; find . \( -name a.out -o -name *.core \) -exec rm -f {} \; find /var -path "/var/log" -prune -o -name...
The float point contain three parts: signed bit exponent bits (E) fraction bits (M) (1) There are two kinds of floating point: normalization denormalization normalization when e is not all 1s...
foldl (+) 0 [1,2,3] == foldl (+) 0 1:2:3:[] == foldl (+) (((0+1)+2)+3) [] == ((( 0 + 1) + 2) + 3) because lazy evaluation, the final expression will not be evaluated to 6 until its value is...
Generalized Abstract Data...
condition flag CF: carry flag. the most recently operation yield carray bit. ZF: zero flag. the most recently operation yield zero. SF: signed flag. the most recently operation yield negative...
apt-get install gcin im-switch im-switch -s gcin restart login
Method 實作從鼠洞bbs抓文並且轉到google group: 1. 先把版上之前的文章都先抓下來,...
莫根索在談論外交時說,外交應該放棄虛幻的權利,而追求實質的利益。 (Give up the shadow of worthless rights for substance of real...
main.c #include <stdio.h> extern void init_f(); extern int f(); extern void init_g(); extern int g(); int main() { init_f(); init_g(); printf("%d\n", f());...
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor with a toolbar pallette with options. To create a link to a new page,...
Suppose P is a predicate on terms. Induction on depth: If, for each term s, given P(r) for all r such that depth(r) < depth(s) we can show P(s), then P(s) holds for all s. Induction on size: If,...
Basic Iterator I create a base Iterator class which describe the interface of Iterator. After this, I can create the sub-class depend on the implementation. Ex: the array...
Jni
Java Native Interface Introduction The Java Native Interface (JNI) is a programming framework that allows Java code running in the Java virtual machine (JVM) to call and be called by native...
Please change this page according to your policy (configure first using Site Manager) and remove this note. Who can join? You can write here who can become a member of this site. Join! So you...
Key
右三 76 左二 84 右一 21 43
python scoping: LEGB Rule. L. Local. (Names assigned in any way within a fuctnion (def or lambda), and not declared global in that function. E. Enclosing function locals. (Name in the local scope...
command Linux kernel: uname -r C header manpage package: manpages-dev 915resolution 49 1280 800 24 ssh -X ip: enable X11 application on remote machine echo 3 >...
http://www.haskell.org/all_about_monads/html/index.html
!i have read 1 paper which describe the difference between two...
New
placement new usage new an object on an exist memory. class Foo { public: int val() { return _val; } Foo() : _val(0) { std::cout << "hello!\n"; } private: int _val; }; int...
...
Waiting for solved given a large number of integers (4 billion input), find the missing number if we only have a few hundred bytes of main memory and several spare sequential files. (hint: binary...
install steps (using virtual environment) download http://pylonsbook.com/virtualenv.py C:\>C:\Python25\python.exe "C:\virtualenv-1.1\virtualenv.py" C:\env C:\env\Scripts\easy_install.exe...
因為compiler的需求 我想寫一個unwrap function可以跟據所傳進來的operator來進行不行的運算 Ex: unwrap (Vint 10) (Vint 20) (>) unwrap (Vdouble 1.0) (Vdouble 2.0) (==) code...
先以ubuntu光碟開機 進入終端模式 sudo -i grub root (hd0,2) <– 因為 linux 在 第2個分割區 setup (hd0) reboot
caption always "%{dK}%{+b K}> %{W}%n %t %{K}<%{W}%=%{K}load{%l} %{C}$USER@%{W}%H %{dB}%{W} %0C %A " screen screen screen select 1
C-a t: Time,顯示目前的時間,與系統的 load C-a K(大寫) kill window,強制關掉目前的 window C-a [ 進入 copy mode,在 copy mode 下可以回捲、搜尋、拷貝,就像用...
Introduction to Sed & Awk and Reguluar Expression Regular Expression 一個Regular Expression是用來描述某種型式的字串(string)。以下以RE稱之: Regular Expression...
$0 這個程式的執行名字 $n 這個程式的第n個參數值,n=1..9 $* 這個程式的所有參數 $# 這個程式的參數個數 $$ 這個程式的PID $! 執行上一個背景指令的PID $? 執行上一個指令的返回值 $< 鍵盤輸入 ${#variable} 這個變數的字串長度
Welcome page Todo List Notes Travel What is a Wiki Site? How to edit pages? How to join this site? Site members Recent changes List all pages Page Tags Site Manager Page tags Add a new...
entrypoints Program; Prog. Program::=[Def];separator Def ";" ; TermDef. Def::= Term; AbsTerm. Term::= "lambda" Ident "." Term; AppTerm. Term1::=Term1 Term2; IdTerm. Term2::= Ident; coercions Term...
Method: 確保一個類別只有一個實體,並且有一個存取方法。 public class Singleton { private static Singleton ins; private Singleton() {} public static Singleton...
Members: Moderators Admins
1. sudo vim /etc/apt/sources.list 加入此行 deb http://download.skype.com/linux/repos/debian/ stable non-free 2. sudo apt-get update 3. sudo apt-get install skype
Split screen: 切割上下視窗(:sp filename) (:vnew filename) 左右切割視窗(:vs filename) (:new filename) :res N、:vertical res N 分別是設定所在視窗的高度與寬度 more info (:help split)
融資─簡單來說,就是借錢買股票,...
...
Svk
http://www.newzilla.org/2004/08/05/svk_tutorial/index.html Initial Environment svk depotmap Mirror and Check out svk mirror snv_url //your_project_name/trunk svk sync...
notes decorator pattern: 不改變介面,但加入責任 adapter pattern: 將一個介面轉成另一個介面 facade pattern: 讓介面更簡化
Idea spam e-mail 求償 Work flow work FL...
Notes company Wiki Doc backup work contact
栗松溫泉: 南橫台20線169.5左右 嘎拉賀溫泉: 北橫
vi /etc/pam.d/common-session add session required pam_limits.so Then vi /etc/security/limits.conf add command hard nofile 9999 command soft nofile 9999
remove names: context is stored the information about the index of variable. ex: λ.x λ.y x (x y) => λ.λ.1 (1 0) remove_name(context,x) = the index of x in the...
User command objdump - display information from object files
:help folding zfap 將游標所在處的那個段落摺疊成一行。 zf7G 自游標所在處至全文第 7 行摺疊起來。 :3,9fold 將第 3 行至第 7 行摺疊起來。 5zF...
Switch File quickly http://www.vim.org/scripts/script.php?script_id=31 :A switches to the header file corresponding to the current file being edited (or vise versa) :AS splits and switches :AV...
http://www.vim.org/tips/tip.php?tip_id=778
"python settings: set tabstop=4 "4 space tab set shiftwidth=4 "The amount to block indent when using < and > set smarttab "Uses shiftwidth instead of tabstop at start of lines set expandtab...
syntax on set cin set noai set ru set showcmd set bs=2 set nobackup set textwidth=80 set wrap set wrapmargin=79 "set nowrap set t_Co=256 set ignorecase set hls hi normal guifg=lightgray...
:tabe filename 在新標籤頁打開一個檔案 :tabc 關閉標籤頁 :tabo 關閉其他標籤頁 :tabn 下一個標籤頁 或是 gt, C-PageDown :tabp 上一個標籤頁 或是 gT, C-PageUp :tabr...
vim 在你貼上的時候會當成你在輸入 所以有一些自動格式化的動作會造成要貼上的東西原本的格式亂掉 只要在貼上的時候 :set paste vim 就會暫時把那些自動格式的功能關掉 貼完再 :set nopaste 文件轉成html :source $VIMRUNTIME/syntax/2html.vim vim tips vim tips 2
http://www.vim.org/scripts/script.php?script_id=1397 轉錄自 http://c9s.blogspot.com/2007/08/vim-xml-plugin.html 安裝: 直接將此 xml.vim 放到 ~/.vim/ftplugin/xml.vim...
Setting ubuntu 7.04 build instruction with /dev/vboxdrv permission everytime to run virtualbox, need to "sudo modprobe vboxdrv" first
http://www.swe.uni-linz.ac.at/research/deco/designPatterns/Visitor/visitor.defaultroles.c++.html http://www.dofactory.com/Patterns/PatternVisitor.aspx#_self1
char -> wchar: mbstowcs wchar -> char: wcstombs
If this is your first site Then there are some things you need to know: You can configure all security and other settings online, using the Site Manager. When you invite other people to help build...
According to Wikipedia, the world largest wiki site: A Wiki ([ˈwiː.kiː] <wee-kee> or [ˈwɪ.kiː] <wick-ey>) is a type of website that allows users to add, remove, or otherwise edit...
x is integer, x = 0x01234567 Big endian address 0x100 0x101 0x102 0x103 0x104 … 01 23 45 67 … Little endian address 0x100 0x101 0x102 0x103 0x104 … 67 45 23 01 … The example to...
Note ./runmpe_test /mpe_gmap/list ./runmpe_test /news/list C version: src/module/gmap_offline/ python version: module/mpe_gmap.py current work can show different news according to news_type change...
http://www.vim.org/scripts/script.php?script_id=1410 在命令模式下,你得先用 :WsOpen <workspace名稱> 來建立一個新的 workspace 之後便可以使用 :WsAddGroup 或...
msconfig — 可以管理開機時的常駐程式
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License