Skip to content

Instantly share code, notes, and snippets.

View trbielec's full-sized avatar

Tom Bielecki trbielec

  • Aligned Outcomes
  • Canada
View GitHub Profile
@trbielec
trbielec / code_interpreter_capabilities.md
Last active April 15, 2025 17:41
ChatGPT Code Interpreter Capabilities

Taxonomy of Python Sandbox Capabilities

Preamble: This taxonomy outlines the tasks achievable within this sandboxed Python environment (ChatGPT Code Interpreter). Its primary strengths lie in leveraging a rich set of pre-installed libraries for offline processing of uploaded data, rapid prototyping, generating outputs (including enhanced UI displays for certain types), and executing code without requiring local setup. Use this guide to determine if the tool fits your task, considering its inherent limitations: sessions are ephemeral (work must be downloaded each time), no internet access is available, computational resources and file upload sizes are capped, and only the pre-installed libraries can be used. Current as of March 29, 2025.


I. Information Transformation and Synthesis (Core Purpose: Using code to process data, perform computations, generate insights, and create new artifacts, including potentially triggering enhanced UI displays for specific outputs.)

  • **Decision Support (Wh
@trbielec
trbielec / gist:6152bf5990cd56b0de02cfdee66a04ec
Created March 13, 2025 17:19
Information Reorganization Prompt for LLMs
Your capabilities include understanding text, documents, images etc and extracting structured information, which is necessary for the task at hand.
For the purpose of reorganizing contextual information before reasoning to improve LLM performance, utilizing XML structured explicit mapping of logical relationships between concepts/entities/etc, execute the following procedure:
In your proverbial "mind's eye", generate a knowledge graph of the key concepts/entities represented in the attached material(s). Do this by converting implicit relationships into explicit logical relationships. Preserve hierarchical structure, maintain multi-hop connections, and ensure logical grouping of related concepts. Pin this knowledge graph with nodes and edges as an intermediary output. For each concept, include details on how it functions or operates, especially for services or processes described. Specifically identify and represent any step-by-step processes or workflows described in the material(s) as a set of interconnect
@trbielec
trbielec / roam-export-jq-examples.sh
Created June 4, 2020 08:04 — forked from kvnsmth/roam-export-jq-examples.sh
JQ recipes to use with Roam Export JSON
##########################################################################
## List Page Titles
##########################################################################
# list in same order as export
jq ".[].title" export.json
# sort by title
jq "sort_by(.title) | .[].title" export.json
javascript: (() => {
async function download(fileName, data) {
const content =
typeof data === "string" || data instanceof Blob
? data
: JSON.stringify(data);
const downloadURL = window.URL.createObjectURL(
new Blob([content], { type: "application/json" })
);
const anchor = document.createElement("a");
bookmarklet = () =>
(async () => {
// https://gist.github.com/subtleGradient/9b1eb9b6356c861ee3b7395c11bab9d2
/*!
Copyright 2020 Thomas Aylott <oblivious@subtlegradient.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@trbielec
trbielec / md - Links - Chrome Tabs.scpt
Created May 25, 2020 21:35
OSX AppleScript - Chrome Tabs to Indented Markdown
@trbielec
trbielec / md - Links - Safari Tabs.scpt
Last active May 25, 2020 21:35
OS AppleScript - Safari Tabs to Indented Markdown
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:GPano="http://ns.google.com/photos/1.0/panorama/">
<GPano:ExposureLockUsed>False</GPano:ExposureLockUsed>
<GPano:StitchingSoftware>Street View - 2.1.0</GPano:StitchingSoftware>
<GPano:CaptureSoftware>Street View - 2.1.0</GPano:CaptureSoftware>
<GPano:CroppedAreaLeftPixels>0</GPano:CroppedAreaLeftPixels>
<GPano:CroppedAreaTopPixels>0</GPano:CroppedAreaTopPixels>