Let spirit guide you

          thinking in life.

          常用鏈接

          統計

          API

          Forum

          Site

          WiKi

          最新評論

          enter

          enter

          posted on 2012-08-24 12:53 cary 閱讀(911) 評論(56)  編輯  收藏 所屬分類: front

          評論

          # re: enter 2012-08-24 12:54 cary

          1  回復  更多評論   

          # re: enter[未登錄] 2012-08-24 12:55 root

          http://javag.iteye.com/blog/221595  回復  更多評論   

          # re: enter[未登錄] 2012-08-24 12:55 root

          mina
          http://javag.iteye.com/blog/221595  回復  更多評論   

          # re: enter[未登錄] 2012-09-02 13:58 root

          svn online
          http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-7-sect-1  回復  更多評論   

          # re: enter[未登錄] 2012-09-03 11:08 root


          create repository

          $ svnadmin create /usr/local/svn/repos
          $svn import tmp/dirs file:///usr/local/svn/repos -m "initial import"  回復  更多評論   

          # re: enter[未登錄] 2012-09-04 15:03 root

          svn add folder
          svn ci folder -m "add new folder that needs to be ignore."

          export SVN_EDITOR=vim

          cd folder
          svn propedit svn:ignore .

          >open vim editor.
          input * or *.class


          save and close vim.

          svn status
            回復  更多評論   

          # re: enter[未登錄] 2012-09-05 17:56 root

          submit with given user name:
          svn ci touch.txt --no-auth-cache --username jerry --password jerry -m ""  回復  更多評論   

          # re: enter[未登錄] 2012-09-13 15:23 root

          ant buildxml

          <?xml version="1.0" ?>
          <project name="name" basedir="." default="usage" >

          <target name="usage">
          <echo message="Type ant -p for available targets"/>
          </target>
          </project>

            回復  更多評論   

          # re: enter[未登錄] 2012-09-13 15:27 root

          # Select "Create New Remote Site" and enter "XFire" as the name and http://dist.codehaus.org/xfire/update/ as the eclipse update site.

          http://xfire.codehaus.org/Eclipse+Plugin  回復  更多評論   

          # re: enter[未登錄] 2012-09-13 17:25 root

          <target name="copy">
          <delete dir="dest" />
          <mkdir dir="dest" />
          <copy todir="dest">
          <fileset dir="src">
          <exclude name="**/*.svn"/>
          <exclude name="**/*.swp"/>
          </fileset>
          </copy>
          </tar  回復  更多評論   

          # re: enter[未登錄] 2012-09-17 09:14 root

          eclipse vim plugin
          http://vrapper.sourceforge.net/update-site/stable  回復  更多評論   

          # re: enter[未登錄] 2012-10-30 16:06 root

          oracle java sample.
          https://wikis.oracle.com/display/code/Home  回復  更多評論   

          # re: enter[未登錄] 2012-11-16 11:01 root

          sina blog open api

          http://open.weibo.com/wiki/API%E6%96%87%E6%A1%A3_V2#.E7.94.A8.E6.88.B7  回復  更多評論   

          # re: enter[未登錄] 2012-11-16 11:01 root

          sina blog open api
          http://open.weibo.com/  回復  更多評論   

          # re: enter[未登錄] 2012-11-16 11:51 root



          http://eclipsecolorthemes.org/  回復  更多評論   

          # re: enter[未登錄] 2012-11-23 14:35 root

          http://blog.spec-india.com/install-mongodb-on-suse-linux  回復  更多評論   

          # re: enter[未登錄] 2012-11-30 15:27 root

          html5
          http://ghost-hack.com/post/jsexperiments/tunneler/tunneler.html  回復  更多評論   

          # re: enter[未登錄] 2012-11-30 17:10 root

          <repositories>
          <repository>
          <id>maven2-repository.dev.java.net</id>
          <name>Java.net Maven 2 Repository</name>
          <url>http://download.java.net/maven/2</url>
          </repository>
          <repository>
          <id>maven-repository.dev.java.net</id>
          <name>Java.net Maven 1 Repository (legacy)</name>
          <url>http://download.java.net/maven/1</url>
          <layout>legacy</layout>
          </repository>
          </repositories>
            回復  更多評論   

          # re: enter[未登錄] 2012-12-07 14:36 root

          css
          http://developer.51cto.com/art/201212/369649.htm  回復  更多評論   

          # re: enter[未登錄] 2013-02-26 17:47 root

          mvn clean install -Dmaven.test.skip=true
            回復  更多評論   

          # re: enter[未登錄] 2013-02-26 17:52 root

          vn clean source:jar install -Dmaven.test.skip=true  回復  更多評論   

          # re: enter[未登錄] 2013-02-27 11:00 root

          mvn archetype:create -DgroupId=com.name -DartifactId=com.name -DpackageName=com.name -DarchetypeArtifactId=maven-archetype-webap  回復  更多評論   

          # re: enter[未登錄] 2013-03-16 11:28 root

          linux下root密碼找回方法

            ===

            linux的root享有至高無上的權力,一旦root密碼忘記或者被盜,是一件非常頭痛的事情,那么怎么樣才能找回root的密碼呢,本人把其總結如下:

            (一)Linux 系統密碼破解

            1.在grub選項菜單按e進入編輯模式

            2.編輯kernel那行 /init 1 (或/single)

            3.按B重啟

            4.進入后執行下列命令

            root@#passwd root (配置root的密碼)

            Enter new unix password:輸入新的密碼

            root@#init 6

            ============================================================================

            (二)debian linux 系統密碼破解

            1.在grub選項菜單’Debian GNU/Linux,...(recovery mode)’,按e進入編輯模式

            2.編輯kernel那行面的 ro single 改成 rw single init=/bin/bash,按b執行重啟

            3.進入后執行下列命令

            root@(none)#mount -a

            root@(none)#passwd root

            root@(none)#reboot

            ============================================================================

            (三)Freebsd 系統密碼破解

            1.開機進入引導菜單

            2.選擇每項(按4)進入單用戶模式

            3.進入之后輸入一列命令

            root@#mount -a

            root@#fsck -y

            root@#passwd(修改密碼命令)  回復  更多評論   

          # re: enter[未登錄] 2013-05-02 14:09 root

          vim 解決中文亂碼。

          set encoding=utf-8
          set termencoding=utf-8
          set fileencodings=utf-8,chinese,latin-1
          if has("win32")
          set fileencoding=chinese
          else
          set fileencoding=utf-8
          endif
          language messages zh_CN.utf-8  回復  更多評論   

          # re: enter[未登錄] 2013-05-03 17:42 root

          set encoding=utf-8

          set guifont=Consolas:h16:cANS


          :set guifont?


          http://www.vimer.cn/2009/11/vim%EF%BC%88gvim%EF%BC%89%E7%BC%96%E7%A8%8B%E5%AD%97%E4%BD%93%E6%8E%A8%E8%8D%90.html  回復  更多評論   

          # re: enter[未登錄] 2013-05-03 19:02 root

          " tab setting.
          "這樣很方便,用alt+1就可以切換到第1tab頁,用alt+2就可以切換到第2tab頁,
          "以此類推。當然缺點也很明顯,就是沒辦法到第10個以上的tab頁。
          "用alt+F1就可以關閉當前標簽頁,用alt+F2可以打開一個新的標簽頁。
          "alt+c
          "alt+n
          "

          set guitablabel=%N/\ %t\ %

          map <M-1> 1gt
          map <M-2> 2gt
          map <M-3> 3gt
          map <M-4> 4gt
          map <M-5> 5gt
          map <M-6> 6gt
          map <M-7> 7gt
          map <M-8> 8gt
          map <M-9> 9gt
          map <M-c> :tabclose<CR>
          map <M-n> :tabedit<CR>  回復  更多評論   

          # re: enter[未登錄] 2013-05-03 21:23 root

          let Tlist_Ctags_Cmd="/usr/bin/ctags"
          let Tlist_Inc_Winwidth=0
          nnoremap <silent> <F8> :TlistToggle<CR>

          let Tlist_Auto_Open = 0
          let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open
          let Tlist_Show_One_File = 1 " Only show tags for current buffer
          let Tlist_Use_Right_Window = 0 " Open on right side
          let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file)
          let tlist_sql_settings = 'sql;P:package;t:table'
          let tlist_ant_settings = 'ant;p:Project;r:Property;t:Target'


          let JavaBrowser_Ctags_Cmd="/usr/bin/ctags"
          let JavaBrowser_Inc_Winwidth=0
            回復  更多評論   

          # re: enter[未登錄] 2013-05-04 00:32 root

          maven for eclipse - http://download.eclipse.org/technology/m2e/releases


          Update Sites
          Latest m2e release (recommended)
          http://download.eclipse.org/technology/m2e/releases
          m2e milestone builds towards version 1.4
          http://download.eclipse.org/technology/m2e/milestones/1.4
          Latest m2e 1.4 SNAPSHOT build (not tested, not hosted at eclipse.org)
          http://nexus.tesla.io:8081/nexus/content/sites/m2e.extras/m2e/1.4.0/N/LATEST/

          http://eclipse.org/m2e/download/  回復  更多評論   

          # re: enter[未登錄] 2013-05-06 10:09 root

          eclipse subversion
          Eclipse update site URL: http://subclipse.tigris.org/update_1.8.x  回復  更多評論   

          # re: enter[未登錄] 2013-05-06 10:23 root

          for windows gvim


          set encoding=utf-8

          set guifont=Consolas:h16:cANSI

          " tab setting.
          "這樣很方便,用alt+1就可以切換到第1tab頁,用alt+2就可以切換到第2tab頁,
          "以此類推。當然缺點也很明顯,就是沒辦法到第10個以上的tab頁。
          "用alt+F1就可以關閉當前標簽頁,用alt+F2可以打開一個新的標簽頁。
          "alt+c
          "alt+n
          "

          set guitablabel=%N/\ %t\ %

          map <M-1> 1gt
          map <M-2> 2gt
          map <M-3> 3gt
          map <M-4> 4gt
          map <M-5> 5gt
          map <M-6> 6gt
          map <M-7> 7gt
          map <M-8> 8gt
          map <M-9> 9gt
          map <M-c> :tabclose<CR>
          map <M-n> :tabedit<CR>

          let Tlist_Ctags_Cmd='F:\vim\gvimPortable\gVimrtable\gVimrtable'



          "ctags
          "F:\vim\gvimPortable\gVimrtable\gVimrtable\ctags.exe
          "3. If the exuberant ctags utility is not present in your PATH, then set the
          " Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags
          " utility (not to the directory) in the .vimrc file.
          "4. If you are running a terminal/console version of Vim and the terminal
          " doesn't support changing the window width then set the
          " 'Tlist_Inc_Winwidth' variable to 0 in the .vimrc file.
          "5. Restart Vim.
          "6. You can now use the ":TlistToggle" command to open/close the taglist
          " window. You can use the ":help taglist" command to get more information
          " about using the taglist plugin.   回復  更多評論   

          # re: enter[未登錄] 2013-05-06 13:33 root

          mac svn tool


          http://code.google.com/p/svnx/downloads/detail?name=svnX%201.3.4.dmg&can=2&q=  回復  更多評論   

          # re: enter[未登錄] 2013-05-07 14:08 root

          public static <T> T getBean(Class<T> clz) {
          return TheCtx.getBean(clz);
          }

          // public static Object getBean(Class clz) {
          // return TheCtx.getBean(clz);
          // }  回復  更多評論   

          # re: enter[未登錄] 2013-05-07 15:32 root

          http://www.vim.org/scripts/script.php?script_id=2809

          description
          ===============================================================================
          Introduction *fontsize-intro*

          This plugin provides convenient mappings for changing the font size in Gvim.

          <Leader>== Begin "font size" mode
          <Leader>++ Increment font size
          <Leader>-- Decrement font size
          <Leader>00 Revert to default font size   回復  更多評論   

          # re: enter[未登錄] 2013-05-09 13:00 root


          json


          http://code.alibabatech.com/wiki/pages/viewpage.action?pageId=2424946

          https://code.google.com/p/google-gson/  回復  更多評論   

          # re: enter[未登錄] 2013-05-09 16:02 root

          http://www.codeproject.com/Articles/159450/fastJSON  回復  更多評論   

          # re: enter[未登錄] 2013-05-13 16:33 root

          http://code.google.com/p/dwz/  回復  更多評論   

          # re: enter[未登錄] 2013-05-21 00:07 root

          替換;

          按ESC鍵進入命令模式;
          :s /SEARCH/REPLACE/g 注:把當前光標所處的行中的SEARCH單詞,替換成REPLACE,并把所有SEARCH高亮顯示;
          :%s /SEARCH/REPLACE 注:把文檔中所有SEARCH替換成REPLACE;
          :#,# s /SEARCH/REPLACE/g 注:#號表示數字,表示從多少行到多少行,把SEARCH替換成REPLACE;
          注:在這之中,g表示全局查找;我們注意到,就是沒有替換的地方,也會把SEARCH高亮顯示;
          舉例說明:
          比如我們有一篇文檔要修改;
          我們把光標所在的行,把所有單詞the,替換成THE,應該是:
          :s /the/THE/g
          我們把整篇文檔的所有的the都替換成THE,應該是:
          :%s /the/THE
          我們僅僅是把第1行到第10行中的the,替換成THE,應該是;
          :1,10 s /the/THE/g  回復  更多評論   

          # re: enter[未登錄] 2013-05-22 10:11 root

          :g/str1/,/str2/d 刪除所有第一個含str1到第一個含str2之間的行
          :%s/r//g


          xxyyaa

          VALUES (178, 1, 9);

          VALUES (184, 1, 9);
          aayyxx
          VALUES (185, 1, 9)

          :%s/xxyyaa/,/aayyxx/g
            回復  更多評論   

          # re: enter[未登錄] 2013-05-23 09:57 root

          常見問題及應用技巧
          1) 在一個新文件中讀/etc/passwd中的內容,取出用戶名部分
          vi file
          :r /etc/passwd 在打開的文件file中光標所在處讀入/etc/passwd
          :%s/:.*//g 刪除/etc/passwd中用戶名后面的從冒號開始直到行尾的所有部分
          :3r /etc/passwd 這是在指定的行號后面讀入文件內容
          另外一種方法刪掉文件中所有的空行及以#開始的注釋行
          #cat squid.conf.default | grep -v ‘^$’ | grep -v ‘^#’

          2) 在打開一個文件編輯后才知道登錄的用戶對該文件沒有寫權,不能存盤
          vi file
          :w /tmp/1 既然沒法存盤,不想放棄所做的所有修改,先臨時存到/tmp/1
          :20,59w /tmp/1 或者僅僅把第20到59行之間的內容存盤成文件/tmp/1

          A
          3) 用VI編輯一個文件,但需要刪除大段大段的內容
          vi file
          Ctrl+G 把光標移到需要刪除的行的處按ctrl+G顯示行號,再到結尾處再按Ctrl+G.
          :23,1045d 假定兩次行號為23和1045,則把這幾間的內容全刪除

          也可以在開始和結束兩行中用ma,mb命令標記后用:’a,’bd刪除.
          4) 在整個文件或某幾行中在行首或行尾加一些字符串
          vi file
          :3,$s/^/some string / 在文件的第三行至最后一行的行首前插入some string
          :%s/$/ some string/g 在整個文件每一行的行尾添加 some string

          :%s/string1/string2/g 在整個文件中替換string1成string2
          :3,7s/string1/string2/ 僅替換文件中的第三到七行中的string1成string2

          Note: s為substitute,%表示所有行,g表示global


          5) 同時編輯兩個文件,在兩個文件中拷貝剪貼文本
          vi file1 file2
          yy 同時打開兩個文件,在文件1的光標所在處拷貝所在行
          :n 切換到文件2 (n=next)
          p 在文件2的光標所在處粘貼所拷貝的行
          :N 切換回文件1

          6) 替換文件中的路徑

          :%s#/usr/bin#/bin#g 把文件中所有路徑/usr/bin換成/bin
          或者用
          :%s//usr/bin//bin/g 在’/'前用符號指出’/'是真的單個字符’/’

          7) 用 vi 多行注釋
          如果要給多行程序作注釋,一個笨辦法就是 插入 # ,然后用 j 跳到下一行用 .
          命令,重復上個命令。如果要注釋幾百行,這樣的方法恐怕太愚蠢了。一個聰明的辦法是:
          :.,+499 s/^/#/g
          若需全文的行首插入可用以下命令
          :%s/^/#/g

            回復  更多評論   

          # re: enter[未登錄] 2013-05-24 11:29 root

          如何在vim中刪除空行

          :g/^$/d  回復  更多評論   

          # re: enter[未登錄] 2013-05-24 14:02 root


          maven repository
          http://mvnrepository.com/artifact/junit/junit/4.11  回復  更多評論   

          # re: enter[未登錄] 2013-05-27 12:34 root

          http://rejetto.com/hfs/
          HFS ~ Http File Server  回復  更多評論   

          # re: enter[未登錄] 2013-05-28 22:55 root

          http://learnvimscriptthehardway.stevelosh.com  回復  更多評論   

          # re: enter[未登錄] 2013-06-01 17:31 root

          http://eclipse.org/m2e/download/

          maven eclipse plugin update site  回復  更多評論   

          # re: enter[未登錄] 2013-06-18 14:51 root


          set nobackup
          set noswapfile
          set hlsearch
          set incsearch
          set autoindent
          set cindent


          set encoding=utf-8

          set guifont=Consolas:h16:cANSI

          set guitablabel=%N/\ %t\ %
            回復  更多評論   

          # re: enter[未登錄] 2013-06-18 15:20 root

          mvn install:install-file
          -DgroupId=<your_group_name>
          -DartifactId=<your_artifact_name>
          -Dversion=<snapshot>
          -Dfile=<path_to_your_jar_file>
          -Dpackaging=jar
          -DgeneratePom=true   回復  更多評論   

          # re: enter[未登錄] 2013-06-18 15:20 root

          maven for eclipse -
          http://download.eclipse.org/technology/m2e/releases/1.0/1.0.200.20111228-1245


          hotdeploy -
          http://www.imixs.org/manik.updatesite/
            回復  更多評論   

          # re: enter[未登錄] 2013-06-25 10:25 root

          set nobackup
          set noswapfile
          set hlsearch
          set incsearch
          set autoindent
          set cindent

          syntax enable
          syntax on

          " 光標移動到buffer的頂部和底部時保持3行距離
          set scrolloff=3


          set guifont=Consolas:h14:cANSI

          set guitablabel=%N/\ %t\ %  回復  更多評論   

          # re: enter[未登錄] 2013-06-25 11:49 root


          mvn archetype:generate -DarchetypeGroupId=com.taobao.webx.archetypes -DarchetypeArtifactId=webx-quickstart -DarchetypeVersion=1.0.1 -DgroupId=my.groupid -DartifactId=my-artifactId  回復  更多評論   

          # re: enter[未登錄] 2013-06-26 14:09 root

          set vb t_vb=

          $ cd
          $ vi .xession
          #添加,關閉xwindows的報警
          xset b off
          $ vi .inputrc
          #添加,關閉shell里的報警
          set bell-style none
          $ vi .vimrc
          #添加,設置vi里的報警為閃屏,如果閃屏也不要那就加入set vb t_vb=
          set vb
          $ vi .emacs
          #添加,關閉Emacs里的報警
          setq visible-bell t  回復  更多評論   

          # re: enter[未登錄] 2014-01-08 18:01 root

          Git服務器Gitosis安裝設置

          http://wiki.ubuntu.org.cn/Git%E6%9C%8D%E5%8A%A1%E5%99%A8Gitosis%E5%AE%89%E8%A3%85%E8%AE%BE%E7%BD%AE  回復  更多評論   

          # m2eclipse[未登錄] 2014-01-27 11:46 root

          Update Sites
          Latest m2e release (recommended)
          http://download.eclipse.org/technology/m2e/releases
          m2e milestone builds towards version 1.5
          http://download.eclipse.org/technology/m2e/milestones/1.5
          Latest m2e 1.5 SNAPSHOT build (not tested, not hosted at eclipse.org)
          http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/   回復  更多評論   

          # E-Git for eclipse[未登錄] 2014-01-27 11:58 root

          E-git - http://download.eclipse.org/egit/updates  回復  更多評論   

          # re: enter[未登錄] 2015-06-26 19:32 root

          http://www.forbeschina.com/review/201506/0043197_7.shtml  回復  更多評論   

          # re: enter[未登錄] 2015-06-26 19:43 root

          http://www.forbeschina.com/review/201503/0041213_3.shtml  回復  更多評論   

          # re: enter[未登錄] 2016-05-24 16:56 root


          php中文文檔
          https://secure.php.net/manual/zh/reserved.variables.php  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 三江| 石家庄市| 苗栗市| 宁德市| 西城区| 叙永县| 景泰县| 枝江市| 自贡市| 青川县| 夏邑县| 辰溪县| 红安县| 泰和县| 龙井市| 罗甸县| 张家港市| 陕西省| 盐城市| 新竹市| 十堰市| 石楼县| 衡阳县| 霍林郭勒市| 沙雅县| 沈阳市| 永福县| 奉节县| 南开区| 乌拉特中旗| 永靖县| 丽江市| 江达县| 民丰县| 会理县| 周口市| 南陵县| 长治市| 城市| 永登县| 上饶县|