Skip to content

Instantly share code, notes, and snippets.

Tom Dickinson tomkdickinson

Block or report user

Report or block tomkdickinson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a40138f71ab4ec3e062446c580ba373d
rate_delay_seconds = 0
error_delay_seconds = 5
threads = 5
select_tweets_since = datetime.datetime.strptime("2017-04-01", '%Y-%m-%d')
select_tweets_until = datetime.datetime.strptime("2017-04-30", '%Y-%m-%d')
twitSlice = TwitterSlicer(rate_delay_seconds, error_delay_seconds, select_tweets_since, select_tweets_until,
threads)
@tomkdickinson
tomkdickinson / instagram_followers.py
Created Jan 5, 2017
Followers Extraction Instagram
View instagram_followers.py
import json
import requests
import logging as log
log.basicConfig(level=log.DEBUG)
class FollowerExtractor():
"""
Extracts followers for a given profile
"""
@tomkdickinson
tomkdickinson / stardog-spring-install
Created Jan 21, 2014
Download and install Stardog for Spring as a maven archetype
View stardog-spring-install
#!/bin/sh
wget https://github.com/clarkparsia/stardog-spring/releases/download/v2.0.0/stardog-spring-2.0.0.jar
mvn install:install-file -Dfile=stardog-spring-2.0.0.jar -DgroupId=com.complexible.stardog -DartifactId=stardog-spring -Dversion=2.0.0 -Dpackaging=jar
You can’t perform that action at this time.