One pattern I've noticed lately is using rem
as a unit of distance in CSS. This seems like a pretty good idea.
.box {
height: 1.5rem;
padding: 1rem;
}
$ brew install ansible # OSX
$ [sudo] pip install ansible # elsewhere
⭐ This post is best experienced in my blog: https://ricostacruz.com/posts/javascript-in-rails-7
JavaScript in Rails 7 will be different: Webpacker is retired, and there are 2 new gems to manage frontend files.
Docker is available for Linux, MacOS, and Windows.
Docker for Mac is best installed with Homebrew and Homebrew Cask. For other ways to install on MacOS, see Install Docker for Mac in Docker's docs.
brew cask install docker # Install Docker
function Person() { | |
this.initialize.apply(this, arguments); | |
return this; | |
}; | |
Person.prototype = { | |
// default attributes here | |
firstName: "Jason", | |
lastName: "Mitchels", |
One of the things that bothered me with VSCode-Vim was with how slow it was to use (number)(arrow)
(eg, 42(down)
) to move multiple lines down. In the screencast below, notice how it goes line-by-line rather than skipping ahead instantly.
☝ Figure 1: VSCode scrolls slooowly line-by-line when pressing
42(down)
.
Turning off appendWindowsPath (the feature that adds /mnt/c paths to $PATH) can make WSL faster.
For most distros, it can be done by editing /etc/wsl.conf. These instructions were taken from https://gist.github.com/ilbunilcho/4280bd55a10cefef75e74986b6bff936
$ sudo vi /etc/wsl.conf