99久久久久,久久国产精品成人影院,亚洲中文字幕无码久久2020http://www.shnenglu.com/meglory/category/13414.htmlcoding for lifezh-cnThu, 23 Jun 2011 14:42:54 GMTThu, 23 Jun 2011 14:42:54 GMT60重新配置好了環境http://www.shnenglu.com/meglory/archive/2011/06/22/149166.htmlmeglorymegloryWed, 22 Jun 2011 03:16:00 GMThttp://www.shnenglu.com/meglory/archive/2011/06/22/149166.htmlhttp://www.shnenglu.com/meglory/comments/149166.htmlhttp://www.shnenglu.com/meglory/archive/2011/06/22/149166.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/149166.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/149166.htmlvim像是一個有著無窮魔力的神器,我需要不停的學習才能在使用的時候能夠得心應手。

vim的配色方案選擇了,jellybeans.vim. 去vim.org站內搜索一下就ok。現在覺著黑色的背景確實看起來還不錯。
我就是喜歡在這些無關緊要的地方琢磨很長時間。

meglory 2011-06-22 11:16 發表評論
]]>
多重粘貼利器ClipXhttp://www.shnenglu.com/meglory/archive/2011/04/11/143918.htmlmeglorymegloryMon, 11 Apr 2011 02:30:00 GMThttp://www.shnenglu.com/meglory/archive/2011/04/11/143918.htmlhttp://www.shnenglu.com/meglory/comments/143918.htmlhttp://www.shnenglu.com/meglory/archive/2011/04/11/143918.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/143918.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/143918.html需要粘貼的東西多了以后,發現多重粘貼實在是個必要的功能。

這里推薦ClipX.

默認是Ctrl+Shift+Insert調出歷史,我設置成了Ctrl+Shift+X,非常方便。

它的官網在這里:http://bluemars.org/clipx/



meglory 2011-04-11 10:30 發表評論
]]>
AutoHotKeyhttp://www.shnenglu.com/meglory/archive/2011/03/12/141649.htmlmeglorymeglorySat, 12 Mar 2011 07:18:00 GMThttp://www.shnenglu.com/meglory/archive/2011/03/12/141649.htmlhttp://www.shnenglu.com/meglory/comments/141649.htmlhttp://www.shnenglu.com/meglory/archive/2011/03/12/141649.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/141649.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/141649.html它會帶來工作效率的巨大提升。
感嘆一句,好用的軟件真是多呀。

meglory 2011-03-12 15:18 發表評論
]]>
Vimperator Visual Cheat Sheethttp://www.shnenglu.com/meglory/archive/2010/12/22/137159.htmlmeglorymegloryWed, 22 Dec 2010 01:49:00 GMThttp://www.shnenglu.com/meglory/archive/2010/12/22/137159.htmlhttp://www.shnenglu.com/meglory/comments/137159.htmlhttp://www.shnenglu.com/meglory/archive/2010/12/22/137159.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/137159.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/137159.html


meglory 2010-12-22 09:49 發表評論
]]>
推薦Vimperatorhttp://www.shnenglu.com/meglory/archive/2010/12/20/vimperator.htmlmeglorymegloryMon, 20 Dec 2010 15:13:00 GMThttp://www.shnenglu.com/meglory/archive/2010/12/20/vimperator.htmlhttp://www.shnenglu.com/meglory/comments/137075.htmlhttp://www.shnenglu.com/meglory/archive/2010/12/20/vimperator.html#Feedback5http://www.shnenglu.com/meglory/comments/commentRss/137075.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/137075.htmlVimperator是一個Firefox的插件。Firefox的好處自然就不用多說了,自從我習慣了Firefox的世界以后,IE對于我來說已經變得不可接受了。作為一個比較喜歡簡潔的人,我把Firefox沒有用的按鈕和菜單都去掉了,從而可以最大程度的利用瀏覽空間。而Vimperator的出現,讓我感覺到作為一個Firefox用戶的真正好日子來了。

Vimperator能夠把雜七雜八的地址欄收藏欄菜單欄通通隱藏掉(可以通過配置文件調出來),只是在瀏覽器下方多出現了一個狀態欄。Vimperator的設計靈感來源于Vim,是一幫熱愛Vim的人希望能夠把Vim的強大功能移植到Firefox上面。Vim用戶可以迅速上手,因為許多命令都是跟vim類似。

當然最吸引我的是,Vimperator可以讓你真正做到雙手不離開鍵盤瀏覽網頁。

想要打開網頁鏈接而不用鼠標去點擊?只要一個F鍵就搞定了。

想要打開一個新的網頁而不用先定位到地址輸入框?一個T鍵就搞定了。

裝了插件以后想要重啟?輸入:res就ok了。想要關閉FF?:q就搞定了。

最最致命的是,想我這種長期瀏覽論壇的人來說,翻頁瀏覽是最煩躁的事情了,在Vimperator下面如何做到翻頁?翻到下頁,點擊]]就搞定了,返回上頁呢?當然[[了啊。

這樣一來,我感到我瀏覽網頁的速度明顯提升了,因為我的雙手都在鍵盤上面操作,打過魔獸的童鞋都知道,為什么大家都要快捷鍵呢?因為敲擊鍵盤的比點擊鼠標的要快出許多許多,Moon大神可以在暗夜精靈的主基地內實現完全的鍵盤操作不用鼠標點擊。而我等小羅羅如何向大神們看齊呢?簡單,裝上Vimperator開始你的APM之旅唄。


注:如果想要了解細節,可以參照這篇文章:http://pchu.blogbus.com/logs/32923406.html


meglory 2010-12-20 23:13 發表評論
]]>
Virtualbox中利用共享文件夾實現訪問雙系統中的win分區http://www.shnenglu.com/meglory/archive/2010/08/08/122598.htmlmeglorymeglorySat, 07 Aug 2010 16:50:00 GMThttp://www.shnenglu.com/meglory/archive/2010/08/08/122598.htmlhttp://www.shnenglu.com/meglory/comments/122598.htmlhttp://www.shnenglu.com/meglory/archive/2010/08/08/122598.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/122598.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/122598.html推薦一篇很好的文章。
http://forum.ubuntu.org.cn/viewtopic.php?f=65&t=125393&sid=9c593e4e65f4b7e560648c827f97a5ff

以前用Vmware在Windows里面虛擬linux的時候訪問分區非常方便。現在是在linux里面虛擬了win出來,并且工具變成了virtualbox,麻煩一下子很多,這篇文章完全解決了自己的問題。



meglory 2010-08-08 00:50 發表評論
]]>
又被虐了http://www.shnenglu.com/meglory/archive/2010/08/06/122488.htmlmeglorymegloryFri, 06 Aug 2010 15:33:00 GMThttp://www.shnenglu.com/meglory/archive/2010/08/06/122488.htmlhttp://www.shnenglu.com/meglory/comments/122488.htmlhttp://www.shnenglu.com/meglory/archive/2010/08/06/122488.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/122488.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/122488.html出來混,總是要還。
Linux的命令沒有學好,今天被問倒了。

查看目錄的大小。

NAME

du - estimate file space usage

SYNOPSIS

du [OPTION]... [FILE]...

EXAMPLES

DESCRIPTION

Summarize disk usage of each FILE, recursively for directories.

Mandatory arguments to long options are mandatory for short options too.

-a, --all
write counts for all files, not just directories
-B, --block-size=SIZE use SIZE-byte blocks
-b, --bytes
print size in bytes
-c, --total
produce a grand total
-D, --dereference-args
dereference FILEs that are symbolic links
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si
likewise, but use powers of 1000 not 1024
-k
like --block-size=1K
-l, --count-links
count sizes many times if hard linked
-L, --dereference
dereference all symbolic links
-S, --separate-dirs
do not include size of subdirectories
-s, --summarize
display only a total for each argument
-x, --one-file-system
skip directories on different filesystems
-X FILE, --exclude-from=FILE
Exclude files that match any pattern in FILE.
--exclude=PATTERN Exclude files that match PATTERN.
--max-depth=N
print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; --max-depth=0 is the same as --summarize
--help
display this help and exit
--version
output version information and exit




meglory 2010-08-06 23:33 發表評論
]]>
chrome for Linux的字體配置http://www.shnenglu.com/meglory/archive/2010/08/03/122110.htmlmeglorymegloryTue, 03 Aug 2010 14:17:00 GMThttp://www.shnenglu.com/meglory/archive/2010/08/03/122110.htmlhttp://www.shnenglu.com/meglory/comments/122110.htmlhttp://www.shnenglu.com/meglory/archive/2010/08/03/122110.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/122110.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/122110.html

 1.打開Chrome瀏覽器。選項->高級設置->(往下面拖一下)網頁內容->更改字體和語言設置

 2.將Serif字體修改成 Sans 16,Sans-Serif字體修改成 Sans 16,寬度固定字體:修改成Monospace 13 ;




meglory 2010-08-03 22:17 發表評論
]]>
配好了taglisthttp://www.shnenglu.com/meglory/archive/2010/07/09/119920.htmlmeglorymegloryFri, 09 Jul 2010 15:52:00 GMThttp://www.shnenglu.com/meglory/archive/2010/07/09/119920.htmlhttp://www.shnenglu.com/meglory/comments/119920.htmlhttp://www.shnenglu.com/meglory/archive/2010/07/09/119920.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/119920.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/119920.htmlvim使用進入一個新的階段,多多熟悉新的命令。多多接觸新的插件提高自己的效率。
之前用過一段時間source insight發現讀代碼確實很方便,現在的ctags+taglist也基本可以做到這些了。

ctags是一個類似也詞法分析器的東東,能夠把代碼中的變量以及函數定義給分析出來成為tag
而taglist就根據ctags產生的tag來跳轉,所以閱讀代碼和查找函數的時候都非常方便。基本Google一下就可以找到很多配置的文章。

現在記錄一下常用的命令:
基本使用
在相應的源碼目錄運行ctags -R產生相應的tags文件
在有tags文件的源碼目錄下執行 vim 源碼文件名 進入vim
VIM 啟動時會在該目錄查找tags文件,如果找到則自動加載。
使用 :TlistToggle 命令切換函數列表開關。
Ctrl+兩下w 切換編輯區域和列表區域。
在列表區將光標移動到函數名上,回車即可查看。
可以在編輯區將光標移動到函數名上,使用 Ctrl+] 查看函數定義。

在taglist窗口中,可以使用下面的快捷鍵:
<CR>          跳到光標下tag所定義的位置,用鼠標雙擊此tag功能也一樣
o             在一個新打開的窗口中顯示光標下tag
<Space>       顯示光標下tag的原型定義
u             更新taglist窗口中的tag
s             更改排序方式,在按名字排序和按出現順序排序間切換
x             taglist窗口放大和縮小,方便查看較長的tag
+             打開一個折疊,同zo
-             將tag折疊起來,同zc
*             打開所有的折疊,同zR
=             將所有tag折疊起來,同zM
[[            跳到前一個文件
]]            跳到后一個文件
q             關閉taglist窗口



meglory 2010-07-09 23:52 發表評論
]]>
This is a blog published via Windows Live Writerhttp://www.shnenglu.com/meglory/archive/2010/04/04/111549.htmlmeglorymeglorySat, 03 Apr 2010 16:29:00 GMThttp://www.shnenglu.com/meglory/archive/2010/04/04/111549.htmlhttp://www.shnenglu.com/meglory/comments/111549.htmlhttp://www.shnenglu.com/meglory/archive/2010/04/04/111549.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/111549.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/111549.htmlThis is a blog post published via Windows Live Writer.

This is a great tool.



meglory 2010-04-04 00:29 發表評論
]]>
vim的用法記錄 | to be continued...http://www.shnenglu.com/meglory/archive/2010/03/30/learning-the-vim.htmlmeglorymegloryTue, 30 Mar 2010 12:33:00 GMThttp://www.shnenglu.com/meglory/archive/2010/03/30/learning-the-vim.htmlhttp://www.shnenglu.com/meglory/comments/111048.htmlhttp://www.shnenglu.com/meglory/archive/2010/03/30/learning-the-vim.html#Feedback0http://www.shnenglu.com/meglory/comments/commentRss/111048.htmlhttp://www.shnenglu.com/meglory/services/trackbacks/111048.html

Vim實屬博大精深,需要花時間一點一點參透。順便在此記錄一下自己經常用到的有用的命令。

1.批量替換

在寫代碼的時候很經常用到的功能就是批量替換,把某個變量替換成另外一個名字。

只要在命令行模式下輸入:

:%s/string_a/string_b/g

其中的%意思是在全文進行替換,去掉%之后則只在當前行進行替換。

string_a為被替換的字符串,string_b為替換的字符串。

末尾的/g表示全部替換,去掉之后則只對該行第一個匹配成功的字符串進行替換。

例如一段文字:

a

abab

a

執行:%s/a/!/g后變為

!

!b!b

!

執行:%s/a/!后變為

!

!bab

!

若當前光標在第二行,則執行:s/a/!后為:

a

!bab

a

2.注釋插件

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

嘗嘗寫代碼的時候需要注釋一個整行或者連續幾行,若是總是進入insert模式然后切換光標到行首再輸入注釋總感覺效率低下,這款comments.vim則解決了這個問題。

在上面的網址下載這個插件以后,只要把它放到自己vim目錄下的vim\vim72\plugin目錄下,重啟vim即可。

只要在命令模式下,在當前行的時候輸入>c即可注釋當前行,輸入<c則可以取消注釋。

3.永別ESC,改掉你的vim使用習慣

別用ESC了,用ctrl-[ 更快捷。

這下終于可以所有的操作,手都不離開主鍵盤區了。

想成為vim高手?從現在開始改吧。


4.

用vi刪除某一列

關鍵詞vi                                           Ctrl V, G 之后再右移光標選種幾列進行刪除x
如果不用G的話,可以手動自己移動光標進行選擇,最后刪除

當然如果用cut和awk也是可以實現的

比如刪除第10列,

文件有100列

cut -d " " -f 1-9,11-100 urfile

or:

awk '{$10="",print}' urfile

meglory 2010-03-30 20:33 發表評論
]]>
久久久久久国产精品美女| 久久久久人妻精品一区| 久久亚洲私人国产精品vA| 色综合久久天天综线观看| 国产亚洲精午夜久久久久久| 青青青伊人色综合久久| 亚洲精品国产成人99久久| 亚洲嫩草影院久久精品| 99久久国语露脸精品国产| 国产精品久久久久久福利69堂| 99久久综合狠狠综合久久止| 九九精品99久久久香蕉| 日本久久久精品中文字幕| 国产精品熟女福利久久AV| 四虎国产精品免费久久| 色婷婷综合久久久久中文一区二区| 人妻精品久久久久中文字幕69 | 一本一道久久a久久精品综合| 久久久久久无码国产精品中文字幕 | 久久精品人人做人人妻人人玩| 奇米综合四色77777久久| 国产精品久久久久久福利漫画 | 久久久久久久97| 欧美黑人又粗又大久久久| Xx性欧美肥妇精品久久久久久| 久久无码一区二区三区少妇| 国内精品综合久久久40p| 99久久99久久| 色天使久久综合网天天| 青青国产成人久久91网| 亚洲综合熟女久久久30p| 91精品国产乱码久久久久久| 欧美午夜A∨大片久久 | 思思久久好好热精品国产| 国产精品免费久久| 亚洲欧美一级久久精品| 久久久精品人妻一区二区三区蜜桃| 国产福利电影一区二区三区久久久久成人精品综合 | 久久久久亚洲AV成人网人人网站 | 久久夜色精品国产欧美乱| 久久亚洲欧洲国产综合|