Desc | Windows | Mac |
---|---|---|
Move Line | Alt + Up / Down |
Alt + Up / Down |
Copy Line | Ctrl + Shift + D |
Cmd + Shift + D |
Delete Line | Ctrl + Shift + K |
Cmd + Shift + K |
Add Ident to line | Ctrl + [ |
Cmd + [ |
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
{ | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"extends": "eslint:recommended", | |
"rules": { | |
// Possible Errors | |
// https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors | |
"comma-dangle": [2, "only-multiline"], |
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
{ | |
"parser": "babel-eslint", | |
"extends": "airbnb", | |
"plugins": ["react", "jsx-a11y", "import"], | |
"rules": { | |
"react/jsx-filename-extension": [ | |
1, | |
{ | |
"extensions": [".js", ".jsx"] | |
} |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
package="br.com.example.app"> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> | |
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | |
<uses-permission android:name="android.permission.VIBRATE" /> | |
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/> |
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
// Initialize Firebase | |
const config = { | |
apiKey: "AIzaSyDiiS4nQyeseAANNXDlcQ6_kwWeTN7s5SI", | |
authDomain: "sults-f1948.firebaseapp.com", | |
databaseURL: "https://sults-f1948.firebaseio.com", | |
projectId: "sults-f1948", | |
storageBucket: "sults-f1948.appspot.com", | |
messagingSenderId: "780489121414" | |
}; | |
firebase.initializeApp(config); |
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
/* Box sizing rules */ | |
*, | |
*::before, | |
*::after { | |
box-sizing: border-box; | |
} | |
/* Remove default padding */ | |
ul[class], | |
ol[class] { |
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
{ | |
"plugins": [ | |
"stylelint-a11y" | |
], | |
"rules": { | |
"color-named": [ | |
"never", | |
{ | |
"message": "Use atomic color classes or SCSS variables instead of a bespoke color." | |
} |
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
alias edit-aliases='code ~/.zsh/aliases.zsh' # open aliases file | |
alias zshreload='source ~/.zshrc' # reload ZSH | |
alias shtop='sudo htop' # run `htop` with root rights | |
alias grep='grep --color=auto' # colorize `grep` output | |
alias less='less -R' | |
alias rm='rm -i' # confirm removal | |
alias cp='cp -i' # confirm copy | |
alias cal='gcal --starting-day=1' # print simple calendar for current month | |
alias weather='curl v2.wttr.in' # print weather for current location (https://github.com/chubin/wttr.in) |
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
body { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", | |
Roboto, Oxygen-Sans, Ubuntu, Cantarell, | |
"Helvetica Neue", sans-serif; | |
} | |
code { | |
font-family: SFMono-Regular, Menlo, Monaco, | |
Consolas, "Liberation Mono", | |
"Courier New", monospace; | |
} |
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
choco install winrar git python curl vscode k-litecodecpackfull microsoft-windows-terminal slack windirstat qbittorrent postman docker-desktop steam powertoys whatsapp nvm |