diff options
-rw-r--r-- | software/chromium.page | 43 | ||||
-rw-r--r-- | software/unix-tricks.page | 12 | ||||
-rw-r--r-- | software/vim.page | 9 |
3 files changed, 64 insertions, 0 deletions
diff --git a/software/chromium.page b/software/chromium.page new file mode 100644 index 0000000..d39d599 --- /dev/null +++ b/software/chromium.page @@ -0,0 +1,43 @@ +========= +Chromium +========= + +'chromium' is the fully open source version of Google Chrome. It uses a +seperate instance of WebKit in each tab to render HTML quickly while +maintaining stability. This approach, compared to the usual shared memory +approach, uses more memory when many tabs are open, but it has much nicer +memory management features: memory is freed when tabs are closed and it's easier +for the OS to swap out/sleep entire processes. Also crashes are less +spectacular. The bundled flash player that comes with chromium on linux is +pretty nice to boot. + +As of spring 2010, you can get chromium on debian-based systems by adding the +ppa:chromium-daily/beta and apt-getting 'chromium-browser' (NOT 'chromium'). + +Tab-searching +----------------- +One feature I haven't really gotten the hang of in chromium (but that I like a +lot) is the way search works in the location bar: as usual for modern browsers +any non-standard-url looking string gets sent to google, but if you start a +domain like wikipedia.org, at some point a message will indicate that you can +hit Tab to enter a search string for the wikipedia.org domain search engine +(not 'site:wikipedia.org' on google, it's actually linked to the (horrible) +wikipedia engine). + +vimium +---------- +The `vimium <https://chrome.google.com/extensions/detail/dbepggeogbaibhgnhhndojpepiihcmeb>`_ plugin is pretty good; I changed the mappings so that shift-h,l +scroll the page and regular h,l go forward/backwards in history because I go +back so often and reaching for backspace is a pain:: + + map h goBack + map l goForward + map H scrollLeft + map L scrollRight + +Flash Block +-------------- +I still use `flash block <http://www.chromeextensions.org/appearance-functioning/flashblock/>`_ to disable flash by default; an indicator pops up and I can +enable flash for an entire page which is nice for sites that have hidden flash +(like hulu). + diff --git a/software/unix-tricks.page b/software/unix-tricks.page index 41bda41..ad5c3ee 100644 --- a/software/unix-tricks.page +++ b/software/unix-tricks.page @@ -25,3 +25,15 @@ button. To remap one of the Alt keys, you need to know it's code: on FreeBSD X11, read the directions in ``/usr/X11R6/lib/X11/xkb/README``. To get the right mapping under the console, edit ``/usr/share/syscons/keymaps/us.iso.kbd`` and change 'ralt' to 'meta'. + +Figlet +===================== +figlet is the horizontal banner. + +thttpd +=============== + +thttpd is a super small/light http web server with almost no features. To +server up the working directory as cgi to local host, use:: + + $ thttpd -p 8080 -h localhost -D diff --git a/software/vim.page b/software/vim.page index 0025f10..dfb6477 100644 --- a/software/vim.page +++ b/software/vim.page @@ -41,3 +41,12 @@ the command I use to grab three lines of context around 'phrase':: :r!grep -A 3 'phrase' ../otherfile.txt +Pasting a lot of text with insert mode if very slow because vim redraws the +terminal for every single character entered (as you would want if you were +actually typing. To paste in the contents of the X11 clipboard you want to use:: + + "*P + +(aka quote, start, uppercase-P) in regular mode. This also solves the +autotabbing problem without ":set paste"! + |