by XDK
16. August 2019 08:13
Information:
CloudWatch retains metric data as follows:
1. Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution custom metrics.
2. Data points with a period of 60 seconds (1 minute) are available for 15 days
3. Data points with a period of 300 seconds (5 minute) are available for 63 days
4. Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months)
CloudWatch does not support metric deletion. Metrics expire based on the retention schedules described above.
More...
by XDK
16. August 2019 02:41
Solution:
Open Azure DevOps project portal --> Project settings --> Service connections (under Pipelines category) --> New service connection --> Azure Resource Manager Service connection
Enter the details
Enter Azure credential
by XDK
12. August 2019 06:10
Note: Operators in the same row are evaluate left to right except ** (Exponentiation) which is right to left binding
beb2a6d8-8e3e-4865-95ba-40feb2b94845|2|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags: Programming
Python
by XDK
9. August 2019 16:22
Requirement:
To format the below numbers
From
1
2
3
...
To
1,2,3,...
Solution:
- Press Ctrl+H
- Select Search mode Extended(\n, \r, \t, \o, \x...)
- Enter Find what: \r\n
- Enter Replace with: ,
- Replace_All
output:
9ce7ec47-a7d9-44cc-bba1-29009d11aa81|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
General
by XDK
9. August 2019 15:09
Install commands:
Generic update:
sudo apt update
mySQL client install:
sudo apt install mysql-client
** mySQL login command **
mysql -h <RDS endpoint> -u <user name> -p <password>
apache server install:
sudo apt install apache2
python essentials install:
sudo apt install python3
** Refer here for pip install **
sudo apt-get purge python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo apt install python-pip
sudo pip install mysql-connector-python
sudo pip install pymysql
sudo pip install boto3
** Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at our doc site, including a list of services that are supported. **