coding

AWK Cheat Sheet

AWK Cheat Sheet

What is AWK? awk is a powerful text-processing tool in Linux used to manipulate and analyze text files by processing patterns and performing actions. Basic Syntax awk 'pattern {action}' file pattern: The condition to match (optional). action: Commands to execute on matching lines (optional). file: The file to process. Common Examples 1. Print All Lines awk '{print}' file.txt Outputs all lines in file.txt. 2. Print Specific Columns awk '{print $1, $3}' file.txt Prints the 1st and 3rd columns. 3. Match a Pattern awk '/error/ {print}' log.txt Prints lines containing the word error. 4. Conditional Filtering awk '$3 > 100 {print…
Read More
VPC NETWORKING FUNDAMENTAL

VPC NETWORKING FUNDAMENTAL

Introduction In the pre-cloud computing era, establishing a network infrastructure required a plethora of hardware components, including Switches, Routers, Internet cables and RJ-45 connectors. These physical components enabled computers to communicate with each other and access the internet. Fast-forward to the cloud computing era, where virtualization has revolutionized networking. With Virtual Private Cloud (VPC), you can create a secure, isolated network environment without the need for physical hardware. In this guide, I will walk you through the step-by-step process of creating a Virtual Private Cloud(VPC), including setting up Public and private subnets, Internet Gateway, Network ACLs (Access Control Lists) and…
Read More
OLAP (Online Analytical Processing)

OLAP (Online Analytical Processing)

OLAP (Online Analytical Processing) is a technology that enables analysts to extract and query data interactively from multidimensional data warehouses. It provides a way to analyze complex datasets for decision-making, typically in business intelligence (BI) applications. Definition of OLAP OLAP is a system for organizing large business databases and supporting complex analysis. Unlike OLTP (Online Transaction Processing), which focuses on fast, real-time transactional operations, OLAP emphasizes analytical operations such as summarizing, aggregating, and comparing data across multiple dimensions. Core Concept of OLAP At its core, OLAP uses a multidimensional data model, often referred to as a "cube." This cube allows…
Read More
AWS CodeDeploy: How to Fix the “Cannot Reach Instance Service” Error

AWS CodeDeploy: How to Fix the “Cannot Reach Instance Service” Error

If you're a DevOps engineer, System engineer, or Cloud engineer using AWS CodePipeline, CodeBuild, and CodeDeploy to deploy applications to EC2 instances, you may encounter a deployment failure after a successful build. If the logs from CodeDeploy show the following error: CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server. Enter fullscreen mode Exit fullscreen mode Don’t panic! This guide will help you troubleshoot and resolve the issue. Step 1: Check the Status of the CodeDeploy Agent…
Read More
Lab 8 – CI Actions and Testing

Lab 8 – CI Actions and Testing

This week I had the task of implementing more tests and a CI workflow to my project. I had to use a YAML file to run my tests on pull requests and pushes to the main branch. My YAML file used for this action run: The repo I worked on this week was for my partner Liam's project. His project is located at: https://github.com/mpa-LHutchinson/Auto-README The Auto-README repo differed from mine as it had testing for 2 different files as well was setup slightly different. It also had almost full coverage for the files being around 78% with only 5 lines…
Read More
Revolutionizing the $27+ Billion Market with Conversational AI in Data Analytics

Revolutionizing the $27+ Billion Market with Conversational AI in Data Analytics

Analytics Model demonstration Video As the data analytics market expands beyond $27 billion, companies are seeking innovative solutions to unlock value from their data. Analytics Model is at the forefront of this revolution, leveraging conversational AI to make data insights more accessible and actionable. By blending AI-driven analysis with an intuitive, conversational interface, Analytics Model enables users of all technical backgrounds to extract insights, make informed decisions, and drive business growth. Conversational AI: The Future of Data Analytics Traditional data analytics platforms can be complex, requiring specialized skills to interpret data and extract insights. Analytics Model disrupts this paradigm by…
Read More
Basic Linux Commands

Basic Linux Commands

pwd — When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root. The root is the base of the Linux file system and is denoted by a forward slash( / ). The user directory is usually something like “/home/username”. ls — Use the “ls” command to know what files are in the directory you are in. You can see all the hidden files by using the command…
Read More
EXPLAIN PLAN and DBMS_PROFILER

EXPLAIN PLAN and DBMS_PROFILER

In Oracle SQL, EXPLAIN PLAN and DBMS_PROFILER are tools used to analyze and optimize query performance, but they serve different purposes and provide distinct insights. EXPLAIN PLAN EXPLAIN PLAN helps you understand the query execution path chosen by the Oracle optimizer. It shows the series of operations Oracle will use to execute your SQL statement, such as table scans, index scans, joins, and sorts. By examining the execution plan, you can identify areas where the query could be optimized. Key Operations in EXPLAIN PLAN: Table Access: Indicates how the table is accessed, such as a full scan (TABLE ACCESS FULL)…
Read More
AI Agents: The Secret Weapon Behind 10X Social Media Growth in 2024

AI Agents: The Secret Weapon Behind 10X Social Media Growth in 2024

In today's digital landscape, artificial intelligence is no longer just a buzzword—it's becoming the backbone of successful social media strategies. As we navigate through 2024, AI agents are fundamentally transforming how brands connect, engage, and grow their social media presence. Let's dive into how these intelligent systems are reshaping the social media landscape and driving unprecedented growth.The AI Revolution in Social Media ManagementRecent studies show that 63% of B2B marketers credit AI with boosting their revenue and lead generation, while 75% plan to leverage AI for enhanced customer experiences on social media. These numbers aren't just statistics—they represent a fundamental…
Read More
What is Docker? Advantages, Disadvantages, and its Role in AI Applications

What is Docker? Advantages, Disadvantages, and its Role in AI Applications

Docker has rapidly gained popularity as a powerful tool in the realm of software development, and its benefits extend deeply into the artificial intelligence (AI) domain. This article provides a comprehensive overview of Docker, exploring its advantages, disadvantages, and how it’s transforming AI applications. If you're an AI developer or tech enthusiast, read on to understand why Docker might be your next best tool! What is Docker? At its core, Docker is a platform that allows developers to package applications and their dependencies into lightweight, portable containers. These containers are standardized, ensuring that applications run consistently across different environments. Instead…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.