Skip to content

Instantly share code, notes, and snippets.

@ringwraith
ringwraith / spec.md
Created August 21, 2025 02: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.

@ringwraith
ringwraith / powertoys.ahk
Created August 16, 2025 12:40 — forked from liberize/powertoys.ahk
AutoHotKey2 helper script for PowerToys
#NoTrayIcon
SendMode("Input")
SetWorkingDir(A_ScriptDir)
; -----------------------------------------------------------------------
; 1. PowerToys Peek
; Use only space key to trigger PowerToys Peek
; Credit: https://github.com/deanmongel/use-space-in-peek-of-powertoys
@ringwraith
ringwraith / tproxy.sh
Created January 5, 2023 07:22 — forked from ttys3/tproxy.sh
tproxy.sh for clash
#!/bin/sh
# @author: ttyS3
# transparent proxy for clash
#ref to https://en.wikipedia.org/wiki/Reserved_IP_addresses
func_get_reserved_ip_addr() {
cat <<-EOF
0.0.0.0/8
10.0.0.0/8
100.64.0.0/10
@ringwraith
ringwraith / .zshrc
Created February 7, 2022 02:55 — forked from nobk/.zshrc
My light weight zshrc for WSL2 and Gentoo and MSYS2 and OpenWRT zsh shell
# z's config for the zsh
TERM=xterm-256color
# Load user rc script
[ -f "$HOME/.zsh_user.zsh" ] && source "$HOME/.zsh_user.zsh"
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
if [ -z "$HISTFILE" ]; then
@ringwraith
ringwraith / xgboost_incremental.ipynb
Created March 8, 2018 02:10 — forked from ylogx/xgboost_incremental.ipynb
XGBoost Incremental Learning
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
def compare_on_dataset(data, target_variable=None, lr=0.001, patience=150):
from IPython.display import display
df = (
pd.read_csv(data)
# Rename columns to lowercase and underscores
.pipe(lambda d: d.rename(columns={
k: v for k, v in zip(