To ease the process, I created a script that automatizes the installation of the Agent. The steps are:
- Create the configuration file for the agent following these readings:
To ease the process, I created a script that automatizes the installation of the Agent. The steps are:
""" | |
Cria grafico de barras com os salarios para carreiras na area de dados. | |
Os valores forma obtidos no LoveMondays | |
author: Gustavo Braganca ([email protected]) | |
""" | |
import matplotlib.pyplot as plt | |
from collections import OrderedDict |
def is_balanced(s): | |
""" | |
Check if a string has balanced brackets. | |
Parameters | |
---------- | |
s: str | |
String to be checked. | |
def MostPopularNumber(array, array_length=None): | |
""" | |
Get the most frequent number from an array. | |
If there arre two or more numbers that appear | |
the same number of times, return the lowest. | |
Parameters | |
---------- | |
def IsAlmostPalindrome(word): | |
""" | |
Check if the word is or almost is a palindrome. | |
To be almost a palindrome, we would need to change | |
only one character. | |
Parameters | |
---------- | |
from math import sqrt | |
def get_distance(first_coord, second_coord): | |
""" | |
Get the distance between two points in the cartesian plane. | |
Parameters | |
---------- | |
first_coord: tuple |
def get_closing_index(string, index): | |
""" | |
Get position of closing bracket of a opening | |
bracket given by `index`. | |
Parameters | |
---------- | |
string: str; | |
Input text. |
#!/usr/bin/env python | |
# encoding: utf-8 | |
"""Minimal python commad line.""" | |
import sys | |
import argparse | |
import logging |