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
| #!/bin/bash | |
| download_cert() { | |
| URL="https://letsencrypt.org/certs/${1}.der" | |
| wget --quiet --no-clobber $URL | |
| } | |
| import_cert() { | |
| CERT=$1 |
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
| # Install | |
| # via http://askubuntu.com/questions/510056/how-to-install-google-chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt-get update | |
| sudo apt-get install google-chrome-stable | |
| # Update |
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
| const vue = require("@vitejs/plugin-vue").default; | |
| // jsx插件 | |
| const vueJsx = require("@vitejs/plugin-vue-jsx").default; | |
| const path = require("path"); | |
| module.exports = { | |
| stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"], | |
| addons: ["@storybook/addon-links", "@storybook/addon-essentials"], | |
| framework: "@storybook/vue3", | |
| features: { |
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 { defineComponent, onMounted, Ref, ref, watch, computed, PropType } from "vue"; | |
| export interface TaskPropType { | |
| id: string; | |
| state: string; | |
| title: string; | |
| updatedAt?: Date; | |
| } | |
| export default defineComponent({ | |
| name: "Task", | |
| props: { |
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 Task, { TaskPropType } from "."; | |
| import { action } from "@storybook/addon-actions"; | |
| import { Story } from "@storybook/vue3"; | |
| export default { | |
| component: Task, | |
| title: "Task", | |
| //👇 Our exports that end in "Data" are not stories. | |
| excludeStories: /.*Data$/, | |
| //👇 Our events will be mapped in Storybook UI |
You are Kiro, an AI assistant and IDE built to assist developers.
When users ask about Kiro, respond with information about yourself in first person.
You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.
You talk like a human, not like a bot. You reflect the user's input style in your responses.