Skip to content

Instantly share code, notes, and snippets.

View opensas's full-sized avatar
🏠
Available for freelance jobs

opensas opensas

🏠
Available for freelance jobs
View GitHub Profile
@opensas
opensas / playframework .gitignore
Created September 4, 2011 17:41
playframework .gitignore file template
# Extracted from https://github.com/ulrich/macaron-factory/blob/master/.gitignore
# Ignore all dotfiles...
.*
# except for .gitignore
!.gitignore
# Ignore Play! working directory #
db
eclipse
log
@opensas
opensas / application.conf
Created November 5, 2011 05:38
Configure an h2 file database to a specific location
# by default, when db=fs is specified
# play stores the h2 database file at db/h2/play
# with this setting you can
# specify another location for the h2 file database
db.driver=org.h2.Driver
db.url=jdbc:h2:file:data/play;MODE=MYSQL
db.user=sa
db.pass=
@opensas
opensas / DateFormatter.scala
Created May 30, 2012 05:53
Play framework 2 Jerkson json serializer / deserializer for Date data type
package formatters.json
import play.api.libs.json.Json.toJson
import play.api.libs.json.JsValue
import play.api.libs.json.Format
import java.util.Date
import java.text.SimpleDateFormat
object DateFormatter {
@opensas
opensas / status.scala
Created December 8, 2011 19:39
tiny little scala script to check for play documentation translated files, see http://www.dzone.com/links/first_steps_with_scala_say_goodbye_to_bash_scripts.html
#!/bin/sh
exec scala -savecompiled "$0" "$@"
!#
import java.io._
val docs = new File(".").listFiles
.filter(_.getName.endsWith(".textile")) // process only textile files
.map(new DocumentationFile(_))
@opensas
opensas / CurriculumInfo.json
Last active December 3, 2020 10:49
json with information about my cv
{
"profile":{
"name":"Sebastián Scarano",
"title":"Full Stack Developer",
"img":"assets/images/profile.jpg",
"email":"opensas@gmail.com",
"cell":"+54 9 11 3152 2631",
"social":[
{"icon":"fa-twitter","url":"//twitter.com/opensas"},
{