See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| #include <fstream> | |
| #include <iostream> | |
| #include <string> | |
| #include <openbabel/mol.h> | |
| #include <openbabel/obconversion.h> | |
| #include <openbabel/forcefield.h> | |
| #include <openbabel/parsmart.h> | |
| #include <openbabel/generic.h> |
| import time | |
| from contextlib import ContextDecorator | |
| from dataclasses import dataclass, field | |
| from typing import Any, Callable, ClassVar, Dict, Optional | |
| class TimerError(Exception): | |
| """A custom exception used to report errors in use of Timer class""" | |
| @dataclass | |
| class Timer(ContextDecorator): |
| import os | |
| import logging | |
| import yaml | |
| from string import Template | |
| from kubernetes import client, config, watch | |
| import enum | |
| logger = logging.getLogger(__name__) |
| import os | |
| import yaml | |
| import logging.config | |
| import logging | |
| import coloredlogs | |
| def setup_logging(default_path='logging.yaml', default_level=logging.INFO, env_key='LOG_CFG'): | |
| """ | |
| | **@author:** Prathyush SP | |
| | Logging Setup |
| #!/bin/bash | |
| # add the GPG key for the official Docker repository to the system | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| # add the Docker repository to APT sources | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| # update the package database with the Docker packages from the newly added repo | |
| sudo apt-get update |
| # Copyright 1999-2011 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| # | |
| # /etc/screenrc | |
| # | |
| # This is the system wide screenrc. | |
| # | |
| # You can use this file to change the default behavior of screen system wide | |
| # or copy it to ~/.screenrc and use it as a starting point for your own | |
| # settings. |
| """ | |
| Named Entity Recognition based on dictionaries | |
| reference: | |
| https://github.com/mpuig/spacy-lookup | |
| https://spacy.io/usage/rule-based-matching | |
| """ | |
| import json | |
| from flashtext import KeywordProcessor |