Skip to content

Instantly share code, notes, and snippets.

View deifos's full-sized avatar

Vlad deifos

  • Montreal
View GitHub Profile
@deifos
deifos / .py
Last active February 1, 2023 14:53
Take pictures from a folder that has pictures and txt files with the same name holding the ALT text, tweet one picture every 60 minutes and moving the photo and .txt file to another folder
import os
import tweepy
import time
#setting up twitter API authentication
consumer_key = 'xxx'
consumer_secret = 'xxx'
access_token = 'xxx'
access_token_secret = 'xxx'
@deifos
deifos / command line
Last active April 28, 2020 11:09
Invalid Host Header when using ngrok
ngrok http port# -host-header="localhost:port#"