Skip to content

Instantly share code, notes, and snippets.

Avatar

Agnaldo de Oliveira agnaldo4j

View GitHub Profile
@sundorf
sundorf / Mongo.scala
Created Mar 14, 2012
Play 2.0 Utility-Trait for Casbah/MongoDB
View Mongo.scala
package models
import scala.Option.option2Iterable
import org.scalastuff.scalabeans.Preamble.descriptorOf
import org.scalastuff.scalabeans.BeanDescriptor
import com.mongodb.casbah.Imports._
import play.Logger
/**
* Utility trait for MongoDB to mix into entity classes.
@dalehenrich
dalehenrich / bootstrap.st
Created Mar 12, 2012
Bootstrapping FileTree support into Pharo image
View bootstrap.st
"Note that these instructions apply to Phase1 ... not yet alpha, so take care:)
Assuming Pharo 1.3"
"Bootstrap filetree code"
Gofer new
url: 'http://ss3.gemstone.com/ss/FileTree';
package: 'ConfigurationOfFileTree';
load.
((Smalltalk at: #ConfigurationOfFileTree) project version: '1.0') load.
You can’t perform that action at this time.