Skip to content

Instantly share code, notes, and snippets.

rahul bali thebali

Block or report user

Report or block thebali

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
@thebali
thebali / youtube-dl-download-pluralsight.md
Created Nov 25, 2017 — forked from munim/youtube-dl-download-pluralsight.md
youtube-dl to download pluralsight videos
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 \
@thebali
thebali / buyhouses_infosys.py
Last active Oct 7, 2017
buy houses infosys
View buyhouses_infosys.py
"""
input string
3 2#2 5 6
out:
15
3 3#2 5 6
@thebali
thebali / 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):
@thebali
thebali / 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.