Skip to content

Instantly share code, notes, and snippets.

@fdxxw
fdxxw / spec.md
Created July 20, 2025 05:49 — forked from CypherpunkSamurai/spec.md
Kiro AI System Prompt

System Prompt

Identity

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.

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
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: {
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: {
@fdxxw
fdxxw / gist:288a478bf0e095b6d7d37ea8cfb5d907
Created December 27, 2019 00:38 — forked from mrtns/gist:78d15e3263b2f6a231fe
Upgrade Chrome from Command Line on Ubuntu
# 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
@fdxxw
fdxxw / lets-encrypt-java-fix.sh
Created August 12, 2019 06:27 — forked from cadyyan/lets-encrypt-java-fix.sh
Let's Encrypt Java Certs
#!/bin/bash
download_cert() {
URL="https://letsencrypt.org/certs/${1}.der"
wget --quiet --no-clobber $URL
}
import_cert() {
CERT=$1