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
# Script to generate a co-occurring tag graph from news articles via Guardian Platform API | |
# This is a quick hack script - just get things done... Needs refactoring/tidying... | |
import simplejson,urllib,csv,sys | |
from itertools import combinations | |
# A Guardian Platfrom API key will be required... | |
APIKEY='' | |
# accept a search phrase; this will be quoted in the actual search... |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |