Skip to content

Instantly share code, notes, and snippets.

View meowterspace's full-sized avatar
😺

Cathryn Dunicliff meowterspace

😺
View GitHub Profile

Hi there!

👩‍💻 I'm Cat, a motivated and driven backend developer working primarily in serveless Python microservices and REST APIs.

I have an interest in accelerator physics and I'm building a Atom Probe Tomograph in my spare time! I love code, space, haskell, nachos and fun! I build cool electronics occasionally and right now I'm researching PCB based Delay Line Anode Detectors for temporal-spacial particle detection! 🔬 🔭

I'm a serial Hackathon organiser and you can sometimes find me driving ambulances across England 🚑 😄

If you just want to add or remove an IP, see the bottom for the simplest commands. For the detail of how it all works in squad config, read on.

Squad config

The IP whitelist is set in the squad config at config.apigateway.ip_whitelist.

An IP whitelist object looks like this, so you just need to set the inner permissions object:

"192-168-0-1": {

@meowterspace
meowterspace / reviews.md
Created July 12, 2019 09:37
GitHub Review Comments
  • Pass only important things into function.

  • Don't put things in a try/except if they can't raise the error you're catching

  • Use specific logger.errors not general. E.g. Generating Auth0 user from PIO failed with error {e}

  • Don't return False unless you're also returning True. E.g. if returning an object or not, just return an object, or don't -> Null

  • Don't return Null unless you have to. Not returning anything will return Null.

  • Keep it simple