2007年5月14日星期一

Firefox Tips

From



Web Development » Blog Archive » 15 Coolest Firefox Tricks Ever







a)Smart Keywords(same as quick search)



Right-click on the search box of one website and







select "Add a keyword for this Search",give the keyword a name and an easy-to-type shortcut name .



You can just type the shortcut name and the search String in the address bar next time to search.







b) Keyboard shortcuts



  • Spacebar (page down)



  • Shift-Spacebar (page up) May conflict to SCIM's shortcuts



  • Ctrl+F (find)
  • Alt-N (find next)
  • Ctrl+D (bookmark page)
  • Ctrl+T (new tab)
  • Ctrl+K (go to search box)
  • Ctrl+L (go to address bar)
  • Ctrl+= (increase text size)
  • Ctrl+- (decrease text size)
  • Ctrl-W (close tab)
  • F5 (reload)
  • Alt-Home (go to home page)
c) Auto-complete



In the address bar, just type "Google" and press Control-Enter. The "www" and ".com" will be auto complete.Shift-Enter for .net , Control-Shift-Enter .org.







d) Tab navigation



  • Ctrl+Tab (rotate forward among tabs)
  • Ctrl+Shift+Tab (rotate to the previous tab)
  • Ctrl+1-9 (choose a number to jump to a specific tab)
e) Mouse shortcuts



  • Middle click on link (opens in new tab)
  • Shift-scroll down (previous page)
  • Shift-scroll up (next page)
  • Ctrl-scroll up (decrease text size)
  • Ctrl-scroll down (increase text size)
  • Middle click on a tab (closes tab)
f) Delete items from address bar history







Use arrow key to select the history item in address bar and then press "delete" to delete this item.







g) chrome and user.js







Chrome tutorial and example user.js (Unread)







h) about:config







  • network.http.pipelining=true
  • network.http.proxy.pipelining=true
  • network.http.pipelinging.maxrequest
    • (max request to make at once) 30?



  • nglayout.initialpaint.delay=0
    • (the amount of time the browser waits before it acts on information it



      receives)
  • browser.cache.disk.capacity
    • (limit the amount of RAM , 15000 for 512 to 1G ram)
  • config.trim_on_minimize=true
    • (move Firefox to hard drive when minimize it)
  • browser.tabs.loadDivertedInBackground=true
    • force all link open in a new window to load in background tab
  • editor.singleLine.pasteNewlines = 2
    • paste multiple lines to a input box

i) Setting the close tab button







browser.tabs.closeButtons



  • 0: Display a close button on the active tab only
  • 1:(Default) Display close buttons on all tabs
  • 2:Don’t display any close buttons
  • 3:Display a single close button at the end of the tab bar (Firefox 1.x behavior)
































Powered by ScribeFire.

2007年4月28日星期六

Welcome to Google Groups of Guey Lunmei






Google Groups

GueyLunmei

Visit this group









Google Groups

Subscribe to GueyLunmei

Email:


Visit this group

2007年4月9日星期一

Flickr Show




by Slide






by Good Widgets

2007年4月3日星期二

Vim 7 中使用tab

1. 打开tab

:tabnew filename



vim -p filename1 filename2 filename3



在当前目录搜索aaa*,并打开

:tabf aaa*

只能打开一个文件,当有多个文件匹配时,报文件名过多错

可以使用tab键



.vimrc

set tabpagemax=n

' such as n = 15 ,default n = 10



2. 在tab见切换

:tabn next

:tabp prev



GVIM下可以支持鼠标操作



:tabfir(st) first tab

:tablast last tab



.vimrc

设置是否显示tabline

set showtabline = 0|1|2

0 从不显示

1 有tab时显示

2 一直显示



:tabm n

把当前tab移动到第n个 n=0,1,...





3. 在tab中执行命令

:tabdo %s/aaa/bbb/g

原来在一个文件中执行的命令,跟在tabdo后,在所有打开的tab所对应的文件中运行



更多内容可以参看

:help tab-page-intro



引自Vim tips: Using tabs



Powered by ScribeFire.

Interview Tips


Howto Pass a Silicon Valley Software Engineering Interview

1) Don't interview at your dream job first.
2) Never fucking ever say anything negative. There is simply no upside. (and don't say "fuck" neither).
3) Check your attitude at the door.
4) Be passionate about development.
5) APIs really don't impress.
6) Know algorithms and data structures.
7) Be an engineer that your interviewer would want to work with.
8) Know the language you say you do.
 powered by clipmarksblog it

2007年1月5日星期五

Test Snap


链接测试


再测试