Skip to content

Instantly share code, notes, and snippets.

Niklas Lochschmidt nlochschmidt

  • Frankfurt, Germany
Block or report user

Report or block nlochschmidt

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
View onename
Verifying that +niklas_lochschmidt is my blockchain ID.

Keybase proof

I hereby claim:

  • I am nlochschmidt on github.
  • I am niklas_l ( on keybase.
  • I have a public key ASC-norIgDRUysSY7k8Yn8u77uYwDPmygpzkm4nr3Yt_ggo

To claim this, I am signing this object:

nlochschmidt /
Last active Aug 29, 2015
Filter output from sbt to reduce length of CI build log
#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0
# Adapted from
runTests () {
sbt test || exit 1
echo "[info] $(date) - finished sbt test"
stripTerminalEscapeCodes () {
nlochschmidt / bootstrapFieldConstructor.scala.html
Last active Dec 23, 2015
hack to use Play 2.2 form helper with Bootstrap 3
View bootstrapFieldConstructor.scala.html
@(elements: views.html.helper.FieldElements)
* Generate input according twitter bootsrap rules *
<div class="input-group @elements.args.get('_class) @if(elements.hasErrors) {has-error}" id="@elements.args.get('_id).getOrElse( + "_field")">
<label class="sr-only" for="">@elements.label(elements.lang)</label>
<div class="control-label" for="">@elements.errors(elements.lang).mkString(", ")</div>
You can’t perform that action at this time.