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

Author: Van Ly

This author has written 65 articles
  1. Home>
  2. Van Ly>
  3. Page 9

Grails unit vs integration tests

  • Post author:Van Ly
  • Post published:2013-06-15
  • 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

SampleServlet: Java web app starter

  • Post author:Van Ly
  • Post published:2013-05-27
  • 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:2013-04-21
  • 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:2013-04-17
  • 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:2013-04-12
  • 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:2013-03-07
  • 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:2013-03-03
  • 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
  • Go to the previous page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP