This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'existing': 'Y', 'udf': '24X4X3', 'max': 4, 'select': 'T'}, {'min': 2, 'trait': 6200, 'rank': 20, 'exis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imports | |
import numpy as np | |
import cv2 | |
import matplotlib.pyplot as plt | |
# The Hough Transform is a popular algorithm for detecting any shape that can | |
# be represented in a parametric mathmatical form in binary images. This | |
# usually means that images need to be thresholded or filtered prior to running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imports | |
import numpy as np | |
import cv2 | |
import matplotlib.pyplot as plt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import requests | |
import re | |
import urllib2 | |
import os | |
import cookielib | |
import json | |
def get_soup(url,header): | |
return BeautifulSoup(urllib2.urlopen(urllib2.Request(url,headers=header)),"html.parser") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def my (a , b ): | |
#function declaration a , b parameters hai | |
#question mein my(12,'abc123') likha hai toh a mein 12 jayega aur b= 'abc123' | |
ans =0 | |
for i in b: | |
#agar i digit hai . if( ord(i)>=ord('0') and ord(i)<=ord('9')) iske jagah yeh bhi likh skta hai // | |
if(i.isdigit()): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def factorial (n ): | |
if n<= 1 : | |
return 1 | |
fact = 1 | |
for i in range(1,n+1): | |
fact = fact*i | |
return fact |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: ashiyan | |
# Purpose: | |
# | |
# Author: rishabh | |
# | |
# Created: 17/08/2015 | |
# Copyright: (c) hp 2015 | |
# Licence: <your licence> | |
#------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: Way2sms | |
# Purpose: send sms way2sms # | |
# Author: Rishabh Roy | |
# | |
# Created: 09/08/2015 | |
# Copyright: (c) Rishabh 2015 | |
# Licence: <GPL> | |
#------------------------------------------------------------------------------- | |
import urllib2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<algorithm> | |
#include<vector> | |
#include<stdio.h> | |
using namespace std ; | |
long long mergeSort(vector<int> &v) { | |
if (v.size() <= 1) { | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import time | |
import requests | |
from PIL import Image | |
from StringIO import StringIO | |
import socket | |
from requests.exceptions import ConnectionError | |
import urllib2 |
NewerOlder