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 bash | |
shopt -s extglob | |
shopt -s dotglob | |
repos="HMRC-RTS-Small-area HMRC_RTS HMRC_OTS_CN8 HMRC_Trade ONS-FDI-inward-and-outward ONS-International-Trade-in-Services ONS-REUK-Service ONS-Trade-in-goods ONS-UK-SA-Trade-in-goods ONS-UK-Total-trade ONS-UK-trade-in-goods-by-industry-country-and-commodity ONS-UK-trade-in-services ONS_ABS ONS_BoP ONS_BoP_individual-country-data ONS_CPA" | |
#repos="ONS_PinkBook ONS_MRETS" | |
[email protected]:GSS-Cogs |
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
import requests | |
import functools | |
import os | |
from io import BytesIO | |
class Resp(BytesIO): | |
def __init__(self, stream, status=200, headers=None): | |
self.status = status | |
self.headers = headers or {} |
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 python3 | |
import json | |
import requests | |
from urllib.parse import urljoin | |
import re | |
import pprint | |
from collections import defaultdict | |
import csv | |
import codecs |
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/python | |
import cgi | |
from urllib2 import urlopen | |
from ConfigParser import ConfigParser | |
from StringIO import StringIO | |
form = cgi.FieldStorage() | |
stations = { | |
'radio1': '57286085', |
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
#!/bin/sh | |
exec scala -savecompiled "$0" "$@" | |
!# | |
/* | |
* Search Sonatype's Maven repository for artifacts matching *.jar | |
* files under a given directory, based on their SHA1 sum. | |
* | |
*/ |