Skip to content

Instantly share code, notes, and snippets.

View norambna's full-sized avatar

Luis Norambuena norambna

View GitHub Profile
@RNCTX
RNCTX / django-template_partials-htmx-tables2-filter_search.md
Last active September 12, 2025 09:22
How to tie HTMX + django-tables2 + django-filters + django-template-partials together

Reasoning for this

It took me some time of digging through disparate docs and blog posts to piece together how to use django-tables2, htmx, django-template-partials, and django-filter, all at the same time in an optimal way for highly interactive data tables in django.
At present I am not using Alpine.js, another popular addition to this stack, due to my preference for writing plain ole javascript instead of having to learn another syntax, but that's really outside of this scope anyway, this is meant to be a how-to on the Python tools + HTMX.

Credit to the following blog posts and stackoverflow replies that were helpful in piecing this stuff together as a first time user of most of these Django packages:

@YoSoyGena
YoSoyGena / radios_nacionales.md
Last active December 31, 2025 06:11 — forked from pisculichi/radios_nacionales.txt
URLs de radios nacionales de Argentina, para poder escuchar en la web, lista COMPLETAMENTE re-hecha y actualizada para el 2025

RADIOS DE ARGENTINA - LISTA COMPLETA ACTUALIZADA 2025

Tabla actualizada con URLs de streaming de radios argentinas nacionales y provinciales.

Última actualización: 12 de diciembre de 2025

Total de radios: 80+ emisoras


@tim-schilling
tim-schilling / subquery_count.py
Created September 8, 2023 18:24
Subquery Count
from django.db.models import IntegerField, Subquery
class SubqueryCount(Subquery):
template = "(SELECT COUNT(*) FROM (%(subquery)s) _count)"
output_field = IntegerField()
@MineBartekSA
MineBartekSA / catbox
Last active January 3, 2026 11:36
CatBox - An implementation of catbox.moe API in Bash
#!/bin/bash
#
# CatBox v2.0
# An implementation of catbox.moe API in Bash
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591
# Change log: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591?permalink_comment_id=4596132#gistcomment-4596132
#
# MIT License
#