Skip to content

Instantly share code, notes, and snippets.

View gubnota's full-sized avatar
🐍
How doth the busy bumblebee

Larry Moore gubnota

🐍
How doth the busy bumblebee
View GitHub Profile
Sat Apr 11 12:19:24 +0800 2015
../configure
--prefix=/usr/local/Cellar/libvpx/1.4.0
--enable-pic
--disable-unit-tests
--disable-examples
enabling pic
disabling unit_tests
@gubnota
gubnota / find.py
Created October 30, 2025 11:05
Simplifies exporting of ChatGPT conversations.json export by specific search term and saves it as Markdown or original json
import json
import argparse
from datetime import datetime, timezone
def extract_text_from_message_obj(msg_obj):
if not msg_obj or 'content' not in msg_obj:
return ''
parts = msg_obj['content'].get('parts', [])
if isinstance(parts, list):
# Объединяем список строк с переносами строк