Skip to content

Instantly share code, notes, and snippets.

View moisesguimaraes's full-sized avatar

Moisés Guimarães de Medeiros moisesguimaraes

View GitHub Profile
@moisesguimaraes
moisesguimaraes / aurum_adeptus_syvestro.yaml
Created February 3, 2021 23:31
WarmaHordes model representation in YAML
###
# This is a first draft on a final goal to have warmahordes models described
# in YAML files. The plan is that we can start with just a couple of fields
# and be able, with time, to represent the entire model in a file.
---
# name of the card at cards.privateerpress.com
name: Aurum Adeptus Syvestro
@moisesguimaraes
moisesguimaraes / configurable.py
Created November 29, 2020 09:24
oslo.config Configurable Mini
import abc
class ConfigurableMixin(metaclass=abc.ABCMeta):
@classmethod
@abc.abstractmethod
def from_config(cls, conf):
pass
@classmethod
@moisesguimaraes
moisesguimaraes / barbican_review_dashboard.md
Last active January 12, 2021 14:48
Barbican Review Dashboard

NOTE: replace all ' +' with '%20' before tinyurl


https://review.opendev.org/#/dashboard/
?foreach=(
  project:openstack/barbican OR 
  project:openstack/python-barbicanclient OR 
  project:openstack/castellan OR 

Keybase proof

I hereby claim:

  • I am moisesguimaraes on github.
  • I am moisesguimaraes (https://keybase.io/moisesguimaraes) on keybase.
  • I have a public key ASDrSQeyLM6OiWBil1EFNmUR0AIbk1wnmCh5KGioYWYO8Qo

To claim this, I am signing this object:

@moisesguimaraes
moisesguimaraes / estruturas_lineares.py
Last active November 23, 2017 18:55
Exemplos de estruturas de dados lineares: Pilha, Fila e Lista
# -*- coding: utf-8 -*-
class Elemento:
def __init__(self, dado, proximo=None):
self.dado = dado
self.proximo = proximo
def __iter__(self):
elemento = self
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import random
import string
chars = string.ascii_letters + string.digits + string.punctuation
def genpwd(length):