Skip to content

Instantly share code, notes, and snippets.

@duqcyxwd
duqcyxwd / spec.md
Created July 19, 2025 03:18 — 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.

# Privacy Policy for BookingOnSnow
Last updated: [Date]
## 1. Introduction
[BookingOnSnow] ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, and share information about you when you use our application.
## 2. Information We Collect
@duqcyxwd
duqcyxwd / github-gist-in-iframe.html
Created September 3, 2021 03:43 — forked from sundbry/github-gist-in-iframe.html
Embed a Github Ggist in an iframe (without <script> tags in your document)
<iframe frameborder=0
style="min-width: 200px; width: 60%; height: 460px;"
scrolling="no"
seamless="seamless"
srcdoc='<html><body><style type="text/css">.gist .gist-data { height: 400px; }</style><script src="https://gist.github.com/sundbry/5e0507d93d4c89023b2ba5f39f27f722.js"></script></body></html>'
></iframe>
@duqcyxwd
duqcyxwd / titleUrlMarkdownClip.js
Created September 1, 2021 22:25 — forked from idelem/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;

Git Set up

~/.gitconfig

Check SSH Key

cat $HOME/.ssh/id_rsa.pub
/proj/lterbsSwdi/bbtools/bin/setupSshWithNoPassword.sh

Who am I

@duqcyxwd
duqcyxwd / Comments.tmPreferences
Created May 19, 2013 00:08
Sublime Snippet for ruby
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.ruby</string>
<key>settings</key>
<dict>
@duqcyxwd
duqcyxwd / Ruby_Getters_Setters.rb
Created May 12, 2013 00:50
A Shortcut for Creating Getters and Setters
# Getters and Setters
class Car
def color=(c)
@color = c
end
def color
@color
end
end
@duqcyxwd
duqcyxwd / Class_Methods.rb
Last active May 6, 2019 01:47
Ruby pratice
class Car
def self.newFerrari
car = Car.new
car.name = "FF"
car.top_speed = 208
car
end
def self.newTesla