If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Specify a directory for plugins | |
" - For Neovim: ~/.local/share/nvim/plugged | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.vim/plugged') | |
" Make sure you use single quotes | |
" --- | |
Plug 'scrooloose/nerdtree' " NERD Tree | |
Plug 'Xuyuanp/nerdtree-git-plugin' " show git status in Nerd tree |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TEMPORARY FUNCTION decrypt(_text STRING) RETURNS STRING LANGUAGE js AS | |
""" | |
let key = CryptoJS.enc.Utf8.parse("KEY"); | |
let options = { iv: CryptoJS.enc.Utf8.parse("IV"), mode: CryptoJS.mode.CBC }; | |
let _decrypt = CryptoJS.AES.decrypt(_text, key, options).toString(CryptoJS.enc.Utf8); | |
return _decrypt; | |
""" OPTIONS (library="gs://crypto-lib/crypto-js.min.js"); | |
SELECT decrypt('ENCRYPTED'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* You want to use mocha in a TypeScript CoderPad but you get the error | |
* message that `describe` isn't defined even though you're already using | |
* the `mocha.suite.emit('pre-require', this, 'solution', mocha)` hack? | |
* | |
* > Cannot find name 'describe'. Do you need to install type definitions | |
* > for a test runner? Try `npm i --save-dev @types/jest` or | |
* > `npm i --save-dev @types/mocha`. | |
* | |
* Here are a couple of lines to copy & paste into your pad to use |
Not all Terraform providers are built for arm64
.
One solution here is to install Terraform as amd64
which can be easily done from the downloads page.
However, for those who are using and switching between versions of Terraform often, a more streamlined approach is desirable.
Enter asdf
.
OlderNewer