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

Yearly Archives: 2021

  1. Home>
  2. 2021

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

Python Package Publishing Notes

  • Post author:Van Ly
  • Post published:March 28, 2021
  • 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:January 24, 2021
  • Post category:DB/docker/mysql/postgresql

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
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP