- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| """ | |
| Encode and decode JSON Web Token/JWT (with RS256) from private/public key files | |
| Requires https://cryptography.io: | |
| pip install cryptography | |
| """ | |
| __author__ = 'cuzi' | |
| __email__ = 'cuzi@openmail.cc' | |
| __all__ = ['generate_jwt', 'validate_jwt'] |
| #!/usr/bin/python3 | |
| """ | |
| MD2 Message Digest Algorithm. | |
| Implemented by Cameron Lonsdale to the spec of RFC 1319. | |
| """ | |
| import binascii | |
| # Permutation of 0..255 constructed from the digits of pi. |
| class FuncionarioForm(forms.ModelForm): | |
| """ Sobrescreve formulário de funcionários """ | |
| class Meta: | |
| model = Funcionario | |
| exclude = ('usuario', ) | |
| def __init__(self, *args, **kwargs): | |
| super(FuncionarioForm, self).__init__(*args, **kwargs) | |
| # Editar funcionário: valores iniciais |