Skip to content

Instantly share code, notes, and snippets.

View spair2k's full-sized avatar

Sergey Politsyn spair2k

  • Russia/Apsheronsk
View GitHub Profile
" Мой актуальный конфиг тут: https://github.com/alexey-goloburdin/dotfiles
@neretin-trike
neretin-trike / pug.md
Last active January 15, 2026 13:32
Туториал по HTML препроцессору Pug (Jade)

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
 Possibly missing firmware for module: wd719x
// Built with IMPACT - impactjs.org
(function (window) {
"use strict";
Number.prototype.map = function (istart, istop, ostart, ostop) {
return ostart + (ostop - ostart) * ((this - istart) / (istop - istart));
};
Number.prototype.limit = function (min, max) {
return Math.min(max, Math.max(min, this));
};
Number.prototype.round = function (precision) {