Skip to content

Instantly share code, notes, and snippets.

@fakezeta
fakezeta / qwen3.6_merged_template.jinja
Last active May 7, 2026 02:49
Merged Qwen Multimodal Chat Template from allanchan339 and froggeric
{# =========================
Merged Qwen Multimodal Chat Template from
- https://github.com/allanchan339/vLLM-Qwen3-3.5-3.6-chat-template-fix
- https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates
Features:
- Long, strict tool system prompt (from allanchan339)
- developer role supported (from froggeric)
- <|think_on|> / <|think_off|> toggles (from froggeric)
- Historical reasoning HIDDEN by default (from allanchan339)
- String-form tool arguments parsed as JSON (from allanchan339)

Code Bash command prefix detection

This defines risk levels for actions that the ${K4} agent may take. This classification system is part of a broader safety framework and is used to determine when additional user confirmation or oversight may be needed.

Command prefix extraction examples

Examples:

  • cat foo.txt => cat
  • cd src => cd
@shubhamjain
shubhamjain / universe.md
Last active December 25, 2025 23:33
What is the Universe made up of? (by Issac Asimov) [1980]

What is the Universe made up of?

Part of Asimov's essay collection, this essay is the most accessible introduction to the standard model of atom. It was published on November 1980.

All the countless myriads of things, living and non-living, large and small, here and in the farthest galaxies, can't really be countless myriads. That would be too complex, too messy to suit our intuition which is that the Universe is basically simple, and that all we need is to be subtle enough to penetrate that simplicity.

The Greeks suggested the Universe was made up of a few "elements,*' and some supposed that each element was made up of invisibly small "atoms” (from a Greek word meaning "indivisible”) which, as the name implied, could not be divided into anything smaller.

Nineteenth-century chemists agreed in essence. But what nineteenth-century chemists found were elements by the dozens, each with its characteristic atoms. Again, too complex and too messy.

@alexishida
alexishida / Manual Instalação Token GD Starsign CUT Ubuntu.txt
Last active March 2, 2026 11:51
Manual Instalação Token GD Starsign CUT Ubuntu
-----------------------------------------------------------------------------------------------------------------------------
PROCEDIMENTOS PARA INSTALAÇÃO Giesecke & Devrient GmbH StarSign CUT S
Autor: Alex Ishida <alexishida@gmail.com>
Data: 27/10/2023
Versão: 1.0.0.0
-----------------------------------------------------------------------------------------------------------------------------
PASSO 1, instale alguns pacotes disponíveis no repositório oficial do Ubuntu.
-----------------------------------------------------------------------------------------------------------------------------
sudo apt update
@rain-1
rain-1 / LLM.md
Last active March 27, 2026 08:10
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@calnix
calnix / Readme.md
Created September 6, 2022 02:17 — forked from Sebb767/Readme.md
Escape The Matrix (Dark Web Article)

This is the famous escape the matrix article from the hidden wiki. Since most mirrors are down and on the hidden wiki itself, the first chaper was replaced with a bitcoin scam, I thought I repost this here. Copyright goes to the original author and I'm not stating any opinion on this text except that it may or may not be an interesting read ;)

The .txt version is taken from here (there's also an intepretation where that came from), the markdown version was converted via some regexes by, well, me.

Have fun :)

@tarruda
tarruda / LICENSE-MIT
Last active January 25, 2026 01:01
LXD: Full Debian KDE desktop
Copyright 2026 Thiago de Arruda Padilha
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.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
@brian-mann
brian-mann / child.js
Created August 1, 2017 05:06
Fixed timers in electron
process.on('message', (obj = {}) => {
const { id, ms } = obj
setTimeout(() => {
try {
// process.send could throw if
// parent process has already exited
process.send({
id,
ms,
#!/bin/bash
# Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence
# Additionally JDK is needed
generate_buildenv() {
# Prepare build enviroment
mkdir openwrt_build
cd openwrt_build
git clone --depth=1 git://git.openwrt.org/15.05/openwrt.git
@Sebb767
Sebb767 / Readme.md
Created August 6, 2015 01:22
Escape The Matrix (Dark Web Article)

This is the famous escape the matrix article from the hidden wiki. Since most mirrors are down and on the hidden wiki itself, the first chaper was replaced with a bitcoin scam, I thought I repost this here. Copyright goes to the original author and I'm not stating any opinion on this text except that it may or may not be an interesting read ;)

The .txt version is taken from here (there's also an intepretation where that came from), the markdown version was converted via some regexes by, well, me.

Have fun :)