Skip to content

Instantly share code, notes, and snippets.

Ramdajs ❤️

Rory Hart hartror

Ramdajs ❤️
Block or report user

Report or block hartror

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hartror /
Created Mar 4, 2018
A minimal translation of the awsume bash file for the fish shell.
#!/usr/bin/env fish
function awsume
set AWSUME (string split " " (awsumepy))
if test $AWSUME_FLAG = "usage:"
awsumepy -h
hartror /
Created Sep 23, 2017
AWS API Gateway Custom Authorizer PEP8'd
Copyright 2015-2016, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use
this file except in compliance with the License. A copy of the License is
located at
or in the "license" file accompanying this file. This file is distributed on an

Keybase proof

I hereby claim:

  • I am hartror on github.
  • I am hartror ( on keybase.
  • I have a public key ASC6o-FCmwOCM1oXR6qpEkLt-OQQ82-4LTyXn9h-L0mojwo

To claim this, I am signing this object:

hartror /
Last active Dec 11, 2018
Rory's Reading List
View gist:21b26533dea3e5c89c23
.given("something exists")
.upon_receiving("a request for something")
.with_request(method="get", path="/something")
headers={'Content=Type': 'application/json'},
body={'name': 'A small something'}))
hartror /
Created Dec 23, 2014
Finding safe ways to limit a forked proccess's memory in Python.
#!/usr/bin/env python
import os
import psutil
import resource
import subprocess
import sys
import time
View gist:5beea8e46c7b5283a37d
import pytest
import pypact
# 1. Start with your model
class Something(object):
def __init__(self, name): = name
You can’t perform that action at this time.