Skip to content

Instantly share code, notes, and snippets.

View austinkelleher's full-sized avatar
🚀
I have no idea what I'm doing

Austin Kelleher austinkelleher

🚀
I have no idea what I'm doing
View GitHub Profile
@austinkelleher
austinkelleher / config.yaml
Created March 14, 2022 12:59
Starbase GitHub Example Config
integrations:
-
name: graph-github
instanceId: my-starbase-github-integration
directory: ./.starbase/.integrations/graph-github
gitRemoteUrl: https://github.com/JupiterOne/graph-github.git
config:
GITHUB_APP_ID: '123'
GITHUB_APP_LOCAL_PRIVATE_KEY_PATH: /Users/me/Downloads/mykey.private-key.pem
INSTALLATION_ID: '456'

Keybase proof

I hereby claim:

  • I am austinkelleher on github.
  • I am austinkelleher (https://keybase.io/austinkelleher) on keybase.
  • I have a public key ASDQJUb1zLhBsVushtIQlezlTGtdAITU5vfxs5bynerYnwo To claim this, I am signing this object:
{
  "body": {
    "key": {
import urllib2
req = urllib2.Request('http://localhost:8000/account')
req.add_header("X-Auth-Token", "")
resp = urllib2.urlopen(req)
content = resp.read()
print content
@austinkelleher
austinkelleher / isIdenticalImage.py
Created September 11, 2014 17:57
Python function to compare the bytes from two images to see if they're identical.
__author__ = "Austin Kelleher"
__email__ = "a@alk.im"
def isIdenticalImage(a, b):
"""
Returns true if an image, a, is completely identical
to an image, b, by comparing the bytes from each image.
a, and b, are the respected string paths to the images.
r+b is used so that this is functional on Windows/UNIX