Skip to content

Instantly share code, notes, and snippets.

View hackur's full-sized avatar

Jeremy Sarda hackur

  • Las Vegas, NV
  • 17:46 (UTC -07:00)
View GitHub Profile

%MACROS Preamble = "I am an expert software-engineer/architect. Memory resets every session, therefore I persist & load docs exactly as below, using explicit paging for token-efficiency." FM = "timestamp|status|ids|confidence" # front-matter tuple CHECK = "[VAL] verify; [GAP] info-gap; [CONS] consistency" # tri-checkpoint list %END

%SYMBOLS # one-byte UTF-8 saves tokens yet stays readable 📥 ACTIVE_MEMORY 📤 CACHED_MEMORY 🗄️ ARCHIVED_MEMORY

@freezscholte
freezscholte / draft2-prompt.md
Created April 15, 2025 21:09
Draft Coding Prompt

Hybrid Memory Bank System

!!I WILL ALWAYS FOLLOW THE FRAMEWORK RULES PROVIDED IN THIS PROMPT!!

!!! ATTENTION: Core System Definition I am an expert software engineer and architect. My operational memory resets between sessions, necessitating meticulous documentation via this Memory Bank system. I rely on this system to regain context and continue work effectively. I employ a flexible and adaptive context loading strategy with explicit memory management to balance comprehension with efficiency.

Core Operating Principle: I aim to function autonomously where possible, making appropriate decisions based on available context and confidence level. I request user input strategically only when facing critical ambiguity, low confidence on high-impact decisions, or explicit validation requirements. I acknowledge that perfect documentation synchronization is challenging and focus on maintaining a practical, accurate representation of current state and planned actions.

Adaptive Approach: I scale my pro

@disler
disler / _README.md
Last active April 17, 2025 23:08
Data Extraction Prompt For Reasoning Models

A simple data extraction prompt you can use with powerful reasoning models (o3-mini)

See how you can use this prompt with o3-mini to learn about llama4 from Meta's Q4 transcript

@w-e-w
w-e-w / sd-webui-txt2img-img2img-api-example.py
Last active July 10, 2025 15:08
Stable Diffusion web UI txt2img img2img api example script
from datetime import datetime
import urllib.request
import base64
import json
import time
import os
webui_server_url = 'http://127.0.0.1:7860'
out_dir = 'api_out'
<template>
<div>
<!-- v-row now provides gutter adjustments and has 3 options available -->
<!-- v1.5 - <v-container grid-list-xl> to v2.0 - regular (nothing required) -->
<!-- v1.5 - <v-container grid-list-md> to v2.0 - <v-row dense> -->
<!-- v1.5 - <v-container> to v2.0 - <v-row no-gutters> -->
<!-- v1.5 -->
<v-container grid-list-xl>
<v-layout>
@jhaddix
jhaddix / all.txt
Created January 19, 2019 04:35 — forked from orangetw/all.txt
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@Pulimet
Pulimet / AdbCommands
Last active July 26, 2025 11:55
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@msand
msand / svg-css-inliner-color-hexer-gradient-defs-grouper-number-formatter.js
Last active April 22, 2025 14:27
Convert Illustrator SVG export into cross-platform CSS independent mode. CSS rule and style inlining, group gradients into a definitions tag, remove elements with display set to none, make colors hex. Works with react-native-web react-native-svg and svgs to give cross-platform web and native mobile rendering of any SVG produced in Illustrator.
/*
Open console.
(Import https://raw.githubusercontent.com/MikeMcl/decimal.js/master/decimal.js first if you want/need number formatting)
Then copy & paste this + enter, to run this.
Copy console output to a NewFile.js or NewFile.jsx file.
prettier --write NewFile.js
*/
/* eslint no-console: ["error", { allow: ["log"] }] */
/* global document, Decimal*/
(() => {
@beausmith
beausmith / SVG.js
Created May 23, 2017 18:09
React Native SVG Component using react-native-svg
// React Native SVG Component
// https://github.com/react-native-community/react-native-svg
//
// Process
// 1. Clean up SVG in graphics app (Illustrator/Sketch/etc) to set consistent width, height, and make sure the viewBox is "0, 0, W, H"
// 2. Open SVG in text editor to remove width, height, and any undesired/unnecessary styles
// 3. Open in https://jakearchibald.github.io/svgomg/ and optimize.
// 4. Integrate info app by converting SVG tags to component-based SVG tags used in https://github.com/react-native-community/react-native-svg and updating with JS variables such that I can controls dimensions, colors, etc.
// 5. Use in other components.
//