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

SampleServlet: Java web app starter

  • Post author:Van Ly
  • Post published:May 27, 2013
  • Post category:Java/jetty/maven/programming

Prerequisite Maven 3.x installed - try http://maven.apache.org/download.cgi Important: earlier versions of Maven, such as 2.x, won't work correctly Set-up Locate a subdirectory and run: mvn archetype:generate When prompted, use maven-archetype-quickstart…

Continue ReadingSampleServlet: Java web app starter

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

Grails scripting

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

Within any Web application, there is the Web site, which is pretty well served by Grails.  Very soon, there will inevitably be some background processing that needs to be done…

Continue ReadingGrails scripting

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

adb useful commands

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

List devices (including emulations) > adb devices List of devices attached emulator-5554   device List directories via shell (emulation) > adb -e shell ls -l dr-x------ root     root              2013-03-03 22:28 config drwxrwx---…

Continue Readingadb useful commands

Sessions with Node.js and Express

  • Post author:Van Ly
  • Post published:March 3, 2013
  • Post category:Node.js/programming
  • Post comments:0 Comments

I cannot believe how difficult it was to do something so simple. The bulk of the reason behind this, I believe, is the lack of documentation. It always starts at…

Continue ReadingSessions with Node.js and Express
  • Go to the previous page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP