Instantly share code, notes, and snippets.

View WordCount.scala
/* SimpleApp.scala */
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
object WordCountApp {
def main(args: Array[String]) {
val conf = new SparkConf().setAppName("WordCount Application")
val sc = new SparkContext(conf)
val textFile = sc.textFile("file:///mnt/Data/textfile.txt")
View GitOnSynology.md
title author date output
Setting up git on local Synology
Mourad Veeneman
November 3, 2018
html_document

Git on local Synology

This is how I set up my private repository on my own Synology drive.

View NVIDIA.md
title author date output
Installing the latest versions of NVIDIA CUDA 9.1, OpenCV 3.4 and TensorFlow 1.8 on Ubuntu 18.04 LTS
Mourad Veeneman
July 23, 2018
html_document

Installing the latest versions of NVIDIA CUDA 9.1, OpenCV 3.4 and TensorFlow 1.8 on Ubuntu 18.04 LTS

Installing CUDA from the NVIDIA repository is not advisable if you want the latest versions of OpenCV and TensorFlow all to work together seamlesly.

View README.md
title author date output
Install for Cuda 10.0 Tensorflow on Ubuntu 18.04
Mourad Veeneman
November 26, 2018
html_document

Install for Cuda 10.0 Tensorflow on Ubuntu 18.04

This will show you how to install tensorflow with NVIDIA's Cuda 10.0 GPU environment on Ubuntu 18.04.