ハンズオン中はごめんなさいをするしかなかったのですが、 Skinny Framework 1.0.6 から使えるようになりました!
$ ./skinny debug [port]
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "VPC knowhow template", | |
"Parameters": { | |
"KeyName": { | |
"Description": "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type": "String", | |
"MinLength": "1", | |
"MaxLength": "64", | |
"AllowedPattern": "[-_ a-zA-Z0-9]*", |
'use strict'; | |
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev | |
var gulp = require('gulp'), | |
clean = require('gulp-clean'), | |
cleanhtml = require('gulp-cleanhtml'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
stripdebug = require('gulp-strip-debug'), |
val printUpdatedAllModules = TaskKey[Unit]("printUpdatedAllModules") | |
printUpdatedAllModules := { | |
update.value.allModules foreach println | |
} | |
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.2.2" |
import scala.concurrent._ | |
import ExecutionContext.Implicits.global | |
import android.util.Log | |
import android.widget.TextView | |
class UIDemoActivity extends Activity { | |
override def onCreate(bundle: Bundle) { | |
super.onCreate(bundle) | |
val tv = new TextView(this) |
import sbt._ | |
import Keys._ | |
import java.net._ | |
import java.io.File | |
import play.PlayRunHook | |
/* | |
Grunt runner should be in project directory to be picked up by sbt | |
*/ | |
object Grunt { |
package main | |
import ( | |
"bufio" | |
"errors" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"net/url" |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
All you need to do is, | |
In your SBT Dependencies add, | |
"de.neuland" % "jade4j" % "0.3.11" from "https://raw.github.com/neuland/jade4j/master/releases/de/neuland/jade4j/0.3.11/jade4j-0.3.11.jar", | |
"com.googlecode.concurrentlinkedhashmap" % "concurrentlinkedhashmap-lru" % "1.3.1", | |
"org.apache.commons" % "commons-jexl" % "2.1.1" | |
You need apache libs as Jade4J uses them internally, |