Skip to content

Instantly share code, notes, and snippets.

View RahulJyala7's full-sized avatar
🎯
Focusing

Rahul Jyala RahulJyala7

🎯
Focusing
View GitHub Profile
@RahulJyala7
RahulJyala7 / Protobuff Custom Formatter C#
Last active March 29, 2019 07:06
Protobuff Custom Formatter in Web Api C#
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");
@RahulJyala7
RahulJyala7 / split-json.js
Created March 22, 2019 19:36 — forked from tlync/split-json.js
Split large json file
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) {
@RahulJyala7
RahulJyala7 / Good Reading Source
Created March 22, 2019 04:24
Good Reading Source
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
@RahulJyala7
RahulJyala7 / install virtualenv ubuntu 16.04.md
Last active March 18, 2019 05:37 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@RahulJyala7
RahulJyala7 / npm-commands.md
Created March 7, 2019 04:20 — forked from ankurk91/npm-commands.md
Useful npm commands and tricks

npm v3.10 - ◾

⚠️ This gist is outdated, but most of the commands are still relevant.

Update npm itself

npm install -g npm
# Downgrade to a specific version
npm install -g npm@2
@RahulJyala7
RahulJyala7 / Cassandra Client expose to local server
Last active March 29, 2019 07:07
Cassandra Client expose to local server
#just local expose
rpc_address = your_server_IP ( it's on localhost)
rpc_start = true ( he is on false)