RSSAmplifier

Blog

/var/

Various programming stuff

spapas.github.ioRSS feed ↗71 posts

Latest posts

Multiple Erlang/Elixir versions in Windows

How to use multiple Erlang/Elixir versions in Windows

A simple OpenID connect tutorial

A simple tutorial for OpenID connect using only HTTP requests

Simple Django - DataTables integration

Integration of jquery DataTables with Django

AI auto-subtitling

Auto-subtitling movies with AI

HTML form disable after submit

A simple way to improve the functionality of your HTML forms by disabling the submit button after submitting.

Multiple storages for the same FileField in Django

Using multiple file storages from the same FileField in Django

Using Unpoly with Django

A guide on using Unpoly with Django

Accessing MS Access databases from Python and Django

Accessing data from a Microsoft Access database with Django

My essential guidelines for better Django development

A list of guidelines that I follow in every non-toy Django project I develop

Setting up Postgres on Windows for development

How to setup Postgres for development on Windows

Better Django inlines

How to improve our Django inlines

Using clojure from Windows

How to install and use clojure from Windows

PDFs in Django like it’s 2022!

How to render PDFs in Django like it’s 2022!

A forward and reverse proxy primer for the layman

A primer for explaining forward and reverse proxies to the layman

Token Authentication for django-rest-framework

How to authenticate django-rest-framework with tokens

Changing choices to a ForeignKey using Django migrations

How to convert a choices field to a ForeignKey using Django migrations

Saving in Dark Souls

How to properly save your game in the Dark Souls trilogy

Using matplotlib to generate graphs in Django

How to use the matplotlib library to generate server-side graphs with Django

Using hashids to hide ids of objects in Django

How to hide the ids (primary keys) of your objects in Django using the hashids library

Adding a timeline of your wagtail Posts

How to add a timeline wagtail Posts

Getting alerts from OS Mon in your Elixir application

How to receive alerts from the Erlang osmon ( OS Monitoring) application in your elixir/phoenix application

Adding a latest-changes list to your Wagtail site

How to add a list of the latest changes to your wagtail site

Quick and easy layout of django forms using django-crispy-forms and django-widget-tweaks

How to easily layout your django-crispy-forms forms

Declarative Ecto query sorting

Being able to declare your Ecto query sorting even on fields spanning joins

How to properly handle an HTML form

An introductory tutorial on how to properly handle a form. PHP is used for pedagogical reasons.

Declarative Ecto query filters

Being able to declare your Ecto query filter even on fields spanning joins

Phoenix forms integration with select2 and ajax

How to create a proper ajax-autocomplete solution for your foreign key fields with Phoenix Forms and select2

How to create a custom filtered adapter in Android

How to create a custom filtered adapter in Android; we’ll be using Kotlin for this.

Fixing your Django async job - database integration

How to properly fix the errors you get when integrating async jobs (rq, celery etc) with your database in Djang

Use du to find out the disk usage of each directory in unix

How to use the du utility to find out the disk usage of each directory in unix

Adding a delay to Django HTTP responses

How add a delay to your Django HTTP responses using a middleware or a CBV

Easy immutable objects in Javascript

How to avoid mutations in your objects and a poor man’s lens!

A comprehensive Django CBV guide

A comprehensive guide to Django CBVs - from neophyte to more advanced

Easy downloading youtube videos and mp3s using youtube-dl and python

Download videos (and convert them to mp3s) from youtube using python youtube-dl and ffmpeg!

Authentication for django-rest-framework with django-rest-auth

How to authenticate with django-rest-auth

Using both Python 2 and 3 in Windows

How to install and use both Python 2.x and 3.x on Windows

My essential django package list

A list of packages (add-ons) that I use in most of my projects

Automatically create a category table in Postgresql by extracting unique table values

A postgresql script to help you automatically create a new category table by extracting its values from a table and generate the relations

Creating custom components for ag-grid

How to create custom components (renderers and editors) for the excellent ag-grid grid library

Getting a logical backup of all databases of your Postgresql server

A script to help you backup your postgresql databases

A pandas pivot_table primer

A primer on how to use the very useful pivot_table command of a pandas dataframe.

Splitting a query into individual fields in Django

How to split a query containing spaces into individual model fields

How to download all images of an imgur album

How to download all images of an imgur album

Using Werkzeug debugger with Django

How to use the Werkzeug interactive debugger with Django to improve your development workflow

Understanding nested list comprehension syntax in Python

Write nested list comprehensions with ease

Configuring Spring Boot

Configuring your Spring Boot applications using application properties, profiles, locan settings and command line arguments and deploying them using init.d!

A comprehensive react-redux tutorial

A comprehensive tutorial for using react with redux

Ajax data with Fixed Data Table for React

A simple demonstration on using FixedDataTable with Ajax data

PDFs in Django: The essential guide

An essential guide to creating, editing and serving PDF files in django

Improve your client-side-javascript workflow more by using ES6

Browserify can be used to integrate next generation javascript (es6) to your client side scripts using babel.