This file contains 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 os | |
import re | |
from PyPDF2 import PdfFileMerger | |
loc = r"C:\Users\Bhanuraja\Downloads\Compressed\java" | |
merger = PdfFileMerger() | |
# get the list of all files in the specified directory | |
a = os.listdir(loc) | |
b = [] | |
for a in os.listdir(loc): | |
if a.endswith('.pdf')&(a!='output.pdf'): |
This file contains 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 requests | |
import time | |
# from quickstart import start,create_message,send_message | |
# service = start() | |
# message = create_message('me','[email protected]','chegg','Found question') | |
data = {'clientId':'CHGG','email':'[email protected]','password':'Trivial!123'} | |
url = 'https://www.chegg.com/auth/_ajax/auth/v1/login?clientId=CHGG' | |
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36', | |
'Host':'www.chegg.com', | |
'DNT':'1'} |
This file contains 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
package com.example.myapp; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.os.AsyncTask; | |
import android.os.CountDownTimer; | |
import android.os.StrictMode; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; |