Skip to content

Instantly share code, notes, and snippets.

View manrajgrover's full-sized avatar
🐢
Expect slow responses

Manraj Singh manrajgrover

🐢
Expect slow responses
View GitHub Profile
@manrajgrover
manrajgrover / Selenium_Python_Fb_Wall_Poster
Created January 30, 2015 12:59
Selenium script to log in to Facebook and post on wall
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from time import sleep
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support.ui import Select
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
from selenium.common.exceptions import NoSuchElementException
@manrajgrover
manrajgrover / autofriendselector
Created February 1, 2015 17:49
Facebook Invite Auto Friend Selector
var a=document.getElementsByClassName("_1v32 _1v34");for(var i=0;i<a.length;i++){a[i].click();}
@manrajgrover
manrajgrover / The Technical Interview Cheat Sheet.md
Created February 6, 2016 05:35 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@manrajgrover
manrajgrover / CSS-Styleguide.md
Last active April 6, 2016 12:35 — forked from CuriousLearner/CSS-Styleguide.md
CSS guidelines for mozpacers repositories

This page outlines the style guide for CSS stylesheets in all Mozpacers' projects.

CSSComb

In general, all Mozpacers' repositories has a .csscomb.json file with the configuration as follows:

{
    "remove-empty-rulesets": true,
 "always-semicolon": true,
@manrajgrover
manrajgrover / introrx.md
Created April 1, 2017 13:58 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
# List unique values in a DataFrame column
pd.unique(df.column_name.ravel())
# Convert Series datatype to numeric, getting rid of any non-numeric values
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True)
# Grab DataFrame rows where column has certain values
valuelist = ['value1', 'value2', 'value3']
df = df[df.column.isin(valuelist)]
@manrajgrover
manrajgrover / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 17:43
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - [email protected]
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
@manrajgrover
manrajgrover / TDA_resources.md
Created December 5, 2017 10:23 — forked from calstad/TDA_resources.md
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets