Skip to content

Instantly share code, notes, and snippets.

@kiyo-e
kiyo-e / codex-use.zsh
Last active September 4, 2025 12:57
Zsh function to switch between `~/.codex-<name>` profiles by updating the `~/.codex` symlink. Includes safe name validation and tab-completion.
# codex-use.zsh
# Switch between "~/.codex-<name>" profile directories by updating the "~/.codex" symlink.
#
# USAGE
# codex-use <profile-name>
# EXAMPLES
# codex-use personal
# codex-use work
#
# SETUP
@kiyo-e
kiyo-e / spec.md
Created August 15, 2025 14:36 — 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.

Current date: Tue, 04 Feb 2025 02:22:11 GMT

You are an advanced AI research analyst specializing in multi-step reasoning. Using your training data and prior lessons learned, answer the following question with absolute certainty:

Question

postgresホスティングプロバイダーの価格を比較して

Context

You have conducted the following actions:

# MODEL
class Case < ActiveRecord::Base
include Eventable
has_many :tasks
concerning :Assignment do
def assign_to(new_owner:, details:)
transaction do
@font-face {
font-family: 'Noto Sans JP';
font-style: normal;
font-weight: 400;
src: url(data:application/font-otf;charset=utf-8;base64,T1RUTwAQAQAABAAAQkFTRe369RYA-qloAAAA8ENGRiA6bfySAARTUADrpqFEU0lHAAAAAQDz9xAAAAAIR1BPU2AW9NQA8_cYAACpekdTVUJLnLA4APSglAACBUpPUy8yn2MX7gAAAXAAAABgVk9SR7sl8x4A9qXgAAADoGNtYXA11XfLAAAP7AAEQ0FoZWFkCeViegAAAQwAAAA2aGhlYQwSCaUAAAFEAAAAJGhtdHiTS8kCAPapgAAD_8RtYXhw__9QAAAAAWgAAAAGbmFtZWEABdEAAAHQAAAOG3Bvc3T_hgAyAARTMAAAACB2aGVhCX8VrgD6qUQAAAAkdm10eNA6szIA7_n0AAP9HAABAAAAAQEG9ckVZV8PPPUAAwPoAAAAANGkDs4AAAAA0aQOzvwW--gLcAcQAAAAAwACAAAAAAAAAAEAAASI_sAAAAu4_Bb_SQtwAAEAAAAAAAAAAAAAAAAAAP_jAABQAP__AAAAAwPTAZAABQAAAooCWAAAAEsCigJYAAABXgAyAUUAAAILBQAAAAAAAAAwAAADK988EAAAABYAAAAAR09PRwBAAAD__wNw_4gAAASIAUBgLgEHAAAAAAIfAt0AAAAgAAYAAAAgAYYAAQAAAAAAAABKAAAAAQAAAAAAAQAdAEoAAQAAAAAAAgAHAGcAAQAAAAAAAwAqAG4AAQAAAAAABAAdAEoAAQAAAAAABQA6AJgAAQAAAAAABgAZANIAAQAAAAAABwAiAOsAAQAAAAAACAAaAQ0AAQAAAAAACQDDAScAAQAAAAAACgCAAeoAAQAAAAAACwAfAmoAAQAAAAAADAAaAokAAQAAAAAADQFLAqMAAQAAAAAADgAaA-4AAQAAAAAAEAAVBAg
@kiyo-e
kiyo-e / build.js
Last active November 1, 2016 17:35
!function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _react=require("react"),_react2=_interopRequireDefault(_react),_reactDom=require("react-dom"),_reactDom2=_interopRequireDefault(_reactDom),TextBox=_react2.default.createClass({displayName:"TextBox",render:function(){return _react2.default.createElement("div",null,_react2.default.createElement("h2",null,this.props.symbol),_react2.default.createElement("h3",null,"現在値:",this.props.price),_react2.default.createElement("li",null,"ask:",this.props.ask)
We couldn’t find that file to show.
require "trello"
Trello.configure do |config|
config.consumer_key = Settings.trello.authorization.consumer_key
config.consumer_secret = Settings.trello.authorization.consumer_secret
config.oauth_token = Settings.trello.authorization.oauth_token
end
Trello::Card.create(name: "ホゲホゲ", description: "hagehage", list_id: "hogehoge")