- Winter intern 2017 at Symantec Chennai
- Backend Software Developer with significant Python experience as main stack
- Loves automating things for the lazy
developershumans - Built Google PageSpeed Insights Extension which gets humble thousand downloads per month
- Built Semantic Search Engine on Wikipedia from the open source dumps provided by DBPedia
- Developed a better implementation of DuckDuckGo's Zero Click Info Goodies cheatsheet which is much more extensible and doesn't break on simple queries
- You can find all my online footprints and portfolio at my website
- Find my open source projects on Github or find me on Linkedin
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 pandas | |
import requests | |
from string import Template | |
GOODREADS_API_KEY = "" | |
EBOOKS_DIRECTORY = "/Users/varun.dey/Documents/Kindle" | |
RATINGS_JSON_FILE = "ratings.json" | |
RATINGS_EXCEL_FILE = "ratings.xlsx" |
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 <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
void solve() | |
{ | |
string s; |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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 memoize(f): | |
memo = {} | |
def helper(x): | |
if x not in memo: | |
memo[x] = f(x) | |
return memo[x] | |
return helper | |
@memoize | |
def fib(n): |
I hereby claim:
- I am varundey on github.
- I am varundey (https://keybase.io/varundey) on keybase.
- I have a public key ASCiQHGqH8_r9Qp8Om48zYLFjVeCYyhQRcO3i4o5WDj7ogo
To claim this, I am signing this object:
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
a = map(int, raw_input().split()) | |
def rearrange(li): | |
val = len(li)-1 | |
for i in range(len(li)): | |
if li[i]>0 and i<mid: | |
while True: | |
if li[val]<0: | |
li[i], li[val] = li[val], li[i] | |
break |
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
n=input() | |
arr=[] | |
while n!=0: | |
n-=1 | |
arr.append(input()) | |
m=input() | |
while m!=0: | |
m-=1 | |
arr.append(input()) | |
for i in sorted(arr): |
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 flask import Flask, render_template | |
from flask.ext.security import SQLAlchemyUserDatastore, Security | |
from flask.ext.sqlalchemy import SQLAlchemy | |
from flask.ext.bootstrap import Bootstrap | |
from flask_mail import Mail | |
from flask.ext.security import UserMixin, RoleMixin | |
app = Flask(__name__) |
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 <stdio.h> | |
#include <math.h> | |
void val(long long int k, long long int coeff[], long long int deg){ | |
long long int ans=0,p; | |
for(int i=0;i<=deg;i++){ | |
double ow = pow(k,i); | |
p = (int)ow; | |
ans+=coeff[i]*p; | |
printf("%lld",ans); |
NewerOlder