2016年6月14日 星期二

How to install mono on ubuntu(it can using C# and asp on ubuntu)

ubuntu 14.04

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install -y mono-complete
$ sudo apt-get install -y monodevelop
$ sudo apt-get install -y mono-xsp4



影片教學:


  1. https://www.youtube.com/watch?v=5akYkyo0g3s
  2. https://www.youtube.com/watch?v=yV5itt-G66o

2016年6月1日 星期三

bash shell keyboard-shortcuts


本文參考網址:
  1. https://blog.longwin.com.tw/2006/09/bash_hot_key_2006/
  2. http://blog.codylab.com/bash-shell-shortcut/

  • Alt-F: 到此行的後一個字
  • Alt-B: 到此行的前一個字
  • Ctrl-A: 回到此行最前面
  • Ctrl-E: 到此行的最後面
  • Ctrl-U: 清除一行中游標之前的所有文字
  • Ctrl-K: 清除一行字游標之後的所有文字
  • Ctrl-Z: 將該工作放到背景中暫停, 使用jobs看工作號碼(job number), fg 取回

2016年5月26日 星期四

SQL Command Line Interface(CLI)

//show tables index, unique
SHOW INDEX FROM [table];

//show table sehema
SHOW COLUMNS FROM [table];


// show foreign
 SELECT
  ke.referenced_table_name parent,
  ke.table_name child,
  ke.constraint_name
FROM
  information_schema.KEY_COLUMN_USAGE ke
WHERE
  ke.referenced_table_name IS NOT NULL;

2016年5月23日 星期一