638 karma · joined June 6, 2012
$ echo "this will not be saved in history"
as opposed to $echo "this will be saved in history"
can be useful“I cannot say QED to that because I have not proven it,” he adds. However, he says his theory is “consistent, plausible, and I believe, compelling.”
I do like the idea of Svbtle's 'kudos' system as a measure of leaving positive feedback or an indication of a post's popularity. I guess my main worry is that someone might actually enjoy a post but find it difficult to let me know, is an email link really enough in this instance? seems like a rather high barrier to entry
http://ocfinn.com [in case anyone was wondering]
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh $ setopt brace_ccl #put this in your ~/.zshrc
$ echo {1-3}.pdf {a-d}.pdf
1.pdf 2.pdf 3.pdf a.pdf b.pdf c.pdf d.pdf bindkey 'a' last-window
bindkey C-a last-window
if you use the command frequently enough, it might be worthwhile binding `^a a` and `^a^a`, similar to the tactic of binding F1 to <esc> in vimwith several sessions running on most of my machines, i frequently found myself `detaching` and `reattaching` to a different session... as the `choose-session` command gives you a full list of all the windows, which tends to obfuscate exactly what's going on, particularly if you have a bunch of sessions and windows..
however, the `choose-tree` gives you a session tree, which you can expand and easily identify... meaning that instead of sending `^a d`, followed by tmux attach sessionname you can comfortably do a `^a s` and get where you want to be (presuming you've remapped ^b to ^a)
also, you should be using the tmux buffers, `^a =`!
also, running tmux locally has the advantage that if you need to leave the office or go somewhere, you can still reattach to your work machine and pick up from where you left off.. so, in a sense, everything is remote
also, using ^a^a to send commands to the nested tmux isn't so bad.. but to get to the third one down you need to use ^a^a^a^a as you need to send a ^a^a to the second one in..
for the fourth nest you need 8 ^a's, but again, it's a bit like code indentation, if you're 4 tmuxes deep, then there's a good chance you're doing it wrong
but still, it's nice to be able to do it if necessary
set colorcolumn=80
is another nice way to keep yourself within the bounds, it also has the bonus of not being a hard limit, just a visual indication that you're oversteppingedit: (already mentioned)
[edit] http://www.scholarpedia.org/article/Encyclopedia_of_dynamica...
nnoremap <Space> za
vnoremap <Space> za
also, for folding in general I'd recommend using set foldmethod=marker
which has the benefit of making folds more 'transparent' in your code, and also persistent across vim sessionsalways worth looking at these types of lists imo, whilst some of the commands mightn't really fit into your workflow or seem useful immediately, they're often exactly the snippets of information that can save hours at a later stage..
notmuch doesn't replace mutt, you use it with mutt/offlineimap etc as your mail indexer, which makes massive mail archives instantly searchable.. (and does this extremely well)
I suspect this what the grandparent was referring to, it's not intended as a mutt replacement, so to complain that it doesn't replace it well is a bit unfair
broken useragents..
konqueror: Mozilla/5.0 (compatible; Konqueror/4.6; Linux) KHTML/4.6.5 (like Gecko) Fedora/4.6.5-8.fc14
seamonkey: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc14 SeaMonkey/2.0.14
dillo: dillo/0.8.6 < -- wouldn't worry about that one too much :)
epiphany: Mozilla/5.0 (X11; U; Linux x86_64; en-ie) AppleWebKit/534.16+ (KHTML, like Gecko) Version/5.0 Safari/534.16+ Epiphany/2.30.6
midori: Midori/0.2 (X11; Linux; U; en-ie) WebKit/534.7+
sort order.*
is surely more elegant than cat order.* | sort
which is fair enough, however, as it happens, i generally do end up using 'cat' in the way he's used it.. for such small jobs nobody can be genuinely worried about the overhead, and it comes down to a matter of taste..personally, i find that using 'cat output | $command' helps to separate out the 'logic' of what i'm doing, if that makes sense..
also, again, purely as a matter of taste
i'd prefer
egrep 'Hardcover|Kindle'
over grep "\(Kindle\|Hardcover\)"
EDIT: (as alexfoo has pointed out, this isn't a proper AND as it worries about the order.. my bad, still useful though :D )and as a sidenote, something i only found recently, but which is quite useful, a logical AND with egrep looks like
egrep 'Hardcover.*Kindle'"The price to content ratio of this publication is enormous and much of the information can be gleaned from a web search. "
for a free book it seems harsh but probably fair
f 24 ^M - choose reply
f 6 ^M - enter text buffer
^i - open vim
*** write this message ***
:wq - message gets transplanted into text buffer
esc, esc - exit text buffer, exit insert mode
f 7 ^M - choose reply again
???
profit - vimperator /tmp/ $ mkdir -p test1/test2/test3
/tmp/ $ touch test1/test2/test3/test4
/tmp/ $ ls -ltr test1/**/*(.)
-rw-r--r-- 1 usr grp 0 Aug 9 11:11 test1/test2/test3/test4
/tmp/ $ touch test1/test2/test3/test\ with\ spaces
/tmp/ $ ls -ltr test1/**/*(.)
-rw-r--r-- 1 usr grp 0 Aug 9 11:11 test1/test2/test3/test4
-rw-r--r-- 1 usr grp 0 Aug 9 11:12 test1/test2/test3/test with spaces