2,550 karma · joined February 13, 2023
There's potential for significant nuance in such a scenario and to reduce it to this silly quote hurts the piece, IMO.
(
set -x
ssh ...
)He blew his engine, at a raceway. Something tells me that gently steering back and forth on his garage's polished concrete floor isn't something he is concerned about.
>What is it? The simplest answer is most often correct.
Isn't it: for a given outcome, reached by two hypotheses, the hypothesis with the fewest assumptions is usually correct? Which isn't always necessarily the same as "simplest is usually correct", or at least how I commonly see it deployed.
I like Kant's response: "The variety of beings should not rashly be diminished".
https://github.com/orgs/neovim/repositories?type=all&q=Clien...
>Third, make the app look like a CRM.
>Now you are on to the qualify leads step. If you aren’t agreeing on a time to meet in the first ten messages, this is a dead lead.
What an incredibly ironic piece. Somehow I don't think any technical solution proposed here is going to improve online dating for people who think like this.
>commentators who oversimplify
https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_pr...
>>“The idea [alcohol has benefits] has impacted national drinking guidelines, estimates of alcohol’s burden of disease worldwide and has been an impediment to effective policymaking on alcohol and public health,” he added.
That doesn't sound like he's "admitting to" what your linked article says he's admitting to.
Seems like a lot of trouble to go to, trying to debunk this Stockwell guy's work, only to make oneself look unreliable with such claims.
- ctrl+j => equivalent of 'ls -la' using exa/eza
- ctrl+k => git status followed by git log showing only current branch's commits (vs. tracked)
- ctrl+l => sometimes I'll manually bind this to 'git reset @~'
- ctrl+; => thinking I'll use this for calling fzf through my wrapper which sets up hotkeys for either `cd`/`$EDITOR`-ing the selected item
Point is to reduce typing of the commonly-used commands.
Somewhere in my shell profile/rc setup (I'm on Workman, not Qwerty, hence NEOK instead of JKL;):
bash_functions=(
"__bash_ctrl_n"
"__bash_ctrl_e"
"__bash_ctrl_o"
"__bash_ctrl_k"
)
for bash_function in "${bash_functions[@]}"
do
if ! type -t "$bash_function" 1> /dev/null
then
eval "$bash_function() { echo \"$bash_function(): This function should be overridden/aliased\"; }"
fi
done
Then in my .bashrc (Note the leading space prior to `__bash_ctrl_x` - with Bash's `HISTCONTROL=ignorespace`, these keybinds won't pollute your history): bind '"\C-n": "\C-u __bash_ctrl_n\C-j"'
bind '"\C-e": "\C-u __bash_ctrl_e\C-j"'
bind '"\C-o": "\C-u __bash_ctrl_o\C-j"'
bind '"\C-k": "\C-u __bash_ctrl_k\C-j"'
Then in my app-specific configs/dotfiles: __bash_ctrl_n() { git status; git log ..; }
Bonus: these Bash bindings can be cool for little QoL tricks, e.g. Ctrl+Y to rerun the last command with sudo. bind '"\e\C-y": "\C-usudo !! \C-j"'
Other good ones:- Append `--help | $PAGER` and run
- Rerun last command and pipe into $PAGER (some terminals support viewing last command output in a pager without re-running it, e.g. Kitty)
Hope that helps.
Ctrl+R to start reverse search
Type enough to locate last command
Ctrl+X, Ctrl+E to launch command in $EDITOR
Wrap in fn() {} or alias
Save as, or append to some file, e.g. in Vim `:w >> ~/.aliases`
1 x GPU
2 x SSD
1 x Windows 10 host OS (SSD 1)
1 x Windows 10 guest OS (SSD 1)
1 x Arch Linux guest OS (SSD 2)
My limited gaming is on the Win host, I do my dev in the Arch guest, and I do general BS in the Win guest. The Arch guest is using SSD 2 as a physical disk whereas the Win guest has a small virtual disk on SSD 1. I was experimenting with being able to run the Arch install as a 'native' boot while still being able to use it as a VM but I never finished setting that up - would be nice, as Hyper V GPU acceleration doesn't/didn't seem to exist and it's noticeable on my 4K screen.
There's a couple of other misc VMs set up, like Debian and a development-oriented Win 10, but I use those much less.
I wanted to try the VFIO stuff but the anti-cheat problems were off putting and I ultimately lacked the gusto.
e.g.
Major:
* neovim 0 -> 1
Minor:
* jq 0.1 -> 0.2
etchttps://pastebin.com/FeVg0kDU (expires 202408)
Definitely a case of something that started as Bash and wound up likely better as something else. It's not a clean script, bit of inconsistency - don't @ me :)