Skip to content

Instantly share code, notes, and snippets.

View ZaneH's full-sized avatar
🎩
Top of the morning to ya

Zane Helton ZaneH

🎩
Top of the morning to ya
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 April 17, 2024 11:22
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname