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
import vue from 'eslint-plugin-vue'; | |
import { | |
defineConfigWithVueTs, | |
vueTsConfigs, | |
} from '@vue/eslint-config-typescript'; | |
import vitest from '@vitest/eslint-plugin'; | |
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'; | |
export default defineConfigWithVueTs( | |
{ |
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
/** | |
* Asynchronously writes data to the clipboard using the Clipboard API. | |
* | |
* @param {string | (() => Promise<string>)} stringOrPromise - A string or a promise that resolves to a string. | |
* @return {Promise<void>} A promise that resolves once the data is written to the clipboard. | |
* @throws {Error} If the Clipboard API is not supported. | |
* @throws {Error} If the data is a promise and the Clipboard API is not supported. | |
* | |
* @example | |
await copyToClipboard('Hello, world!') |
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
// Crteate arr of x el | |
const arr = []; | |
const x = 1000000; | |
for (let i = 0; i < x; i++) { | |
arr.push(i); | |
} | |
// O(n^2) map -> filter |
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
{ | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.codeActionsOnSave": { | |
"source.fixAll": "explicit" | |
}, | |
"editor.cursorSmoothCaretAnimation": "on", | |
"editor.dragAndDrop": false, | |
"editor.fontFamily": "JetBrains Mono", | |
"editor.fontLigatures": false, | |
"editor.fontSize": 16, |
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
version: 2 | |
defaults: &defaults | |
working_directory: ~/project/laravel | |
docker: | |
- image: circleci/php:7.3-node-browsers | |
jobs: | |
install: | |
<<: *defaults |
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
# An example global gitignore file | |
# | |
# Place a copy if this at ~/.gitignore_global | |
# Run `git config --global core.excludesfile ~/.gitignore_global` | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll |
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
<scheme name="Dark Peacock" version="142" parent_scheme="Default"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="EDITOR_FONT_NAME" value="Fira Code" /> | |
<option name="CONSOLE_FONT_NAME" value="Monospaced" /> | |
<option name="CONSOLE_FONT_SIZE" value="12" /> | |
<option name="CONSOLE_LINE_SPACING" value="0.8" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="292d38" /> | |
<option name="ANNOTATIONS_COLOR" value="8b999f" /> |
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
{ | |
"animation_enabled": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Mandarin Peacock Color Scheme/mandarin-peacock.tmTheme", | |
"drag_text": false, | |
"draw_white_space": "selection", | |
"font_size": 12, | |
"highlight_line": true, | |
"ignored_packages": | |
[ |