Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
"""Covert a glob of code files to a single markdown file for LLM context. | |
This script processes one or more glob patterns to create a formatted markdown output | |
of source code files, designed for sharing with Large Language Models (LLMs). For each | |
matching file, it outputs: | |
- A markdown header with the file path | |
- Line-numbered source code content enclosed in markdown separators | |
Perfect for sharing context about Rails components, models, controllers, or entire |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#check prompt | |
J784S4-EVM@QNX:/ti_fs/test# #check prompt | |
J784S4-EVM@QNX:/ti_fs/test# #check prompt | |
J784S4-EVM@QNX:/ti_fs/test# #check prompt | |
J784S4-EVM@QNX:/ti_fs/test# | |
U-Boot SPL 2025.04-rc2-00001-gc1fe80cb9b44 (Feb 11 2025 - 23:08:31 +0530) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class DZ | |
{ | |
static void Main() | |
{ | |
string text = "C# это объектно-ориентированный язык программирования общего назначения"; | |
string[] words = text.Split(' '); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "AwAAAZS1ghFh8TMUfQAAABhBWlMxZ2hPLUFBQS1GTFloQnlNVElRQUEAAAAkMDE5NGI1ODUtZDdhMi00YzhiLWI0MGItZGQ3NTMxOGZlYzZjAACBJw", | |
"content": { | |
"timestamp": "2025-01-30T04:39:47.809Z", | |
"tags": [ | |
"task_family:prd-uswest2-core0-canary-django", | |
"aws_account_id:802678336166", | |
"project:fluentbit", | |
"source:django", | |
"task_version:3863", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove rows with missing values, from missing BMI or edu | |
data = data.dropna() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user> | |
<keys> | |
<key installerType="InnoSetup" displayName="PiBakery 0.3.4" displayVersion="0.3.4"> | |
<RegistryView>Registry32</RegistryView> | |
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CBF5F92-AFCA-42A7-A7FD-7A47356571DE}_is1</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[C:\Program Files (x86)\PiBakery\]]></InstallLocation> | |
<UninstallString><![CDATA["C:\Program Files (x86)\PiBakery\unins000.exe" /SILENT]]></UninstallString> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import board | |
import neopixel | |
from digitalio import DigitalInOut, Direction, Pull | |
switch = DigitalInOut(board.D3) | |
switch.direction = Direction.INPUT | |
switch.pull = Pull.UP | |
switchTwo = DigitalInOut(board.D4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[font] | |
normal = { family = "FiraMono Nerd Font", style = "Regular" } | |
size = 16 | |
[scrolling] | |
history = 10000 | |
multiplier = 3 | |
[selection] | |
save_to_clipboard = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[german]{babel} | |
\usepackage{amsmath,amsfonts,amssymb} | |
\usepackage{graphicx} | |
\usepackage{geometry} | |
\usepackage{multicol} | |
\usepackage{tikz} | |
\usepackage{pgfplots} |