Add yourself to the docker group to be able to run containers as non-root (see Post-install steps for Linux).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import inspect | |
| def class_name(cls): | |
| """Return a string representing the class""" | |
| # NOTE: can be changed to str(class) for more complete class info | |
| return cls.__name__ | |
| def classes_tree(module, base_module=None): | |
| if base_module is None: | |
| base_module == module.__name__ |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Brastra.gif (4376 bytes) | |
| Presidência da República | |
| Casa Civil | |
| Subchefia para Assuntos Jurídicos | |
| DECRETO-LEI Nº 5.452, DE 1º DE MAIO DE 1943 | |
| Texto compilado |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN:VCALENDAR | |
| PRODID:-//Feriados Nacionais, Regimentais, Estaduais e Municipais//EN | |
| VERSION:2.0 | |
| CALSCALE:GREGORIAN | |
| BEGIN:VEVENT | |
| DTSTART;VALUE=DATE:20250102 | |
| DTEND;VALUE=DATE:20250107 | |
| SUMMARY:Recesso Forense | |
| DESCRIPTION:Recesso forense (Art. 220 CPC) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| services: | |
| neko: | |
| image: "m1k1o/neko:chromium" | |
| restart: "unless-stopped" | |
| shm_size: "512m" | |
| ports: | |
| - "8080:8080" | |
| - "52000-52100:52000-52100/udp" | |
| cap_add: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| LOGFILE=/data/log/speed/resize.log | |
| LOCKFILE=/tmp/enlarge.lock | |
| export PATH=/usr/sbin:/usr/bin:/sbin:/bin | |
| VOLUME=$1 | |
| HARDDISK=$2 | |
| PARTITION=$3 | |
| NEEDREBOOT=0 | |
| dotlockfile -r 0 $LOCKFILE || exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "country": "AD", | |
| "latitude": 42.546245, | |
| "longitude": 1.601554, | |
| "nome": "Andorra" | |
| }, | |
| { | |
| "country": "AE", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import io | |
| import requests | |
| from bs4 import NavigableString, BeautifulSoup | |
| from docx import Document as DocxDocument | |
| from docx.enum.text import WD_ALIGN_PARAGRAPH | |
| from docx.shared import Cm, Pt, Mm | |
| from docx.image.exceptions import UnrecognizedImageError | |
| from lxml import etree |
- Usar modo imperativo ("Adiciona feature" não "Adicionando feature" ou "Adicionada feature")
- Primeira linha deve ter no máximo 72 caracteres
- Considere descrever com detalhes no corpo do commit
- Considere usar um emoji no inÃcio da mensagem de commit
Emoji | Code | Commit Type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
NewerOlder