Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

Notes for various programming topics and areas

Sentry on Django

  • Post author:Van Ly
  • Post published:August 4, 2023
  • Post category:django/programming/Python/sentry

Sentry is one of those things that most companies use, but most people (or maybe just I) don't really know how to use it. The way I learn these things…

Continue ReadingSentry on Django

Django app template w/ Docker

  • Post author:Van Ly
  • Post published:April 22, 2023
  • Post category:django/docker/programming/Python

Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…

Continue ReadingDjango app template w/ Docker

Kotlin with Maven

  • Post author:Van Ly
  • Post published:February 5, 2023
  • Post category:Java/kotlin/maven/programming

Stand-alone Programs Instructions and template for a stand-alone Java program built with Kotlin source code. An easy way to start with is, since JetBrains is behind this whole thing, just…

Continue ReadingKotlin with Maven

Wagtail in Docker

  • Post author:Van Ly
  • Post published:July 31, 2022
  • Post category:django/docker/programming/Python/Windows

Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…

Continue ReadingWagtail in Docker

Removing DRM from B&N Books

  • Post author:Van Ly
  • Post published:January 1, 2022
  • Post category:Walkthru

This post owes much to Liberate Your (Legally Obtained) Nook Ebooks. The disclaimer there applies here equally. This process should only be done to move your books from the Nook…

Continue ReadingRemoving DRM from B&N Books

Django I18N on Windows

  • Post author:Van Ly
  • Post published:June 2, 2021
  • Post category:django/i18n/programming

Concise run book on I18N to get things started Prerequisite Know the difference between locale name and language name: Locale name: <language code>_<COUNTRY CODE> (examples: "en_US", "fr_CA"), case sensitive.Language name:…

Continue ReadingDjango I18N on Windows

Loading Resources from Python Packages

  • Post author:Van Ly
  • Post published:March 28, 2021
  • Post category:programming/Python

Start with importlib_resources Start with the package importlib_resources. Properly export modules In order for a resource to be accessible, the module (or most likely the submodule) containing it needs to…

Continue ReadingLoading Resources from Python Packages
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 9
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP