Skip to content

Instantly share code, notes, and snippets.

Avatar

Vít Šesták v6ak

View GitHub Profile
@janmarek
janmarek / gist:572165
Created Sep 9, 2010
Gridito template macros
View gist:572165
{gridito usersGrid}
{* top toolbar *}
{gridito.toolbar.button addUser text => "Nový uživatel", icon => "plusthick", plink => "add"}
{* columns *}
{gridito.column username text => "Uživatelské jméno", sortable => true}
{gridito.column name text => "Jméno", sortable => true}
{gridito.column mail text => "E-mail", sortable => true}
{gridito.column allowed text => "Aktivní", sortable => true}
{gridito.column created text => "Datum založení", sortable => true, dateTimeFormat => "j.n.Y"}
@retronym
retronym / mvn2sbt.scala
Created May 3, 2010
mvn2sbt: quick hack to turn <dependencies> into SBT
View mvn2sbt.scala
object scala {
val version = "SCALA_VERSION$"
}
val xml = <dependencies>
<dependency>
<groupId>org.scalanlp</groupId>
<artifactId>scalala_${scala.version}</artifactId>
<version>0.3.1</version>
</dependency>