Uncategorized

  • To extract all email addresses from your entire Gmail account

    To extract all email addresses from your entire Gmail account

    Method 1: Using Google Apps Script The script exceeding the maximum execution time indicates that it is taking too long to process all the threads and messages in your Gmail account. To handle this, you can modify the script to process the emails in batches and use a script trigger to resume processing where it…

  • Lists all the unattached EBS volumes in an AWS account

    Lists all the unattached EBS volumes in an AWS account

    To create a Bash script that lists all the unattached EBS volumes in an AWS account, along with their tags, you can use the AWS Command Line Interface (CLI). The script will filter for EBS volumes that are not attached to any EC2 instance and display their ID and tags.

  • AWS Graviton Fast Start

    AWS Graviton Fast Start

    Lab & Excercise

  • What is AWS Graviton?

    What is AWS Graviton?

    AWS Graviton processors are designed by AWS to deliver the best price performance for your cloud workloads running in Amazon EC2. We invite you for a session in which we will share on how you can how you can drive Lower Total Cost of Ownership (TCO) with Graviton powered instances: AWS Graviton is a line…

  • Grafana Tutorials: Exploring MySql Data using Grafana

    Grafana Tutorials: Exploring MySql Data using Grafana

    Reference 1. Understand the Schema 2. Check Configuration Data 3. Analyze State and History 4. Review Notifications and Contacts 5. Query Performance Data 6. Integrate with Grafana 7. Optimize and Clean Up

  • How to Connect Grafana to a Remote MySQL Database

    How to Connect Grafana to a Remote MySQL Database

    Grafana is one of the most widely-used interactive data visualization tools on the market. It’s open-source, powerful, highly configurable and free to use. I’ve walked you through the process of installing Grafana on Ubuntu Server 20.04, and this time around, I’ll help you connect that newly installed platform to a MySQL database, so you can visualize…

  • How to switch Keyboard Language on Mac

    How to switch Keyboard Language on Mac

    Step Action Description 1 Open System Preferences Click on the Apple menu () in the top-left corner of the screen and select “System Preferences.” 2 Select Keyboard In the System Preferences window, click on the “Keyboard” icon. 3 Go to Input Sources Click on the “Input Sources” tab at the top of the Keyboard preferences…

  • Difference Victoria Metrics and Prometheus

    Difference Victoria Metrics and Prometheus

    Feature VictoriaMetrics Prometheus Architecture Single-node and clustered Single-node Performance High ingestion and query throughput Efficient for medium-scale setups Scalability Horizontally scalable in clustered mode Limited to vertical scaling Data Compression Advanced compression techniques for cost efficiency Basic compression Data Model Multi-dimensional (similar to Prometheus) Multi-dimensional with key/value pairs Query Language PromQL PromQL Data Collection Supports…

  • Mac OS Shortcut Commands & Cheatsheet

    Mac OS Shortcut Commands & Cheatsheet

    Mac OS offers several keyboard shortcuts for taking screenshots, each with different functionalities. Here’s a comprehensive list of those shortcuts: Full Screen Capture Selected Portion Capture Window Capture Touch Bar Capture (for MacBook Pro with Touch Bar) Screenshots Saved to Clipboard Screenshot App (introduced in macOS Mojave) Additional Shortcuts within the Screenshot App TextEdit For…

  • Mac OS: How to change Mac OS mouse scroll similar to windows?

    Mac OS: How to change Mac OS mouse scroll similar to windows?

    Changing the Mac OS mouse scroll behavior to mimic Windows involves adjusting a few settings to reverse the scroll direction and possibly modify the scrolling speed. Here’s a step-by-step guide to achieve this: Reverse the Scroll Direction Adjust Scrolling Speed

  • How Linux Works? Kernel Internal Explained!

    How Linux Works? Kernel Internal Explained!

    “Linux” refers to the Linux kernel, the core of many operating systems (known as distributions, or “distros”) that manage a computer’s hardware and resources, like CPU, memory, and storage devices. Distros include Ubuntu, Fedora, and Debian, among others. Here’s a basic overview of how Linux works: 1. Kernel The kernel is the heart of the…

  • How to enable IMDSv2 in multiple EC2 instance AWS: Shell Script & Terraform & SSM

    How to enable IMDSv2 in multiple EC2 instance AWS: Shell Script & Terraform & SSM

    IMDSv2 (Instance Metadata Service Version 2) is a more secure iteration of the Instance Metadata Service provided by Amazon EC2. It enables EC2 instances to access their own metadata, configurations, and temporary security credentials. Here’s a breakdown of IMDSv2 and its primary use cases: Overview of IMDSv2: Use Cases of IMDSv2: Migration from IMDSv1 to…

  • How to upgrade aws MSK Apache Kafka from 2.4.1 to 3.5.1

    How to upgrade aws MSK Apache Kafka from 2.4.1 to 3.5.1

    You can upgrade an existing AWS MSK cluster running Apache Kafka 2.4.1 to version 3.5.1. Here’s what you need to know: Additional notes: Upgrading AWS MSK (Amazon Managed Streaming for Kafka) from Apache Kafka version 2.4.1 to 3.5.1 is a significant version jump, involving many intermediate versions and potentially significant changes in Kafka’s functionality and…

  • How to Install and configure Logroate in Linux?

    How to Install and configure Logroate in Linux?

    almalinux os To configure logrotate in AlmaLinux, you can follow these steps to ensure your system logs are properly managed and rotated. Logrotate is a system utility that manages the automatic rotation and compression of log files. If logrotate isn’t already installed, you can install it using the package manager, and then configure it by…

  • List of Checklist of Apache Solr Configuration to Improve Solr Performance

    List of Checklist of Apache Solr Configuration to Improve Solr Performance

    Solr Configuration Files Indexing Performance Sharding and Replication Solr Cloud Configuration Upgrade Latest version of Solr Solr 5.0 February 2015 Moved to standalone server, eliminating the need for a separate servlet container. Solr 6.0 April 2016 Parallel SQL interface for relational-style queries. Solr 7.0 September 2017 Major advancements in the Lucene library and simplified cluster…

  • Apache Solr Architecture. How Apache Solr works?

    Apache Solr Architecture. How Apache Solr works?

    How Apache Solr works? Apache Solr is a powerful, scalable open-source search platform built on Apache Lucene, which is a high-performance, full-featured text search engine library. Solr is widely used for enterprise search and analytics use cases because it can handle large volumes of data and offers features such as full-text search, faceted search, real-time…

  • Apache Solr: What is Core and How to Create it?

    Apache Solr: What is Core and How to Create it?

    What is Apache Solr Core? In Solr terminology, there is a sharp distinction between the logical parts of an index (collections, shards) and the physical manifestations of those parts (cores, replicas). In this diagram, the “logical” concepts are dashed/transparent, while the “physical” items are solid. How to create Apache Solr Core?

  • What is Vector Space Model?

    What is Vector Space Model?

    The Vector Space Model (VSM) is a technique used in information retrieval (IR) to analyze and compare text documents. It represents documents and queries as vectors in a high-dimensional space. Each dimension corresponds to a unique term in the entire collection of documents. The position of a vector in the space reflects the importance of…

  • What is POVO & KDDI? What is difference between POVO and KDDI?

    What is POVO & KDDI? What is difference between POVO and KDDI?

    What is KDDI? KDDI is a major Japanese telecommunications operator, established in October 2000 through the merger of DDI, KDD, and IDO. It is the second-largest cellular operator in Japan after NTT DoCoMo and provides a wide range of services, including cellular services, fixed-line communications, and Internet services. KDDI operates under the “au” brand for…

  • Ansible Playbook: Retrieves a list of installed packages along with their versions before & After upgrading

    Ansible Playbook: Retrieves a list of installed packages along with their versions before & After upgrading

    Below is an Ansible playbook script that performs the following actions sequentially: This playbook assumes the target systems are using a Debian-based distribution like Ubuntu, as it utilizes the apt module for package management. Adjustments might be needed for other distributions.