Skip to content

Instantly share code, notes, and snippets.

Rahul Bali rahul-bali

  • New Delhi, India
Block or report user

Report or block rahul-bali

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View youtube-dl-download-pluralsight.md

Download Plural Sight videos

Software required:

youtube-dl

After installation and putting the youtube-dl in PATH

youtube-dl \
View buyhouses_infosys.py
"""
input string
3 2#2 5 6
out:
15
3 3#2 5 6
@rahul-bali
rahul-bali / thebali-bayes-iris.py
Created Jun 4, 2017
bayes classifier on iris dataset
View thebali-bayes-iris.py
from sklearn.naive_bayes import GaussianNB
import numpy as np
import pandas as pd
from csv import reader
filename = 'iris.data'
# url = "https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data"
# for row in reader(open(filename)):
View ROT7 solver.py
__author__ = 'Rahul Bali'
import string
from itertools import cycle
a = input()
i = 0
rot7=""
b = list(string.ascii_lowercase)
while i < len(a):
@rahul-bali
rahul-bali / ROT-7.py
Last active Nov 21, 2015
Rot 7 program in pyhton
View ROT-7.py
__author__ = 'Rahul Bali'
import string
from itertools import cycle
a = input()
i = 0
rot7=""
b = list(string.ascii_lowercase)
while i < len(a):
You can’t perform that action at this time.