隨筆-204  評論-90  文章-8  trackbacks-0
           
          posted @ 2019-11-19 16:41 一凡 閱讀(152) | 評論 (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 一凡 閱讀(224) | 評論 (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 一凡 閱讀(137) | 評論 (0)編輯 收藏
          推薦:
          https://github.com/wming3/.vimToIDE
          posted @ 2017-05-08 16:33 一凡 閱讀(230) | 評論 (0)編輯 收藏

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

          Guice OKHttp Retrofit 
          posted @ 2017-03-02 17:36 一凡 閱讀(139) | 評論 (0)編輯 收藏
          http://www.iteye.com/news/32119
          posted @ 2017-02-10 18:57 一凡 閱讀(149) | 評論 (0)編輯 收藏
          http://www.iteye.com/news/31877
          posted @ 2016-10-11 15:26 一凡 閱讀(173) | 評論 (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 一凡 閱讀(361) | 評論 (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 一凡 閱讀(229) | 評論 (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 一凡 閱讀(283) | 評論 (0)編輯 收藏
          僅列出標題
          共21頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 
          主站蜘蛛池模板: 登封市| 上饶市| 永兴县| 马尔康县| 封丘县| 嘉祥县| 宿州市| 台北县| 石棉县| 包头市| 淮南市| 天门市| 屏东市| 延安市| 探索| 筠连县| 广丰县| 万安县| 平乐县| 郁南县| 新源县| 崇明县| 射阳县| 蕲春县| 湖北省| 景洪市| 九龙坡区| 巫溪县| 山东省| 陵水| 长白| 长岛县| 吉木乃县| 宾川县| 克拉玛依市| 西乌珠穆沁旗| 合江县| 萨迦县| 宿迁市| 梧州市| 桑日县|