隨筆-204  評論-90  文章-8  trackbacks-0
           
          posted @ 2019-11-19 16:41 一凡 閱讀(158) | 評論 (0)編輯 收藏
           處理1W條復雜json數據性能對比

          1. golang

            ./go_extract_json  0.95s user 0.12s system 99% cpu 1.081 total    
          2. shell
            bash segment.sh  0.64s user 0.07s system 101% cpu 0.695 total
          3. perl
            perl extract.pl  39.57s user 0.54s system 98% cpu 40.579 total
          posted @ 2019-09-20 18:13 一凡 閱讀(227) | 評論 (0)編輯 收藏
          1.  Invalid bound statement (not found)
            在接口名稱及方法名稱對應OK的情況下,在application.properties中添加:
          mybatis.mapperLocations=classpath:mapper/*Mapper.xml   
          mybatis.typeAliasesPackage=com.willpower.entity
          posted @ 2019-04-03 21:41 一凡 閱讀(140) | 評論 (0)編輯 收藏
          推薦:
          https://github.com/wming3/.vimToIDE
          posted @ 2017-05-08 16:33 一凡 閱讀(233) | 評論 (0)編輯 收藏

          http://www.iteye.com/news/32170

          Guice OKHttp Retrofit 
          posted @ 2017-03-02 17:36 一凡 閱讀(142) | 評論 (0)編輯 收藏
          http://www.iteye.com/news/32119
          posted @ 2017-02-10 18:57 一凡 閱讀(158) | 評論 (0)編輯 收藏
          http://www.iteye.com/news/31877
          posted @ 2016-10-11 15:26 一凡 閱讀(178) | 評論 (0)編輯 收藏
           //mysql
           mysql -uroot -proot -h127.0.0.1 testdb -e " select a, b, c, d from t_test where a='xxxx'" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > /tmp/xxxxx.csv
          posted @ 2015-01-22 18:55 一凡 閱讀(372) | 評論 (0)編輯 收藏

              http://www.oracle.com/

              wget下載方法:
              1、在打開瀏覽器的開發者工具
              2、在network里找到類似http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1416809306_8aff16bf46c832f44260abcc951c58ea


          wget http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin\?AuthParam=1416809306_8aff16bf46c832f44260abcc951c58ea
          注意:紅色,由于?是通配符,需要轉義一下。
          posted @ 2014-11-24 14:09 一凡 閱讀(230) | 評論 (0)編輯 收藏
          set hlsearch                  "高亮度反白
          set backspace=2               
          "可隨時用倒退鍵刪除
          set autoindent                 "自動縮排
          set ruler                      
          "可顯示最后一行的狀態
          set showmode                 "左下角那一行的狀態
          set nu                        
          "可以在每一行的最前面顯示行號
          set bg=dark                   "顯示不同的底色色調
          syntax on                     
          "進行語法檢驗,顏色顯示
          set wrap                      "自動折行
          set shiftwidth=4
          set tabstop=4
          set softtabstop=4
          set expandtab                  
          "將tab替換為相應數量空格
          set smartindent
          "phpcomplete
          filetype plugin on
          autocmd FileType php set omnifunc=phpcomplete#CompletePHP
          "php-doc
          source /home/qiaoy/sf/php-doc.vim
          inoremap <C-P> <ESC>:call PhpDocSingle()<CR>i
          nnoremap <C-P> :call PhpDocSingle()<CR>
          vnoremap <C-P> :call PhpDocRange()<CR>

          "neocomplcache
          if &term==
          "xterm"
              set t_Co=8
              set t_Sb=^[[4%dm
              set t_Sf=^[[3%dm
          endif
          let g:neocomplcache_enable_at_startup = 1

          "autoload .vimrc
          autocmd! bufwritepost .vimrc source %
          posted @ 2014-09-17 14:27 一凡 閱讀(285) | 評論 (0)編輯 收藏
          僅列出標題
          共21頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 
          主站蜘蛛池模板: 南江县| 通山县| 安龙县| 荣成市| 正定县| 汉中市| 沂南县| 尼勒克县| 柳州市| 巴南区| 河曲县| 全州县| 班戈县| 若羌县| 云林县| 老河口市| 泸水县| 乳源| 紫阳县| 福海县| 延庆县| 东乌珠穆沁旗| 香港 | 漾濞| 四平市| 东宁县| 偏关县| 拉萨市| 恩施市| 宁河县| 大关县| 泸州市| 秭归县| 平定县| 铜川市| 灵武市| 诸暨市| 防城港市| 天津市| 东丽区| 多伦县|