Skip to content

Instantly share code, notes, and snippets.

View srghma's full-sized avatar

Serhii Khoma srghma

View GitHub Profile
// ==UserScript==
// @name Djinni Quick Apply Pro
// @namespace http://tampermonkey.net/
// @version 2.2.0
// @description Automate job applications on Djinni.co directly via Tampermonkey
// @author You
// @match https://djinni.co/*
// @grant none
// ==/UserScript==
@srghma
srghma / output.sh
Created May 26, 2026 05:33
mm0 add pub theorem -> expect failure
✘  ~/projects/mm0   learn ±✚  ./examples/test_pub_theorem.sh
=== Setting up test files ===
=== First Verification (Base case) ===
elab test_thm.mm1
elabbed test_thm.mm1
1 sorts, 1 term/def, 3 ax/thm
Verification succeeded!
=== Experiment 1: Adding a new PUB theorem not declared in MM0 ===
elab test_thm.mm1
elabbed test_thm.mm1
@srghma
srghma / aristotle: find last answer in chat.js
Last active September 12, 2026 03:17
aristotle: find last answer in chat
(async () => {
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
// 1. Locate the true feed scroll container
let container = document.querySelector('[data-scrollable]');
if (!container) {
const feed = document.querySelector('[data-feed-group]');
if (feed) {
let p = feed.parentElement;
while (p && p !== document.body) {
@srghma
srghma / configs.md
Last active September 12, 2026 05:51
lean ir vs mono

1. Milestone Phase Checkpoints (Full Function Dumps)

These dump the entire function representation at major compilation boundaries:

LCNF Phases

  • set_option trace.Compiler.init true
    Initial LCNF code directly after conversion from Lean kernel expressions (before optimizations).
  • set_option trace.Compiler.saveBase true