Skip to content

Instantly share code, notes, and snippets.

export JAVA_OPTS="-Xmx1280m -XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=128m -XX:NewRatio=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -Dfile.encoding=UTF-8 -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
export JRUBY_OPTS="--2.0 -J-noverify -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1"
torquebox run -b --max-threads=32
MGalv / gist:4693635
Created February 1, 2013 19:51
Git flow propossal
View gist:4693635
Initial setup
$git clone
$git branch development
$git checkout development
$git pull origin development
Push commits to remote
$git checkout development
$git pull origin development
$git branch epic-<something>
MGalv / gist:4556884
Created January 17, 2013 15:45
View gist:4556884
MGalvBook:PHO MGalv$ svn diff
Index: app/models/section.rb
--- app/models/section.rb (revision 2253)
+++ app/models/section.rb (working copy)
@@ -5,6 +5,7 @@
belongs_to :program
belongs_to :page_layout
has_many :custom_widgets
+ has_many :section_contents