Skip to content

Instantly share code, notes, and snippets.

@hazzari
hazzari / contemplative-llms.txt
Created January 11, 2025 14:38 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@hazzari
hazzari / golang-tls.md
Created February 4, 2024 22:13 — forked from denji/golang-tls.md
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@hazzari
hazzari / commit.md
Last active May 17, 2023 09:48 — forked from Voloshin-Sergei/commit.md
Шпаргалка по оформлению коммитов

Коммиты

Требования

Требования к именам коммитов

  • Названия коммитов должны быть согласно гайдлайну
  • Должен использоваться present tense ("add feature" not "added feature")
  • Должен использоваться imperative mood ("move cursor to..." not "moves cursor to...")
@hazzari
hazzari / bash-guide-1.md
Created January 19, 2022 16:35 — forked from Titiaiev/bash-guide-1.md
шпаргалка по написанию bash скриптов, по ссылке - оригинальная статья на хабре

Бесплатная книга-сайт на русском, полный гайд
Advanced Bash-Scripting Guide

Введение

BASH — Bourne-Again SHell (что может переводится как «перерожденный шел», или «Снова шел Борна(создатель sh)»), самый популярный командный интерпретатор в юниксоподобных системах, в особенности в GNU/Linux. Ниже приведу ряд встроенных команд, которые мы будем использовать для создания своих скриптов.

>break выход из цикла for, while или until

@hazzari
hazzari / sql, postgres, psql
Created August 24, 2020 09:41 — forked from igorpronin/sql, postgres, psql
PostgreSQL - шпаргалка
Перенес в my-mans
-- подключиться к postgres (утилита psql)
psql -U postgres
-- команды помощи
help
\h -- помощь по командам SQL
\? -- помощь по командам psql