$ docker
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
| # ~/.config/starship.toml | |
| [battery] | |
| full_symbol = "🔋" | |
| charging_symbol = "🔌" | |
| discharging_symbol = "⚡" | |
| [[battery.display]] | |
| threshold = 30 | |
| style = "bold red" |
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
| module.exports = { | |
| root: true, | |
| env: { | |
| node: true, | |
| browser: true | |
| }, | |
| extends: [ | |
| "plugin:vue/recommended", | |
| "eslint:recommended", | |
| "prettier/vue", |
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
| if (!Array.isArray(data) || !data.length) { | |
| this.not_found = true; | |
| console.log('empty'); | |
| } else { | |
| this.addresses = response.data.result; | |
| } |
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
| img { | |
| object-fit: cover; | |
| width: 180px; | |
| height: 180px; | |
| border-radius: 50%; | |
| } |
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
| <template> | |
| <v-card id="create"> | |
| <v-speed-dial | |
| v-model="fab" | |
| :top="top" | |
| :bottom="bottom" | |
| :right="right" | |
| :left="left" | |
| :direction="direction" | |
| :open-on-hover="hover" |
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
| sendEmail() { | |
| emailjs | |
| .send( | |
| "<SERVICE_ID>", | |
| "<TEMPLATE_ID>", | |
| { | |
| subject: this.subject, | |
| user_name: this.name, | |
| user_email: this.email, | |
| message: this.message, |
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
| readTime() { | |
| var minutes = 0; | |
| const contentText = JSON.stringify(this.page); | |
| const words = contentText.split(' ').length; | |
| const wordsPerMinute = 200; | |
| minutes = Math.ceil(words / wordsPerMinute); | |
| console.log(minutes); | |
| return minutes; | |
| }, |
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
| let url = window.location.href | |
| let arr = url.split("/"); | |
| console.log(arr) |
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
| // Input Field formatter | |
| function seprator(input) { | |
| let nums = input.value.replace(/,/g, ''); | |
| if(!nums || nums.endsWith('.')) return; | |
| input.value = parseFloat(nums).toLocaleString(); | |
| } | |
| <input type="text" id="inputSep" oninput="seprator(this)" placeholder="123,456,789"/> | |
| // Formatter function |