Skip to content

Instantly share code, notes, and snippets.

View jnareb's full-sized avatar

Jakub Narębski jnareb

View GitHub Profile
@NicolasCARPi
NicolasCARPi / LICENSE
Last active October 22, 2026 14:00
VibeCoded AI-Slop License v1.0
VibeCoded AI-Slop License v1.0
Copyright (c) [YEAR] [AUTHOR]
This software, source code, documentation, configuration, generated artifacts,
and whatever else happened to end up in this repository (collectively, the
"Software") is released under the VibeCoded AI-Slop License v1.0.
1. Permission
@GabrielVidal1
GabrielVidal1 / django-git-switch-migrate.sh
Created October 16, 2025 23:18
Automatic django migration handling for git workflow
#!/bin/bash
# ==============================================================================
# Git Branch Switch with Safe Django Migrations
# ==============================================================================
# This script automates switching between Git branches in a Django project
# while handling database migrations safely.
#
# It:
# - Compares Django migrations between the current and target branches.
# - Reverts apps to the last common migration if migrations diverged.
@patx
patx / benchmark998.md
Created May 30, 2025 00:24
benchmark for micropie v0.9.9.8

Benchmarks for MicroPie v0.9.9.8

Extremely simple comparisons between fast ASGI frameworks. Each framework used uvicorn as the server using uvicorn file:app --workers 4. Tests were performed on a Dell XPS 13 with 16GB of RAM.

MicroPie

from MicroPie import App

class Root(App):

    async def index(self):
@adtac
adtac / README.md
Last active September 7, 2026 07:37
Using your Kindle as an e-ink monitor

3.5 fps, Paperwhite 3
@adtac_

step 1: jailbreak your Kindle

mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread

I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging

@rwp0
rwp0 / perl_to_unix_mappings.csv
Last active September 12, 2023 11:11
Perl to Unix Table: Cultural influence of Unix on Perl symbol names
Perl Function / Method Namespace (eg. Package) Command / Syscall / C Function
compare File::Compare cmp(1)
catdir File::Spec cat(1)
catfile File::Spec cat(1)
basename File::Basename basename(1)
dirname File::Basename dirname(1)
grep CORE grep(1)
find File::Find find(1)
s/// CORE sed(1)
tr// CORE tr(1)
@veekaybee
veekaybee / normcore-llm.md
Last active November 13, 2026 04:19
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

const fetch = require('node-fetch');
async function run() {
let username = "YOUR USERNAME HERE";
let password = "YOUR APP PASSWORD";
let authBasic = new Buffer(username + ':' + password).toString('base64');
let session = await (await fetch('https://jmap.fastmail.com/.well-known/jmap', {
headers: {
"Authorization": "Basic " + authBasic
}
})).json();
@phil-blain
phil-blain / git-imap-send-all-the-emails.md
Last active November 11, 2020 18:57
How to get `git imap-send` to accept any email

Email workflows with Git

Since Git was designed for the mailing-list heavy workflow of the Linux kernel development community, it has commands that make it easy to transform a commit (also known as a patch) into an email and vice-versa. For example, git format-patch, git am, git send-email and git imap-send.

While git send-email can be used to send a list of patches prepared using git format-patch to a development mailing list via an SMTP server, git imap-send is designed to upload git format-patch-prepared patches to an IMAP folder, so that they can then be sent using a regular mail client (maybe after tweaking the cover letter or the in-patch commentaries).

@shakna-israel
shakna-israel / LetsDestroyC.md
Created January 30, 2020 03:50
Let's Destroy C

Let's Destroy C

I have a pet project I work on, every now and then. CNoEvil.

The concept is simple enough.

What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?


@Ovid
Ovid / cor.md
Last active September 12, 2021 08:02
Cor—A minimal object system for the Perl core

NAME

Cor — A minimal OO proposal for the Perl core

VERSION

This is version 0.10 of this document.

AUTHOR