Shortcut | Description |
---|---|
⌘K ⌘S | Keyboard Shortcuts |
⇧⌘P, F1 | Show Command Palette |
⌘P | Quick Open, Go to File… |
⌥↓ / ⌥↑ | Move line down/up |
⇧⌥↓ / ⇧⌥↑ | Copy line down/up |
Multi-cursor and selection | |
⌥ + click | Insert cursor |
⌥⌘↑ | Insert cursor above |
This file contains 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
/* eslint-disable no-console */ | |
const https = require('https'); | |
const fetch = require('node-fetch'); | |
const ntlm = require('httpntlm').ntlm; | |
const keepAlive = new https.Agent({ keepAlive: true }); | |
const handleErrors = (response) => { | |
if (!response.ok) { |
Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |
This file contains 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
#!/bin/bash | |
############################################################################## | |
# SHORTCUTS | |
############################################################################## | |
CTRL+A # move to beginning of line | |
CTRL+B # moves backward one character | |
CTRL+C # halts the current command | |
CTRL+D # deletes one character backward or logs out of current session, similar to exit |
Without params
curl https://jsonplaceholder.typicode.com/todos
- GET
- -X - method
curl -X POST https://jsonplaceholder.typicode.com/todos
- -H - additional header
curl -H "Accept: application/json" https://jsonplaceholder.typicode.com/todos
- -d - pass data
curl -X POST -d "{ id: '1' }" https://jsonplaceholder.typicode.com/todos
This file contains 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
class Wrapper { | |
constructor(value) { | |
this._value=value; | |
} | |
map(f) { | |
return f(this._value); | |
} | |
fmap(f) { | |
return new Wrapper(f(this._value)); | |
} |
- jss
- languages & categories
- eslint
- basic components for displaying selector tags
- basic structure of a page (sidebar, main)
- design (choose the colors)
- routing
- spinner
- error handling (notifications)
- flow (typing)
NewerOlder