ann
          冰是沒有未來的,因為它的永恒
          posts - 107,comments - 34,trackbacks - 0
          02 2010 檔案
          postgres手冊鏈接      摘要: 一.linux 監控數據庫活動
          $ ps auxww | grep ^postgres

          postgres 3424 0.0 1.2 42708 26588 ? Ss Jan29 0:00 postgres: writer process
          postgres 3425 0.0 0.0 42576 1284 ? Ss Jan29 0:00 postgres: wal writer process
          postgres 3426 0.0 0.0 43364 1972 ? Ss J  閱讀全文
          posted @ 2010-02-09 15:30 冰是沒有未來的,因為它的永恒| 編輯
          sql 刪除重復的數據      摘要: 1、對于第一種重復,比較容易解決,使用

          select distinct * from tableName

            就可以得到無重復記錄的結果集。

             如果該表需要刪除重復的記錄(重復記錄保留1條),可以按以下方法刪除

          select distinct * into #Tmp from tableName
          drop table tableName
          select * into tableName from #Tmp
          drop table #Tmp


            閱讀全文
          posted @ 2010-02-08 16:22 冰是沒有未來的,因為它的永恒| 編輯
          apt-get proxy 設置      摘要: Well, there's second places I set the proxy on a new Linux install.
          1) in /etc/profile:
          code:


          export http_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"
          export ftp_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"

          2) in /etc/apt/apt.conf
          code:

          Acquire::http::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";
          Acquire::ftp::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";


            閱讀全文
          posted @ 2010-02-02 15:16 冰是沒有未來的,因為它的永恒| 編輯
          E: Dynamic MMap ran out of room(ap-get install)      摘要: Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf
          code:

          APT::Cache-Limit 50000000;
            閱讀全文
          posted @ 2010-02-02 15:13 冰是沒有未來的,因為它的永恒| 編輯
          在eclipse中設置project      摘要:
          1. 用命令行創建新的project
          #>: play new test

          輸入 test(會有What is the application name?提示)
          注:一定要輸入test 否則在導入到eclipse中就要手動改配置文件

          2. 導入eclipse
          >play eclipsify test
          打開eclipse 在import 就ok了.

          如果在創建project時候未輸入test。
          就要手動修改test.launch文件,也就是查找,得出 E:"project"eclipse"play1 ,然后把文件中所有的E:"project"eclipse"play1替換為test
          修改前:

          posted @ 2010-02-01 13:38 冰是沒有未來的,因為它的永恒| 編輯

          當下,把心放下 放下如果是可能的,那一定是在當下,
          不在過去,也不在未來。
          當下放下。唯有活在當下,你的問題才能放下。

          主站蜘蛛池模板: 中宁县| 巨鹿县| 芜湖县| 伊川县| 潼关县| 三江| 离岛区| 突泉县| 集安市| 桃园市| 两当县| 五指山市| 南康市| 嫩江县| 同心县| 十堰市| 沧州市| 通许县| 淳化县| 佛山市| 固阳县| 祁东县| 山西省| 太仓市| 甘孜县| 岑巩县| 清苑县| 辽宁省| 盐源县| 子长县| 屏东县| 定西市| 英吉沙县| 藁城市| 新平| 百色市| 三台县| 九龙县| 杨浦区| 侯马市| 永宁县|