This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html.App | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
-- This should be inside a Item.elm file, declaring it's own module | |
type alias ModelItem = String | |
type MsgItem = CloseItem | |
viewItem: ModelItem -> Html MsgItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future.sequence(futures).map(results => { | |
val jsonIssues:List[Issue] = results.map(result => { | |
play.Logger.debug(result.json.toString()) | |
result.json.validate[Issue] match { | |
case s: JsSuccess[Issue] => Some(s.get) | |
case e: JsError => { | |
Logger.debug("Errors: " + JsError.toFlatJson(e).toString()) | |
None |
- API 1.1.5
- Developer guide (no version)
- Angular YouTube channel
- Angular on Google+
- Angular UI (a must have in all Angular projects)
- Smart tables
- Restangular (using $resource the REST way)
- Very nice blog about Angular
If I should pick only one framework for all my projects, both prototyping and production, I would go with either Bootstrap or Foundation and then improve them depending on my needs, eventually by using nice ideas from other frameworks. Since I'm a LESS user, I will probably go with Bootstrap, but if Foundation would have been build with LESS too, I would have been in deep s****.
- Bootstrap: http://twitter.github.com/bootstrap (in version 3.0)
- Foundation: http://foundation.zurb.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import play.api._ | |
import play.api.mvc._ | |
object Application extends Controller { | |
def main(any: String) = Action { | |
Ok(views.html.templates.main()) | |
} |
Following : http://www.datastax.com/docs/1.1/install/install_rpm
Prerequisites:
$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.3.fc17.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
$ python -V
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profiles> | |
<profile> | |
<id>jboss-public-repository</id> | |
<repositories> | |
<repository> | |
<id>jboss-public-repository-group</id> | |
<name>JBoss Public Repository Group</name> | |
<url>http://repository.jboss.org/nexus/content/groups/public/</url> | |
<layout>default</layout> | |
<releases> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; | |
import javax.faces.application.FacesMessage; | |
import javax.faces.application.FacesMessage.Severity; | |
import javax.faces.component.UIComponent; | |
import javax.faces.component.UIMessages; |
NewerOlder