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
/* | |
* This build file was auto generated by running the Gradle 'init' task | |
* by 'grachro' at '16/03/21 21:13' with Gradle 2.9 | |
* | |
* This generated file contains a sample Java project to get you started. | |
* For more details take a look at the Java Quickstart chapter in the Gradle | |
* user guide available at https://docs.gradle.org/2.9/userguide/tutorial_java_projects.html | |
*/ | |
// Apply the java plugin to add support for Java |
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 pandas as pd | |
tokyo = pd.DataFrame(data={'year':['2013','2014','2015'], | |
'cnt':[10,15,20], | |
'price':[100,100,90],}, | |
columns=['year','cnt','price']) | |
osaka = pd.DataFrame(data={'year':['2013','2014','2015'], | |
'cnt':[5,6,7], | |
'price':[100,100,100],}, |
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 org.apache.commons.lang3.StringUtils; | |
StringUtils.join(new String[]{"a","b","c"},",") |
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
git clone https://github.com/taku910/mecab.git | |
cd mecab/mecab | |
./configure --enable-utf8-only | |
make | |
make check | |
sudo make install |
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 org.wasabi.app.AppServer | |
fun main(args:Array<String>) { | |
var server = AppServer() | |
server.get("/", { | |
response.send("Hello, world!\nand Kotlin 1.0 Released!") | |
}) | |
server.start() | |
} |