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
| #!/bin/bash | |
| # | |
| # Script to install and run Neo4j on Linux. | |
| # ./neo4j-snomed.sh | |
| # | |
| # | |
| NEO4J_VER=3.3.3 | |
| echo "WARN: USING NEO4J VERSION $NEO4J_VER" | |
| echo "WARN: USING THE DIRECTORY /dev FOR STORAGE. REPLACE IF NECESSARY." |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Usage: ./simple.py arg1 arg2 | |
| # Note: to make this script executable: sudo chmod +x simple.py | |
| # Indent: two spaces. | |
| import sys | |
| import time |
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
| #!/bin/bash | |
| #============================================================================== | |
| # | |
| # FILE: script.sh | |
| # | |
| # USAGE: ./script.sh -a <arg1> [-b <arg2>] | |
| # | |
| # DESCRIPTION: This is a bash script template that takes one required | |
| # argument and one optional argument. | |
| # |
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
| one | |
| two two | |
| three three three | |
| four four four four | |
| five five five five five | |
| six six six six six six | |
| seven seven seven seven seven seven seven | |
| eight eight eight eight eight eight eight eight | |
| nine nine nine nine nine nine nine nine nine | |
| ten ten ten ten ten ten ten ten ten ten |
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
| // Ref: https://github.com/databricks/learning-spark/blob/master/mini-complete-example/src/main/java/com/oreilly/learningsparkexamples/mini/java/WordCount.java | |
| // Edited by: Anas Katib | |
| // Last updated: Aug. 23, 2017 | |
| package com.company.anask; | |
| import org.apache.log4j.Logger; | |
| import org.apache.log4j.Level; | |
| import org.apache.spark.SparkConf; |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Anas Katib | |
| # May 19, 2017 | |
| # | |
| # Usage: ./script-sample.py -h | |
| import argparse | |
| import sys |