Skip to content

Instantly share code, notes, and snippets.

View leomenezessz's full-sized avatar
🏠
Working from home

Leonardo Menezes leomenezessz

🏠
Working from home
View GitHub Profile
from munch import munchify
class Locator:
locator_kinds = {"id", "xpath"}
_context = None
def __init__(self, *args, **kwargs):
self.valid_parameters = [f"find_by__{kind}" for kind in self.locator_kinds]
self._locators = {}
@samoshkin
samoshkin / postman_vs_insomnia_comparison.md
Created November 6, 2018 17:42
Comparison of API development environments: Postman vs Insomnia

Postman vs Insomnia comparison

Postman | API Development Environment https://www.getpostman.com
Insomnia REST Client - https://insomnia.rest/

Features                                        Insomnia Postman Notes
Create and send HTTP requests x x
Authorization header helpers x x Can create "Authorization" header for you for different authentication schemes: Basic, Digest, OAuth, Bearer Token, HAWK, AWS
@rbialek
rbialek / config
Created June 7, 2011 13:32
ssh/.config
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/user/.ssh/id_rsa