Skip to content

Instantly share code, notes, and snippets.

View kirillk77's full-sized avatar

Kirill K kirillk77

  • Moscow, Russia
View GitHub Profile
@hsanjuan
hsanjuan / photo_developing_cheatsheet.md
Last active April 17, 2018 09:27
Photo developing cheatsheet

Photograph developing cheat sheet

Working with ADOX products: http://www.adox.de .

35mm film developing

Requirements

  • Water at 20°C
  • ADONAL: Developer which equals to Rodinal
@crisidev
crisidev / grafana-dashboard-exporter
Created October 7, 2015 20:35
Command to export all grafana 2 dashboard to JSON using curl
KEY=XXXXXXXXXXXX
HOST="https://metrics.crisidev.org"
mkdir -p dashboards && for dash in $(curl -k -H "Authorization: Bearer $KEY" $HOST/api/search\?query\=\& |tr ']' '\n' |cut -d "," -f 5 |grep slug |cut -d\" -f 4); do
curl -k -H "Authorization: Bearer $KEY" $HOST/api/dashboards/db/$dash > dashboards/$dash.json
done
#!/bin/sh
##
## Create a CISCO AnyConnect VPN Client *.deb from anyconnect-predeploy-linux-*.tar
## Copyright (c) SATOH Fumiyasu @ OSS Technology Corp., Japan
##
## License: GNU General Public License version 3
##
set -u
set -e
@Faheetah
Faheetah / Jenkinsfile.groovy
Last active April 3, 2026 17:34
Jenkinsfile idiosynchrasies with escaping and quotes
node {
echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1'
echo 'No quotes, pipeline command in single quotes'
sh 'echo $BUILD_NUMBER' // 1
echo 'Double quotes are silently dropped'
sh 'echo "$BUILD_NUMBER"' // 1
echo 'Even escaped with a single backslash they are dropped'
sh 'echo \"$BUILD_NUMBER\"' // 1
echo 'Using two backslashes, the quotes are preserved'
sh 'echo \\"$BUILD_NUMBER\\"' // "1"
@wowbroforce
wowbroforce / insert_build_phases.rb
Created January 7, 2017 21:19
Example of adding 'Shell Script Build Phase' to Xcode project using Fastlane action and Xcodeptoj tool
module Fastlane
module Actions
module SharedValues
INSERT_BUILD_PHASES_CUSTOM_VALUE = :INSERT_BUILD_PHASES_CUSTOM_VALUE
end
class InsertBuildPhasesAction < Action
def self.run(params)
require 'xcodeproj'
@svetlyak40wt
svetlyak40wt / start-next.sh
Last active January 13, 2018 14:38
Starting nExt browser
# install Roswell: https://github.com/roswell/roswell
# and Qlot: https://github.com/fukamachi/qlot
# they are "must have" tools if you are Common Lisp professional :)
git clone [email protected]:nEXT-Browser/nEXT.git
cd nEXT
echo 'ql :all :latest' > qlfile
qlot install
ros use ccl-bin

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.