- Fast growing library and ecosystem
- Runs on multiple platforms - officially android and ios
- Being brought to the web by twitter - https://github.com/necolas/react-native-web
- Runs on appletv - https://github.com/douglowder/react-native-appletv
- Maybe more - options grows as the community continues to expand
- Rich set of base components
- First class approach to setting up platform-specific components -
react-native link
- Great 3rd party tools
This file contains hidden or 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
;;; dot_emacs.el --- -*- lexical-binding: t; -*- | |
;;; Select emacs config file directory depending on emacs being run | |
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
;; (package-initialize) |
This file contains hidden or 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
object Main extends App { | |
AvoidLosingGenericType.run() | |
AvoidMatchingOnGenericTypeParams.run() | |
TypeableExample.run() | |
TypeTagExample.run() | |
} | |
class Funky[A, B](val foo: A, val bar: B) { | |
override def toString: String = s"Funky($foo, $bar)" | |
} |
This file contains hidden or 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
https://github.com/jlark/azurelinuxbackup/blob/master/backupAzure | |
http://www.cnblogs.com/hengwei/p/5189385.html | |
azure storage blob upload -a $storageAccountName --container $storageContainer -k $storageAccountKey $backupfile | |
azure storage file upload -a $storageAccountName --container $storageContainer -k $storageAccountKey $backupfile | |
This file contains hidden or 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
~/code/scratch1 sbt -sbt-create -scala-version 2.10.0 'set libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.0-M7"' 'console' | |
Detected sbt version 0.12.2-RC2 | |
Using /Users/jason/.sbt/0.12.2-RC2 as sbt dir, -sbt-dir to override. | |
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/) | |
[info] Defining */*:log-level | |
[info] The new value will be used by no settings or tasks. | |
[info] Reapplying settings... | |
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/) | |
[info] Defining {.}/*:scala-version | |
[info] The new value will be used by no settings or tasks. |
I'm using this Vagrantfile
to run Kafka on a Windows 8.1 laptop for development purposes.
It runs the ultra-lightweight boot2docker Linux, then uses Vagrant's Docker provisioning support to spin up ZooKeeper and Kafka.
The fun bits to work out were:
- You need to forward the ports on both Vagrant (lines 13 & 14) and Docker (the
-p
flag), so you can access the instance from Windows usinglocalhost:9092
This file contains hidden or 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 com.github.clemp6r.azuregradle | |
import org.gradle.api.DefaultTask | |
import com.microsoft.azure.storage.*; | |
import com.microsoft.azure.storage.blob.* | |
import org.gradle.api.tasks.TaskAction; | |
class AzureStorageDeployTask extends DefaultTask { |
This file contains hidden or 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
I asked on twitter for online whiteboard solutions. These are some of the | |
ones that were suggested. There's a few that I managed to check out | |
quickly and got rid of the links without thinking that I might want | |
them for posterity. This is what I had left. Know of others? Please | |
add in comments. | |
http://smartkapp.com/en/products/kapp?gclid=CKWCvvi8hMgCFQuLaQodAU0KnQ | |
https://awwapp.com | |
https://realtimeboard.com | |
http://webwhiteboard.com/#/ |
This file contains hidden or 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 scalaz._ | |
import scalaz.syntax.monad._ | |
object Console { | |
import ConsoleOp._ | |
def println(text: String): Console[Unit] = Free.liftFC(Println(text)) | |
def readln: Console[String] = Free.liftFC(Readln()) | |
//cannot use FreeC, because type inference for implicits will diverge |