8 karma · joined Apr 9, 2019 (7y ago) · 4 submissions
comment 4y ago · link · parent
chess.com is worse performance, bloated to the moon w/ ads and popups, costs money, not open-source. And lichess.org is the opposite in every way (free, way higher quality, zero ads).
I can't believe MS would put ads in system tools. What the hell are they thinking!? I've used linux for 5 years now and not looking back!
comment 6y ago · link · parent
I tried to delete Main.java, and it won't let you. Fine, so I just erase the whole text file. Then, I place two separate folders w/ src code in them. Code compiles fine, but still prints out "Hello, world!".
Buggy. If you use Main.java, you can still have several packages and it all works, but I don't like that. What I might do is erase Main.java, then you're forced to manually run your program from their bash shell ($ java MyClass). And then it works fine.
I also don't like they're on openJDK 11. All the nice stuff is in 12-14 (text blocks, switch expressions).
comment 6y ago · link · parent
alias -g G='| grep'
alias -g R='| rg'
alias -g L='| less'
alias -g V='| vim -'
alias -g S='| subl'
And if I want Zsh to auto-expand it out to type the full command (after pressing space), add this to end of your .zshrc: globalias() {
if [[ $LBUFFER =~ '[A-Z0-9]+$' ]]; then
zle _expand_alias
zle expand-word
fi
zle self-insert
}
zle -N globalias
bindkey " " globalias # space key to expand globalalias
Identical examples: grep -rw --exclude-dir={test,build} 'throw' L
grep -rw --exclude-dir={test,build} 'throw' | less