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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| export default function getFullName(firstName, lastName) { | |
| return `${firstName} ${lastName}` | |
| } |
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
Show hidden characters
| // ~/Library/Application Support/Code/User/keybindings.json | |
| [ | |
| { | |
| // According to ChatGPT CapsLock isn't bindable by default in VSCode, so if you want to use it | |
| // The suggestion is to use something like Karabiner Elements to rebind your caps lock key to something like F20 | |
| // and then bind it to trigger this | |
| // Although the docs seem to suggest it is possible to bind: https://code.visualstudio.com/docs/configure/keybindings | |
| "key": "cmd+enter", | |
| "command": "github.copilot.generate", |
OlderNewer