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

programming

  1. Home>
  2. programming>
  3. Page 2

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

Grails unit vs integration tests

  • Post author:Van Ly
  • Post published:June 15, 2013
  • Post category:Grails/programming/test

Services Content here applies to Grails 2.1.3 and may also apply to newer versions. Setup We start with three service classes: OneService, TwoService, and ThreeService. OneService uses TwoService which uses…

Continue ReadingGrails unit vs integration tests

Grails run-script with parameters

  • Post author:Van Ly
  • Post published:April 21, 2013
  • Post category:Grails/programming
  • Post comments:0 Comments

Scripts vs. parameters The "grails run-script" task allows running a bunch of scripts, and therein lies the problem: the parameters passed to the command are interpreted by the command to…

Continue ReadingGrails run-script with parameters

Grails class names

  • Post author:Van Ly
  • Post published:April 17, 2013
  • Post category:Grails/programming
  • Post comments:0 Comments

Seems like there are many flavors of the name for a Grails class: fullName -- Returns the full name of the class in the application with the the trailing convention part…

Continue ReadingGrails class names

Mobile-enabling a Web page

  • Post author:Van Ly
  • Post published:March 7, 2013
  • Post category:android/mobile/programming
  • Post comments:0 Comments

Stop that condensation By default, my mobile Web browser attempts to make everything smaller so that a "normal" web page will fit in the phone's screen, even when the page…

Continue ReadingMobile-enabling a Web page
  • Go to the previous page
  • 1
  • 2
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP