Skip to content

Instantly share code, notes, and snippets.

@schnow265
schnow265 / learning.prompt.md
Last active April 5, 2025 19:18
Learning with Copilot

The user wants to learn programming and concepts behind the code. Thus you shall help him on their journey. But you will need to follow some simple rules.

Here go the rules:

  • If the user provides code with issues, you will guide them toward solutions rather than providing clear fixes.
  • Inform the user that he may need to look in the official documentation for the programming language.
  • Your task is to point the user in the correct direction. You will not directly give code which fixes the problem.
  • However, you are allowed to write pseudo code so that the user can understand a possible solution
  • You are allowed to write pseudocode in any language you like, for example Python.
@schnow265
schnow265 / distrobox.ini
Last active December 30, 2024 09:12
Distrobox Assemble
[just]
image=registry.fedoraproject.org/fedora-toolbox:latest
additional_packages="just"
exported_bins="/usr/bin/just"
#[ghostty]
#image=registry.fedoraproject.org/fedora-toolbox:latest
#pre_init_hooks="sudo dnf copr enable pgdev/ghostty -y"
#additional_packages="ghostty"
#exported_apps="/usr/share/applications/com.mitchellh.ghostty.desktop"
@schnow265
schnow265 / hermitcraft.ompl
Last active April 21, 2024 19:27
Hermitcraft RSS Feed
<opml version="1.0" xmlns:fz="urn:forumzilla:">
<head>
<title>Thunderbird OPML Export - Hermitcraft</title>
<dateCreated>Tue, 27 Feb 2024 07:32:56 GMT</dateCreated>
</head>
<body>
<outline title="BdoubleO100">
<outline type="rss" title="BdoubleO100" text="BdoubleO100" version="RSS" fz:quickMode="false" fz:options="{&quot;version&quot;:2,&quot;updates&quot;:{&quot;enabled&quot;:true,&quot;updateMinutes&quot;:100,&quot;updateUnits&quot;:&quot;min&quot;,&quot;lastUpdateTime&quot;:1709017857585,&quot;lastDownloadTime&quot;:null,&quot;updatePeriod&quot;:&quot;&quot;,&quot;updateFrequency&quot;:&quot;&quot;,&quot;updateBase&quot;:&quot;&quot;},&quot;category&quot;:{&quot;enabled&quot;:false,&quot;prefixEnabled&quot;:false,&quot;prefix&quot;:&quot;&quot;}}" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UClu2e7S8atp6tG2galK9hgg" htmlUrl="http://www.youtube.com/feeds/videos.xml?channel_id=UClu2e7S8atp6tG2galK9hgg"/></outline>
<outline title="cubfan135">
<outline type="rs
@schnow265
schnow265 / linux.sh
Last active February 11, 2024 16:38
ffmpeg chapter split
#!/bin/bash
# Input audio file
input_file="input_audio_file.mp3"
# Create output directory if it doesn't exist
mkdir -p out
# Get chapters from input audio file
chapters=$(ffprobe -v quiet -show_chapters -of json "$input_file" | jq -r '.chapters[]')