Skip to content

Instantly share code, notes, and snippets.

@bouil
bouil / Build.scala
Last active December 17, 2015 02:29
QueryStringBindable #playframewok #scala Require a "play clean" to import the object in routes. Check target/scala-2.10/src_managed/main/routes_routing.scala to see if the import is present.
import sbt._
import Keys._
import Path._
import play.Project._
object ApplicationBuild extends Build {
val appName = "scala-test"
val appVersion = "1.0-SNAPSHOT"
@bouil
bouil / gist:5509113
Last active December 16, 2015 22:39
Empty userscript using jQuery compatible with both Firefox (Greasemonkey) and Google Chrome (with Tampermonkey)
// ==UserScript==
// @name My Script
// @namespace com.example
// @description Script description
// @include https://*.example.com/url/*
// @version 0.1
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant GM_info
// ==/UserScript==