Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2
# Author: Chris Dellin <cdellin@gmail.com>
# Date: 2016-09-14
# Updated: Robert Freeman-Day <PresGas@gmail.com>
# Removed extra url bits as per https://github.com/tdryer/hangups/issues/260#issuecomment-247512300
# Script to scrape a working OAuth code from Google
# using the approach from dequis
# for use with hangups, purple-hangouts, etc.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am presgas on github.
  • I am robertfreemanday (https://keybase.io/robertfreemanday) on keybase.
  • I have a public key whose fingerprint is 9F99 D02F D763 113F B02F 8731 202F C764 EBD1 6659

To claim this, I am signing this object:

@PresGas
PresGas / nfsn.api.sh
Created September 24, 2021 00:35 — forked from nmschulte/nfsn.api.sh
NearlyFreeSpeech.NET API request "library", in pure shell (requires sha1sum and curl)
#!/usr/bin/env sh
# Copyright (c) 2015 Nathan Schulte
# set LOGIN and API_KEY below --
# see bottom for example use, in this case, checking and updating the default DNS A RR for a domain
# 0: request URI, e.g. '/dns/example.com/listRRs'
# 1..n: parameters
make_request () {
LOGIN=''