This file contains 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
https://github.com/newren/git-filter-repo/blob/main/INSTALL.md | |
https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html#purge-files-from-repository-history | |
git filter-repo --strip-blobs-bigger-than 10M |
This file contains 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
https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html#purge-files-from-repository-history |
This file contains 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
https://github.com/owlcs/owlapi/wiki/Documentation | |
https://github.com/owlcs/owlapi/blob/version4/contract/src/test/java/org/semanticweb/owlapi/examples/Examples.java | |
- how to check if a statement if a valid OWL axiom | |
https://github.com/owlcs/owlapi/issues/507 | |
- Convert String in manchester syntax to OWLAxiom object using owlapi 3 in Java | |
https://stackoverflow.com/questions/21005908/convert-string-in-manchester-syntax-to-owlaxiom-object-using-owlapi-3-in-java | |
- DL Queries with a real reasoner | |
https://github.com/owlcs/owlapi/wiki/DL-Queries-with-a-real-reasoner | |
- Problem saving ontologies in Turtle | |
https://github.com/owlcs/owlapi/issues/719 |
This file contains 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
https://github.com/ohmyzsh/ohmyzsh/wiki/External-themes |
This file contains 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
#elasticsearch | |
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.7.0 | |
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.7.0 | |
#kibana | |
docker pull docker.elastic.co/kibana/kibana:7.7.0 | |
docker run --link YOUR_ELASTICSEARCH_CONTAINER_NAME_OR_ID:elasticsearch -p 5601:5601 docker.elastic.co/kibana/kibana:7.7.0 |
This file contains 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
Extenções importantes para VS Studio e Python: | |
(Bruno Rocha) | |
- Python Preview : Mostra em uma stack de memoria, como o algoritmo esta montado | |
- AutoDocstring : Tres aspas e um template para documentar | |
- Pyright : Ajuda em tempo de dev, reconhecer a tipagem de parametros das funcoes | |
- Indent-Rainbow : Pinta as identações do código e ajudam a você encontrar em que nível vc está trabalhando @Danilo Gansauskas |
This file contains 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
# python3.7 -m venv venv | |
# source venv/bin/activate | |
print("##### inicio #####") | |
import tratamento | |
from owlready2 import * | |
from owlready2.pymedtermino2 import * | |
from owlready2.pymedtermino2.umls import import_umls |
This file contains 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
# https://docs.bonsai.io/article/102-python | |
import os, base64, re, logging | |
from elasticsearch import Elasticsearch | |
# Log transport details (optional): | |
logging.basicConfig(level=logging.INFO) | |
# Parse the auth and host from env: | |
bonsai = os.environ['BONSAI_URL'] | |
auth = re.search('https\:\/\/(.*)\@', bonsai).group(1).split(':') |
This file contains 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
//Exemplo1: | |
MessageDigest digest = MessageDigest.getInstance("SHA-256"); | |
byte[] hash = digest.digest(text.getBytes(StandardCharsets.UTF_8)); | |
//Exemplo2: | |
I think that the easiest solution is to use Apache Common Codec: | |
String sha256hex = org.apache.commons.codec.digest.DigestUtils.sha256Hex(stringText); |