#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9
After installing run the following command to compile
/usr/bin/g++-4.9 -std=c++11 lambda.cpp
#Running
./a.out
| <link rel="import" href="../core-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-field/core-field.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> | |
| <link rel="import" href="../core-input/core-input.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> |
| #!/usr/bin/env ruby | |
| # | |
| # Convert blogger (blogspot) posts to jekyll posts | |
| # | |
| # Basic Usage | |
| # ----------- | |
| # | |
| # ./blogger_to_jekyll.rb feed_url | |
| # | |
| # where `feed_url` can have the following format: |
| > sbt compile | |
| Detected sbt version 0.13.5 | |
| [info] Loading project definition from /tmp/macroid-starter/project | |
| [info] Set current project to macroid-starter (in build file:/tmp/macroid-starter/) | |
| [info] Generating R.java | |
| [info] Compiling 1 Scala source and 1 Java source to /tmp/macroid-starter/target/android-bin/classes... | |
| [error] /tmp/macroid-starter/src/main/scala/com/example/macroid/starter/MainActivity.scala:13: object R is not a member of package com.example.macroid.starter | |
| [error] import com.example.macroid.starter.R | |
| [error] ^ | |
| [error] one error found |
#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9
After installing run the following command to compile
/usr/bin/g++-4.9 -std=c++11 lambda.cpp
#Running
./a.out
Install following softwares on your machine.
| val sparkConf = new SparkConf().setMaster("local").setAppName("text") | |
| val sc = new SparkContext(sparkConf) | |
| val hadoopConf = sc.hadoopConfiguration | |
| //set the aws secret information | |
| hadoopConf.set("fs.s3.impl", "org.apache.hadoop.fs.s3native.NativeS3FileSystem") | |
| hadoopConf.set("fs.s3n.awsAccessKeyId","youraccesskeyid") | |
| hadoopConf.set("fs.s3n.awsSecretAccessKey","secretkey") | |