The golden recipe: neovim, tmux, rg, fzf, i3/other tiling wm on nixos/arch
Fzf all you can, not just inside vim, but also use it to switch between tmux sessions in an instant. I have a tmux manager on top of tmuxp that is able to start / switch to already started sessions via fzf.
Identify patterns you use a lot and make snippets out of them. Create project templates.
Have a folder where you dump reference / things that need to be really easy to find, and set up vim to search into that instantly, no matter where you are.
Keep an inbox file to throw things in, make a wm bind a script to prompt for text and append it there via zenity. Don't throw links into it, it's gonna be a bookmark dump.
Make sure your todo system is a keybind away at all times.
Review your way of working, challenge, and improve it. Be lazy, but only when you afford it.
I want to use Firefox, and I would if it provided a faster internet experience, which it doesn't on Linux (compared to Brave/Chromium/Chrome).
The devtools in Firefox lack basic features that have been requested for years.
Too bad that these are the only viable options.
Would the else branch trigger on a falsy value, or on an exception? It's a bit confusing, as it looks like it would handle exceptions on the else branch, even though we know we have to wrap await in try/catch for that.
Other than saving a few characters (the variable name), I don't see any benefit of this, while it makes code harder to read.
Too bad the `with` [0] keyword has been reserved for crap, it sounds nice (not for this, but maybe for something else).
>> and also requires you to start renaming variables (ie. row1, row2...) due them going over their intended scope
Variable shadowing [1] is a really bad practice that makes it hard for people to collaborate and keep the code sane. Bad habits are not a reason for language changes.
Buy a Steam Link and a raspberry pi, and two usb eth adapters, create a ZeroTier network and configure the pi (openwrt) to get internet from one of the adapters and share both the internet connection and the zerotier connection over the second adapter. Configure the zerotier network on your computer and set ul Steam In-House streaming. Then you can take the pi and steam link anywhere, plug a mouse, keyboard and screen, and use your computer. I get 60fps at 1080p and no noticeable input lag over the internet (work to home).
If you use a nvidia card enable "force composition pipeline". There is also a Steam Link app for Android, and ZT client as well, works great.