Skip to content

Instantly share code, notes, and snippets.

@petermorrowdev
petermorrowdev / repo-md
Last active February 11, 2025 18:00
Format code files for sharing with LLMs - converts glob patterns into line-numbered markdown
#!/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
#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)
using System;
class DZ
{
static void Main()
{
string text = "C# это объектно-ориентированный язык программирования общего назначения";
string[] words = text.Split(' ');
{
"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",
@cemalley
cemalley / dropna.py
Created February 11, 2025 17:49
remove rows with missing values
# remove rows with missing values, from missing BMI or edu
data = data.dropna()
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 17:48
pibakery v0.3.4 - Passed - Package Tests Results
<?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>
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)
@Reynier9412
Reynier9412 / index.html
Created February 11, 2025 17:48
Untitled
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@0guanhua0
0guanhua0 / alacritty.toml
Created February 11, 2025 17:47
~/.config/alacritty/alacritty.toml
[font]
normal = { family = "FiraMono Nerd Font", style = "Regular" }
size = 16
[scrolling]
history = 10000
multiplier = 3
[selection]
save_to_clipboard = true
\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}