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
# SPRING PROJECTS DEPENDENCY LIST (MAVEN) XML BASED CONFIGURATION | |
## Table of Contents | |
- SPRING CONTEXT | |
- SPRING CORE | |
- SPRING WEB | |
- SPRING WEBMVC | |
- SPRING JDBC | |
- JAVAX SERVLETS |
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
sudo -H python3.6 - m pip install virtualenv | |
sudo -H python3.6 -m virtualenv -p /usr/bin/python3.6 venv |
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
# Done using Twitter API search hourly implementation. | |
import RPi.GPIO as GPIO | |
import datetime,requests | |
from google.cloud import firestore | |
from TwitterAPI import TwitterAPI | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
from time import sleep |
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
# Done using Twitter API search hourly implementation. | |
import datetime | |
from google.cloud import firestore | |
from TwitterAPI import TwitterAPI | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
from time import sleep | |
#Global variables |
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 twitter | |
api = twitter.Api(consumer_key='FILL-ME-IN', | |
consumer_secret='FILL-ME-IN', | |
access_token_key='FILL-ME-IN', | |
access_token_secret='FILL-ME-IN') | |
print(api.VerifyCredentials()) | |
search = api.GetSearch("happy") # Replace happy with your search |
NewerOlder