I have a little CLI toy project that uses the file system for storage (YAML files) and defaults to a dot folder under the home folder (~), this default can be overridden by an environment variable that sets the path. To ease manual testing, I wanted to automatically set up an environment variable wheneve I cd’ed into the project folder, also as bonus I wanted this variable to be removed from the environment whenever I cd’ed out. Googling a bit, …
Category: Programming
In Visual Studio Code 1.24.1. on macOS, the keybinding to toggle the visibility of the Panel (Problems, Output, Debug Console and Terminal) is Command + J, this is really handy. But if you have a widescreen monitor and you like keeping the panel open at all times with the terminal, for example, it would be better to be able to toggle the size (width) of the panel. This keybinding doesn’t exists, after googling a bit I found a closed request …
If you search internet for "install rust macos" is is likely that the first entry in the list will be https://www.rust-lang.org/en-US/install.html and the only instruction is to run the following in your terminal curl https://sh.rustup.rs -sSf | sh which is a classic minimal install of a command from the internet. Searched a little bit and looked like Brew is not particularly used for this task, so I went away with...
If you accumulate a lot of "Past and incomplete" Slack reminders, this will hang your client when you run the /remind list command. Right now there is no workaround for this but using the API. Here is a simple hack you can run on bash to batch delete ALL your reminders on Slack.
It should be really simple: 1. Install or update brew, 2. Install cask if you haven't, 3. brew cask java, 4. brew install scala, but here are the detailed instructions if you want them...