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

Wagtail in Docker

  • Post author:Van Ly
  • Post published:2022-07-31
  • 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:2022-01-01
  • 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:2021-06-02
  • 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:2021-03-28
  • 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

Python Package Publishing Notes

  • Post author:Van Ly
  • Post published:2021-03-28
  • Post category:Programming/Python

Foundations For the most part, the doc How to Publish an Open-Source Python Package to PyPI – Real Python is what I followed. However, had that been it, I wouldn't…

Continue ReadingPython Package Publishing Notes

Postgresql and Mysql Docker containers

  • Post author:Van Ly
  • Post published:2021-01-24
  • Post category:DB/Docker/MySQL/PostreSQL

To quickly get an instance of PostgreSQL and MySQL up and running, use the following docker-compose setup: Create a subdirectory to place the docker-compose.yml and optionally the data files for…

Continue ReadingPostgresql and Mysql Docker containers

Django Dev Env w/ Docker Compose

  • Post author:Van Ly
  • Post published:2020-06-17
  • Post category:Django/Docker/PostreSQL/Programming

A few years back I ran into a problem when working with Django on Windows while my colleagues were on Mac OS where a datetime routine (forgot which one) behaved…

Continue ReadingDjango Dev Env w/ Docker Compose
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 10
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP