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 7

Debugging Rails 3 in (Aptana 3.4.2, Windows 7)

  • Post author:Van Ly
  • Post published:2014-05-24
  • Post category:Programming/Ruby on Rails
  • Post comments:0 Comments

More Rails stuff. I was using command line & vim to do some Rails stuff until fingers got tired of switching between files. So I did a some searches and…

Continue ReadingDebugging Rails 3 in (Aptana 3.4.2, Windows 7)

Rails w/ MySQL (Windows 7-64)

  • Post author:Van Ly
  • Post published:2014-05-22
  • Post category:MySQL/Programming/Ruby on Rails
  • Post comments:0 Comments

Mainly notes on setting up the following (suitable for Dreamhost's Rails setup): Ruby 1.8.7-p374 Rails 3.0.3 Ruby devkit  (from http://rubyinstaller.org/downloads/) MySQL Installer 5.6.17 Community Server 64-bit mysql2 GEM '0.2.22' Install Ruby 1.8.7 by…

Continue ReadingRails w/ MySQL (Windows 7-64)

Developing with Moto X

  • Post author:Van Ly
  • Post published:2014-03-20
  • Post category:android/Mobile/Moto X/Programming
  • Post comments:0 Comments

Just recently upgraded from an Android 2.1 device (HTC Aria) to an Android 4.4 device (Moto X). To enable the developer USB feature that allows installing and running (let alone…

Continue ReadingDeveloping with Moto X

xml.MarkupBuilder in Groovy

  • Post author:Van Ly
  • Post published:2013-10-08
  • Post category:Groovy/Programming

Typical use of the builder starts with: import groovy.xml.MarkupBuilder def writer = new StringWriter() def xml = new MarkupBuilder(writer) ... String generatedXml = writer.toString() Then the "building" part is what's…

Continue Readingxml.MarkupBuilder in Groovy

Memcached in Grails: a quickie

  • Post author:Van Ly
  • Post published:2013-08-18
  • Post category:Grails/Programming

Two clients will be covered: XMemcached and spymemcached Xmemcached Add dependency Add in BuildConfig.groovy: dependencies { ... compile 'com.googlecode.xmemcached:xmemcached:1.4.2' } Set up the bean Add in conf/spring/resources.groovy: beans = {…

Continue ReadingMemcached in Grails: a quickie

Notes on multiple Grails apps sharing a DB

  • Post author:Van Ly
  • Post published:2013-08-16
  • Post category:Grails/Programming

Multiple Apps Two logical partitions of services, perhaps one public-facing with GSPs serving up UI and one headless with REST services, can be easier to maintain if implemented as separate…

Continue ReadingNotes on multiple Grails apps sharing a DB

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
  • Go to the previous page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP