Skip to content

Instantly share code, notes, and snippets.

View salif's full-sized avatar

Salif Mehmed salif

View GitHub Profile
@salif
salif / fk_top_p_and_top_k.md
Created July 22, 2026 13:52 — forked from Hellisotherpeople/fk_top_p_and_top_k.md
The Conspiracy Against High Temperature LLM Sampling

The Conspiracy Against High Temperature Sampling

Or: Why Your LLM Outputs Are Boring and Whose Fault It Really Is


There's a quiet war being waged in the machine learning inference space, and most of you don't even know you're losing it. Every day, millions of people interact with large language models through sanitized, corporatized interfaces that offer them a single "creativity" slider at best. Often they get nothing at all. Meanwhile, a small cabal of researchers and hobbyists has been pushing the boundaries of what's actually possible with modern sampling techniques. Yes, this includes the much maligned "coomer" community.

We live in a time of revealed conspiracies. The Epstein files have shown us what happens when powerful institutions coordinate to suppress information and protect their interests. Flight logs that sat in plain sight for years. Connections that "serious people" dismissed as paranoid speculation until the documents dropped. The pattern is always the same! Information asymme

@salif
salif / quartz.css
Created May 21, 2026 16:03
quartz theme custom css for mbin
/*
* quartz v0.1
*/
:root body {
--kbin-body-font-family: Ubuntu, -apple-system, BlinkMacSystemFont, sans-serif;
--kbin-body-font-size: 1rem;
--kbin-body-font-weight: 400;
--kbin-body-line-height: 1.5;
--kbin-body-text-align: left;
--kbin-body-bg: rgb(220, 48, 124);
@salif
salif / LEV-EVRO.md
Last active December 24, 2025 09:57
Лев - Евро таблица цени
лев евро
0,05 0,03
0,10 0,05
0,15 0,08
0,20 0,10
0,25 0,13
0,30 0,15
0,35 0,18
0,40 0,20

aspe:keyoxide.org:HEX6MLQQW4SLDFSKPKZVMVOJQA

@salif
salif / patch-gleam-format.sh
Last active July 29, 2024 15:16
Patch the Gleam formatter to fix the indentation. For the Arch Linux PKGBUILD.
# git clone https://aur.archlinux.org/gleam.git
pkgver="1.0.0"
EDITOR=${EDITOR:-micro}
makepkg --nobuild
cd src/
cp -r gleam-$pkgver gleam-$pkgver-new
$EDITOR gleam-$pkgver-new/compiler-core/src/format.rs
# - const INDENT: isize = 2;
@salif
salif / bookmarklet.js
Created June 5, 2024 17:44
bookmarklet to open video in new tab/downloading
javascript:(function (w) {var vs = Array.from(w.document.body.querySelectorAll("video"));if (vs.length === 0) {w.document.querySelectorAll("iframe").forEach(vif => {vif.contentDocument?.body.querySelectorAll("video").forEach(vi => {vs.push(vi);});});};if (vs.length === 0) {w.alert("no videos!");} else {var v = vs.length === 1 ? vs[0]?.currentSrc : vs[w.Number.parseInt(w.prompt(vs.map((vv, ind) => ind + ": " + vv.currentSrc).join("\n"), "0"), 10)]?.currentSrc;if (v?.length > 0) { w.open(v, "_blank"); } else { w.alert("video src is empty!"); }};})(window);
@salif
salif / README.md
Last active February 11, 2024 16:59
Memrise - Sort courses by length / amount of words

Memrise - Sort courses by length / amount of words

  • Go to app.memrise.com/community/courses
  • Open Developer tools and go to the Console tab
  • Copy the code from script.js from this gist, then paste it into the console and hit enter
  • Done!
@salif
salif / script.sh
Last active January 24, 2024 20:39
Linux grep locales
LANG=$(printf "$LC_MESSAGES" | cut -d '_' -f 1)
mkdir -p /tmp/${LANG}_locale
find /usr/share/locale/${LANG}/LC_MESSAGES/ -name '*.mo' | xargs -I "{}" sh -c "msgunfmt {} >> /tmp/${LANG}_locale/\$(basename {})"
grep -i -A 1 "" /tmp/${LANG}_locale/*.mo
@salif
salif / update-contributors.sh
Last active October 9, 2023 19:03
Update the CONTRIBUTORS file
git shortlog -sn --no-merges | cut -f 2 > CONTRIBUTORS
@salif
salif / README.md
Last active August 26, 2023 23:44
Alegreya font for WriteFreely (Normal+Bold+Italic)

Alegreya font for WriteFreely (Normal+Bold+Italic)

Choose style.css or style.min.css (minified css), copy its contents, and paste it into Custom CSS on Writefreely.