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
Verifying that +impshum is my blockchain ID. https://onename.com/impshum |
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^www\.(.*) | |
RewriteRule ^.*$ https://%1/$1 [R=301,L] | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | |
#Gzip | |
<ifmodule mod_deflate.c> | |
<ifmodule mod_mime.c> |
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
<?php | |
# Requires J7mbo's API stuff: https://github.com/J7mbo/twitter-api-php | |
# REPORT ERRORS | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
# REPORT ERRORS | |
# Set timezone |
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
from pymongo import MongoClient | |
try: | |
client = MongoClient('localhost') | |
db = client.searchfollow | |
except: | |
print("Could not connect to MongoDB") | |
call = db.command("dbstats") |
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
consumer_key = 'xxxx' | |
consumer_secret = 'xxxx' | |
access_key = 'xxxx-xxxx' | |
access_secret = 'xxxx' | |
client_id = 'xxxx' | |
client_secret = 'xxxx' | |
user_agent = 'New image posts from Reddit to twiiter (by /u/impshum)' | |
subreddits = ['comics', 'xxxx', 'xxxx'] |
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
from InstagramAPI import InstagramAPI | |
instauser = '' | |
instapass= '' | |
igapi = InstagramAPI(instauser, instapass) | |
igapi.login() | |
info = igapi.getSelfUsernameInfo() | |
woop = igapi.LastJson |
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
# pip3 install tweepy markovify text_cleaner | |
# Create the 5 text files mentioned below | |
# Run - python3 run.py | |
import markovify | |
import tweepy | |
from text_cleaner import keep | |
from text_cleaner.processor.common import ASCII | |
from text_cleaner.processor.misc import URL, ESCAPED_WHITESPACE | |
import re |
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
consumer_key = 'XXXX' | |
consumer_secret = 'XXXX' | |
access_key = 'XXXX-XXXX' | |
access_secret = 'XXXX' | |
timer = 30 | |
message = 'It works!' | |
picture = 'path/to/picture.jpg' |
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 time | |
import tweepy | |
import json | |
import sys | |
from halo import Halo | |
target_tag = '#wood' | |
consumer_key = 'XXXX' | |
consumer_secret = 'XXXX' |
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 webview | |
webview.create_window('Windows Update', url='http://fakeupdate.net/win10/', resizable=True, fullscreen=True, confirm_quit=True) |
OlderNewer