Skip to content

Instantly share code, notes, and snippets.

View navid-kalaei's full-sized avatar
💭
On my way to the perfection. would you join me?

Navid Kalaei navid-kalaei

💭
On my way to the perfection. would you join me?
View GitHub Profile
@navid-kalaei
navid-kalaei / openfairdb create entry.md
Last active March 16, 2020 14:26
OpenfaidDB Create Entry

In case dependencies are not install:

After installing dependencies

  1. git clone https://github.com/navid-kalaei/kartevonmorgen
  2. cd kartevonmorgen
  3. git checkout hotfix/v0.1.35
  4. yarn install
{
"title":"The Linux Command Line",
"subtitle":"A Complete Introduction",
"authors":[
"William E. Shotts, Jr."
],
"publisher":"No Starch Press",
"publishedDate":"2012",
"description":"You've experienced the shiny, point-and-click surface of your Linux computer—now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more. In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore. As you make your way through the book's short, easily-digestible chapters, you'll lea
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
val appName = "Fibonacci 1"
val conf = new SparkConf()
conf.setAppName(appName)
val sparkCxt = new SparkContext(conf)
var seed1:BigInt = 1
# download and install Anaconda
# NOTE: don't forget to add it to the path. You should check something while installing!
https://www.anaconda.com/download/
# verify the installation. It should print the conda version
conda --version
# download the merchant environment file
https://gist.github.com/navid-kalaei/0b56975b03faaad36f900c54f531c971
@navid-kalaei
navid-kalaei / environment.yml
Created January 1, 2019 17:14
conda env for merchants
name: data
channels:
- conda-forge
- defaults
dependencies:
- appdirs=1.4.3=py_1
- asn1crypto=0.24.0=py37_1003
- atomicwrites=1.2.1=py_0
- attrs=18.2.0=py_0
- automat=0.7.0=py_1
@navid-kalaei
navid-kalaei / gist:0c2d2129c9c3a190c48097e93c295f10
Created December 23, 2018 18:50
Spark Practices and Codes
_____ __ ____
/ ___/____ ____ ______/ /__ / __ )__ __
\__ \/ __ \/ __ `/ ___/ //_/ / __ / / / /
___/ / /_/ / /_/ / / / ,< / /_/ / /_/ /
/____/ .___/\__,_/_/ /_/|_| /_____/\__, /
/_/ /____/
______ __ __ __ ___
/ ____/___ _/ /____ ____ ___ ___ / /_ / /___ _____ ___ ____ _/ (_)
/ /_ / __ `/ __/ _ \/ __ `__ \/ _ \/ __ \ __ / / __ `/ __ `__ \/ __ `/ / /
/ __/ / /_/ / /_/ __/ / / / / / __/ / / / / /_/ / /_/ / / / / / / /_/ / / /