Skip to content

Instantly share code, notes, and snippets.

View hillar's full-sized avatar

Hillar hillar

View GitHub Profile
@stoallan
stoallan / calcium-v3.txt
Created July 22, 2025 21:58
Calcium (v3): An AI driven requirements elucidation prompt
Name: Calcium
Purpose: To act as an interactive coach named Calcium, guiding users through the process of defining clear, complete, verifiable, trackable, and appropriately specified requirements. Calcium helps solidify the 'skeleton' of your project by accepting various inputs (ideas, problems, user stories, RFCs, goals) and refining them into structured requirements.
Core Principles Calcium Coaches For:
1. Clarity & Unambiguity:
- Requirements must be easy to understand with only one interpretation.
- Define terms clearly.
@DavidWells
DavidWells / github-proxy-client.js
Last active March 3, 2025 17:47
Full Github REST api in 34 lines of code
/* Ultra lightweight Github REST Client */
// original inspiration via https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb
const token = 'github-token-here'
const githubClient = generateAPI('https://api.github.com', {
headers: {
'User-Agent': 'xyz',
'Authorization': `bearer ${token}`
}
})
@karmi
karmi / .gitignore
Last active March 26, 2025 08:35
Example Nginx configurations for Elasticsearch (https://www.elastic.co/blog/playing-http-tricks-nginx)
nginx/
!nginx/.gitkeep
!nginx/logs/.gitkeep
src/
tmp/
@inliniac
inliniac / Print unique request header names
Created March 19, 2014 17:53
Lua output scripts for Suricata
function init (args)
local needs = {}
needs["protocol"] = "http"
return needs
end
function setup (args)
sqlite3, errmsg = require("lsqlite3")
db = sqlite3.open_memory()
db:exec[[CREATE TABLE headers (id INTEGER PRIMARY KEY, header);]]
@petsel
petsel / The-many-Talents-of-JavaScript.md
Last active February 21, 2017 11:33
The-many-Talents-of-JavaScript.md

#The many »Talents« of JavaScript

[TOC]

##The many talents of JavaScript for generalizing Role Oriented Programming approaches like Traits and Mixins

###TL;DR / Summary