Skip to content

Instantly share code, notes, and snippets.

View sanjeed5's full-sized avatar

Sanjeed sanjeed5

View GitHub Profile
// ==UserScript==
// @name Mangasee123 Fast Scroll
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Simulate Option + Down arrow when I just press down arrow on mangasee123.com with smooth scrolling.
// @author You
// @match https://mangasee123.com/*
// @grant none
// ==/UserScript==
@sanjeed5
sanjeed5 / netaccess.py
Last active August 31, 2021 01:17 — forked from cooliscool/netaccess.py
Approve Netaccess automatically ( for IIT Madras ).
#!/usr/bin/env python
import requests
import sys
import getpass
username = input('Enter username: ')
pa = str(getpass.getpass(prompt='Enter password: '))
with requests.session() as s:
try:
page = s.post('https://netaccess.iitm.ac.in/account/login' , data={ 'userLogin':username, 'userPassword':pa, 'submit':''}, verify=False)
@sanjeed5
sanjeed5 / download_kaggle_to_collab
Last active August 16, 2021 08:19
How to download competition dataset from Kaggle to Google Collab easily and unzip
# Copy paste this gist in a Google Collab cell
# Go to your Kaggle competition page -> data, scroll below to see the kaggle api command which looks similar to below line
# !kaggle competitions download -c competitive-data-science-predict-future-sales -p data
# Replace that line accordingly in the below code
# Run the cell
!pip install kaggle
from google.colab import files
files.upload()