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
# 𝗙𝗮𝘀𝘁𝗲𝗿 𝗗𝗼𝗰𝗸 𝗛𝗶𝗱𝗶𝗻𝗴: | |
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock | |
# 𝗙𝗮𝘀𝘁𝗲𝗿 𝗗𝗼𝗰𝗸 𝗛𝗶𝗱𝗶𝗻𝗴 𝗨𝗻𝗱𝗼: | |
defaults write com.apple.dock autohide-delay -float 0.5; defaults write com.apple.dock autohide-time-modifier -int 0.5 ;killall Dock | |
# 𝗔𝗱𝗱 𝗗𝗼𝗰𝗸 𝗦𝗽𝗮𝗰𝗲𝗿 (paste for each spacer): | |
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' && killall Dock | |
# 𝗔𝗱𝗱 𝗛𝗮𝗹𝗳-𝗛𝗲𝗶𝗴𝗵𝘁 𝗗𝗼𝗰𝗸 𝗦𝗽𝗮𝗰𝗲𝗿 (paste for each): | |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' && killall Dock |
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
Show hidden characters
{ | |
"editor.tabSize": 2, | |
"editor.fontSize": 14, | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "JetBrains Mono, monospace", | |
"editor.fontWeight": "400", | |
"editor.suggest.preview": true, | |
"editor.suggestSelection": "first", |
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
[ | |
// Terminal | |
{ "key": "cmd+shift+j", "command": "workbench.action.terminal.focusNext" }, | |
{ | |
"key": "cmd+shift+k", | |
"command": "workbench.action.terminal.focusPrevious" | |
}, | |
{ | |
"key": "shift+alt+`", | |
"command": "workbench.action.toggleMaximizedPanel" |
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
"rules": { | |
"react/sort-prop-types": [ | |
"error", | |
{ | |
"callbacksLast": true, | |
"ignoreCase": true, | |
"requiredFirst": true, | |
"sortShapeProp": true, | |
"noSortAlphabetically": false | |
} |
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
ZSH_THEME="vercel" | |
export UPDATE_ZSH_DAYS=1 | |
plugins=( | |
git | |
sudo | |
macos | |
docker | |
docker-compose |
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
import * as React from "react" | |
type ContactFormInput = { | |
name: string | |
email: string | |
message: string | |
} | |
const initialState: ContactFormInput = { | |
name: "", |
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
[ | |
{ | |
"context": "Editor", | |
"bindings": { | |
"alt-up": "editor::MoveLineUp", | |
"alt-down": "editor::MoveLineDown", | |
"ctrl-cmd-up": "editor::SelectLargerSyntaxNode", | |
"ctrl-cmd-down": "editor::SelectSmallerSyntaxNode" | |
} | |
} |
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
{ | |
"base_keymap": "VSCode", | |
"theme": "Andromeda", | |
"buffer_font_size": 14, | |
"language_overrides": { | |
"JavaScript, TypeScript": { | |
"format_on_save": { | |
"external": { | |
"command": "prettier", | |
"arguments": [ |
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
call plug#begin('~/.vim/plugged') | |
Plug 'mxw/vim-jsx' | |
Plug 'pangloss/vim-javascript' | |
Plug 'ap/vim-css-color' | |
Plug 'mattn/emmet-vim' " <C-y> + , for completion | |
Plug 'matze/vim-move' | |
Plug 'prettier/vim-prettier', { 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] } | |
Plug 'eslint/eslint' | |
" npm i -g prettier |
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
export default function classNames( | |
...classes: Array<string | boolean | undefined> | |
): string { | |
return classes.filter(Boolean).join(" ") | |
} |
NewerOlder