(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
| #just local expose | |
| rpc_address = your_server_IP ( it's on localhost) | |
| rpc_start = true ( he is on false) |
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
npm install -g npm
# Downgrade to a specific version
npm install -g npm@2
| https://github.com/akshaybahadur21 | |
| https://github.com/mateuszjurewicz | |
| https://github.com/rinormaloku | |
| https://github.com/NirantK | |
| http://nirantk.com/nlp-python-deep-learning/ | |
| https://github.com/r0b1n1sl4m/react-redux-firebase-todo | |
| https://zety.com/ | |
| https://zety.com/resume-templates#1 |
| if(process.argv.length < 3){ | |
| console.log('target file path is required.') | |
| process.exit(1) | |
| } | |
| var target = process.argv[2] | |
| console.log('file: ' + target) | |
| var fs = require('fs') | |
| fs.readFile(target, function (err, data) { |
| byte[] rawBytes = ProtoBufSerializer.ProtoSerialize<LoginRequest>(loginRequest); | |
| var client = new HttpClient(); | |
| client.BaseAddress = new Uri("http://localhost/"); | |
| client.DefaultRequestHeaders.Accept.Add( | |
| new MediaTypeWithQualityHeaderValue("application/x-protobuf")); | |
| var byteArrayContent = new ByteArrayContent(rawBytes); | |
| byteArrayContent.Headers.ContentType = new MediaTypeHeaderValue("application/x-protobuf"); |
| C:\Users\Rahul Jyala\AppData\Roaming\npm | |
| set env varibale and update PATH to this |
| from pyspark.sql import SparkSession | |
| from pymongo import MongoClient | |
| client = MongoClient('mongodb://localhost:27017/') | |
| def sparkdataframe(file): | |
| spark = SparkSession \ | |
| .builder \ | |
| .appName("yelp") \ | |
| .config("spark.some.config.option", "some-value") \ |
| docker run -p 8888:8888 -v ${PWD}:/home/jovyan/ jupyter/pyspark-notebook | |
| docker run -p 8888:8888 -v D:\Yelp\yelp_dataset:/home/jovyan/ jupyter/pyspark-notebook |