Skip to content

Instantly share code, notes, and snippets.

View tomkdickinson's full-sized avatar

Tom Dickinson tomkdickinson

View GitHub Profile
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 January 5, 2017 20:19
Followers Extraction Instagram
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 January 21, 2014 13:40
Download and install Stardog for Spring as a maven archetype
#!/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