See https://github.com/sbt/sbt/wiki/sbt-1.x-plugin-migration for the list with sbt 1.x migration status.
| plugin | star |
|---|---|
| playframework/playframework | 9597 |
| scala-js/scala-js | 3053 |
| sbt/sbt-assembly | 1092 |
| mpeltonen/sbt-idea | 1085 |
| #!/usr/bin/env bash | |
| function get_headphones_index() { | |
| echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}') | |
| } | |
| function get_headphones_mac_address() { | |
| local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3) | |
| temp="${temp%\"}" | |
| temp="${temp#\"}" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="de.mobilej.overlay" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <uses-sdk android:minSdkVersion="14" /> | |
| <application android:label="SystemOverlay" > | |
| <activity |
See https://github.com/sbt/sbt/wiki/sbt-1.x-plugin-migration for the list with sbt 1.x migration status.
| plugin | star |
|---|---|
| playframework/playframework | 9597 |
| scala-js/scala-js | 3053 |
| sbt/sbt-assembly | 1092 |
| mpeltonen/sbt-idea | 1085 |
| class BaseCtrl | |
| constructor: -> | |
| console.log("All your base are belong to us!") | |
| toJson: (item) -> | |
| JSON.stringify(item) | |
| class TodoCtrl extends BaseCtrl | |
| constructor: (@$scope) -> | |
| super |
| class TodoCtrl | |
| constructor: ($scope) -> | |
| $scope.todos = [ | |
| text: "learn angular" | |
| done: true | |
| , | |
| text: "build an angular app" | |
| done: false | |
| ] |
| TodoCtrl = ($scope) -> | |
| $scope.todos = [ | |
| text: "learn angular" | |
| done: true | |
| , | |
| text: "build an angular app" | |
| done: false | |
| ] | |
| $scope.addTodo = -> |
| TodoCtrl = ($scope) -> | |
| $scope.todos = [ | |
| text: "learn angular" | |
| done: true | |
| , | |
| text: "build an angular app" | |
| done: false | |
| ] | |
| $scope.addTodo = -> |
| .done-true { | |
| text-decoration: line-through; | |
| color: grey; | |
| } |
| # Original source at: http://angularjs.org/#todo-js | |
| window.TodoCtrl = ($scope) -> | |
| $scope.todos = [ | |
| {text: 'learn angular', done: true}, | |
| {text: 'build an angular app', done: false} | |
| ] | |
| $scope.addTodo = -> |
| // Make our app module, its easier to do this in raw javascript | |
| // and then put the rest of our app content (controllers etc) | |
| // in their own coffeescript files. | |
| // | |
| // Your ng-app should include this module name, eg: <html ng-app="TodoApp"> | |
| angular.module('TodoApp', []); |