Skip to content

Instantly share code, notes, and snippets.

View tchajed's full-sized avatar

Tej Chajed tchajed

View GitHub Profile
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active July 31, 2024 15:46
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@tchajed
tchajed / args.sh
Last active June 26, 2024 14:52
Starting a bash script
#!/bin/bash
# basic manual argument parsing
usage() {
echo "Usage: $0 [--foo FOO] [-v]" 1>&2
}
foo=""
verbose=false
#lang rosette
(require rackunit syntax/parse/define)
;; https://openai.com/blog/formal-math/
(define-simple-macro (prove e ...) (check-pred unsat? (verify (begin e ...))))
(test-case "Problem 1"
(define-symbolic* x p real?)