Skip to content

Instantly share code, notes, and snippets.

leon / Grunt.scala
Last active Sep 3, 2016
Playframework 2.2 Grunt Runner
View Grunt.scala
import sbt._
import Keys._
import play.PlayRunHook
Grunt runner should be in project directory to be picked up by sbt
object Grunt {
azbesthu /
Last active Jul 3, 2020
get kernel source for current rpi raspbian wheezy kernel
REV=`zcat /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz | grep '* firmware as of' | head -n 1 | sed -e 's/\ \*\ firmware as of \(.*\)$/\1/'`
rm -rf rasp-tmp
mkdir -p rasp-tmp
mkdir -p rasp-tmp/linux
wget$REV/extra/git_hash -O rasp-tmp/git_hash
wget$REV/extra/Module.symvers -O rasp-tmp/Module.symvers