Skip to content

Instantly share code, notes, and snippets.

Markus Jura markusjura

Block or report user

Report or block markusjura

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@markusjura
markusjura / pre-commit-hook-install.sh
Created Dec 3, 2017
git pre-commit hook for Scala compile and scapegoat checking (put both in your git project root, needs to be installed in each clone)
View pre-commit-hook-install.sh
#!/bin/sh
cd "$(dirname "$0")"
touch .git/hooks/pre-commit
rm .git/hooks/pre-commit
ln -s ../../pre-commit-hook.sh .git/hooks/pre-commit
View keybase.md

Keybase proof

I hereby claim:

  • I am markusjura on github.
  • I am markusjura (https://keybase.io/markusjura) on keybase.
  • I have a public key whose fingerprint is 15D3 E537 2043 B949 B8A8 1DD0 FC8F DED3 8C96 08E5

To claim this, I am signing this object:

View gist:36f30ef72ff6614b6eca
### Keybase proof
I hereby claim:
* I am markusjura on github.
* I am markusjura (https://keybase.io/markusjura) on keybase.
* I have a public key whose fingerprint is 392C 34F0 DFCD 6D8B 6C0C 15FB 0A23 56FB 24DA F6ED
To claim this, I am signing this object:
View FileController.scala
package controllers
import play.api._
import play.api.mvc._
import models.Files
import play.api.libs.json.Json
import scala.concurrent.Future
import play.api.libs.concurrent.Execution.Implicits._
object FileController extends SecuredController {
View SecuredController.scala
package controllers
import scala.concurrent._
import scala.concurrent.duration._
import play.api.Play._
import play.api.libs.ws.WS
import play.api.libs.json.Json
import play.api.mvc.Controller
import models.LoginData
import play.api.libs.concurrent.Execution.Implicits._
View Application.scala
package controllers
import play.api.mvc._
import play.api.data.Form
import play.api.data.Forms._
import models._
import play.api.mvc.Security._
import scala.concurrent.Future
import play.api.Play._
import models.LoginData
View README.md

This is a plugin meant for Jekyll.

Example use:

Easily embed a YouTube video. Just drop this file in your _plugins directory.

{% youtube oHg5SJYRHA0 %}
You can’t perform that action at this time.