Official Docs links:
https://docs.nestjs.com/techniques/caching
https://docs.nestjs.com/techniques/caching#different-stores
Also add types
npm install --save-dev @types/cache-manager
Official Docs links:
https://docs.nestjs.com/techniques/caching
https://docs.nestjs.com/techniques/caching#different-stores
Also add types
npm install --save-dev @types/cache-manager
CTRL-b, "
- Split window horizontally (i.e. split and add a pane below).
CTRL-b, %
- Split window vertically (i.e. split and add a pane to the right).
CTRL-b, UpArrow
- Move to the pane above (I prefer to rebind this to CTRL-b, k to be similar to Vim).
CTRL-b, DownArrow
- Move to the pane below (I prefer to rebind this to CTRL-b, j to be similar to Vim).
In your command-line run the following commands:
brew doctor
brew update
exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.
Disk Utility is unable to repair this at first, but the fix is this:
diskutil list
to find the right drive id.disk1s1
sudo fsck_exfat -d <id from above>
. eg sudo fsck_exfat -d disk1s3
-d
is debug so you'll see all your files output as they're processed.YES
if it gives you the prompt Main boot region needs to be updated. Yes/No?
#!/bin/bash | |
# Shows small fun statistics from a git repository | |
# Init | |
WEB='web/'; | |
DB='config/doctrine/schema.yml data/sql/dbdeploy/'; | |
COMMITS=$(git --no-pager shortlog -ns | head -3); | |
FIXS=$(git --no-pager shortlog -nsi --grep=fix | head -3); | |
DATABASE=$(git --no-pager shortlog -ns -- $DB | head -1 | cut -f 2); |
# Start by checking if they fixed it upstream: | |
brew update | |
brew upgrade reattach-to-user-namespace | |
# If it says it's already installed, they haven't fixed it upstream. So do this: | |
# Edit the recipe: | |
brew edit reattach-to-user-namespace |