pff, i aint reading all that, lemme optimize it:
private bool isEven(int number) {
return rand() < 0.5;
}
pff, i aint reading all that, lemme optimize it:
private bool isEven(int number) {
return rand() < 0.5;
}
you can have compose in the linux console too. an actually ergonomic choice is caps lock i think, because really, what is caps lock even for…
no, i think azerty takes the absolute cake, but the german layout is also dogshit. it’s qwertz for one, which is shit. and the placement of { [ ] }
are absurd.
and it’s not necessary that these languages have shit layouts. look at the polish programmer’s layout, that’s a sane way to add extra letters.
i dont think boromir ever said that though, this is from that mess made by that B-horror director
i guess some people like being under pressure? i dunno
yeah, i was really tired of win98SE when i switched to linux. just entirely over it.
it’s always been obvious to me that we need something to fill the gap between awk and sql, but please please not excel. please. among the 8 billion people on earth, someone has to have a better idea
but why not just use ext4, which isnt buggy?
pff no, they ask you how sorting works and then put you to work using sql’s ORDER BY. at that point, why ask?
\o/
vim will load some other rc file if it cant find your ~/.vimrc. check what it has loaded with :scriptnames
also, try starting vim in a brand new terminal with vim -u NONE
and check if it’s still happening.
linux must go
who must go?
…
in that case, i’d prefer a ~/bin/zcat
with the contents
#!/bin/sh
exec gzip -cdf "$@"
this way, it’s exec’able, unlike an alias or shell function.
zgrep . *
should do the trick
oh, there’s also zcat -f *
no, there’s also documentation that is 10 years old, entirely out of date and very incomplete.
does anything flush the buffers after the print, but before the break? otherwise, if the stream you’re printing to is buffered, you’re not necessarily gonna see any output
i’m afraid it’s M$ or MiKKKroSSoft. your choice.
i’d probably do
function cap() {
prename 's/(^[a-z]?)/\U$1/' "$@"
}
it means it has to be invoked as cap *
, but it also means that you can do cap foo*
or whatever
when you create the alias, the shell substitutes the $1
(to nothing, probably) since your alias is in ""
(double quotes).
now, if you swap the single and double quotes, then the substitution still happens, but at invocation time instead of at definition time.
you actually want perl to deal with this $1
, so neither is good.
you have three options:
''
quoting, which lets you put ’ (single quote) inside ’ (single quote) without going mad: alias cica=$'foo \'$bar\' baz'
alias cica='foo '\''$bar'\'' baz'
(this is the old way, without bash’s ''
)
what’s wrong with irssi?