Skip to content

Instantly share code, notes, and snippets.

View ZaneH's full-sized avatar
👓
Building!

Zane Helton ZaneH

👓
Building!
View GitHub Profile
@trotsky1997
trotsky1997 / fixjson.py
Created September 15, 2023 03:07
Fix JSON output of LLM agents
import re
import json
from half_json.core import JSONFixer
def json_fixer(data: str) -> str:
# define a mapping of full-width punctuation to half-width punctuation
punctuation_map = {
"!": "!",

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 22, 2024 17:28
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname