Skip to content

Instantly share code, notes, and snippets.

@douglasrodrigo
douglasrodrigo / dm-core_dm-hibernate-adapter
Created October 18, 2011 01:34
dm-core reload with dm-hibernate-adapter
douglas@douglas-laptop:~/projetos/dm-core$ rmvn rake spec
maven commandline: de.saumya.mojo:rake-maven-plugin:rake -Dargs="spec" -f Gemfile.pom
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building dm-core - gem 0.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- rake-maven-plugin:0.28.1:rake (default-cli) @ dm-core ---
[INFO] (in /home/douglas/projetos/dm-core)
@douglasrodrigo
douglasrodrigo / jibernate_adapter_spec
Created September 30, 2011 01:25
jibernate adapter spec execution
douglas@douglas-laptop:~/projetos/jibernate-dm$ rmvn clean gem:initialize
maven commandline: clean gem:initialize -f dm-hibernate-adapter.gemspec.pom
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building dm-hibernate-adapter 0.2pre
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ dm-hibernate-adapter ---
[INFO] Deleting /home/douglas/projetos/jibernate-dm/target
@douglasrodrigo
douglasrodrigo / lambda_calculus.rb
Created May 28, 2011 03:26
ruby lambda calculus
#base
First = lambda {|a, b| a}
Last = lambda {|a, b| b}
#conditional
True = First
False = Last
Not = lambda {|boolean| boolean[False, True]}
And = lambda {|boolean_a, boolean_b| boolean_a[boolean_b, False]}
Or = lambda {|boolean_a, boolean_b| boolean_a[True, boolean_b]}
@douglasrodrigo
douglasrodrigo / gist:919706
Created April 14, 2011 15:24
vraptor build
Buildfile: c:\eclipse\workspace\vraptor\build.xml
core-tests:
prepare:
compile:
[javac] c:\eclipse\workspace\vraptor\vraptor-core\build.xml:42: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] c:\eclipse\workspace\vraptor\vraptor-core\build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds