Skip to content

Instantly share code, notes, and snippets.

View sh8der's full-sized avatar

Кирилл Шрейдер sh8der

View GitHub Profile
@sh8der
sh8der / spec.md
Created August 7, 2025 08:42 — 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.

@sh8der
sh8der / createPromoCodesInTilda.js
Created November 20, 2022 18:00
Снипет который можно запускать в админке для быстрого создания промокодов, чтобы не тыкать руками
const headers = {
accept: "text/plain, */*; q=0.01",
"accept-language": "ru,en-US;q=0.9,en;q=0.8,ru-RU;q=0.7",
"cache-control": "no-cache",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
pragma: "no-cache",
"sec-ch-ua": '"Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "empty",
@sh8der
sh8der / profiles.json
Last active November 17, 2020 16:38
Настройки для windows terminal preview - git bash, dracula theme
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"initialCols": 80,
"initialRows": 20,
@sh8der
sh8der / office-online-shortcode__wordpress.php
Created May 13, 2019 03:35
Шорткод для вставки iframe на офис онлайн, для отображения документов на страницах сайта
<?php
function print_online_office_iframe( $atts, $shortcode_content ){
$atts = shortcode_atts( array(
'width' => '100%',
'height' => '500px'
), $atts );
$online_office_link = 'https://view.officeapps.live.com/op/view.aspx?src=';
$re = '/https:\/\/ktorgteh+.kz\/wp-content\/uploads\/[0-9]{4}\/[0-9]{2}\/[a-zA-z-0-9]*+.\w{2,5}/m';