<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abhinav Veeramalla on Medium]]></title>
        <description><![CDATA[Stories by Abhinav Veeramalla on Medium]]></description>
        <link>https://medium.com/@vabhinav991222?source=rss-cd7e42e6e3e3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*t0zuMx04zEJHtSXt</url>
            <title>Stories by Abhinav Veeramalla on Medium</title>
            <link>https://medium.com/@vabhinav991222?source=rss-cd7e42e6e3e3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:41:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vabhinav991222/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OpenShift Use Cases | Real-Time Industry Based Case Studies]]></title>
            <link>https://medium.com/@vabhinav991222/openshift-use-cases-real-time-industry-based-case-studies-d55ea0f5be9a?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d55ea0f5be9a</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[openshift]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Fri, 12 Jan 2024 14:15:56 GMT</pubDate>
            <atom:updated>2024-01-12T14:15:56.725Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I will be sharing the <strong>OpenShift Use Cases </strong>as per industry norms.</p><p>How is OpenShift benefiting industries? And much more…</p><p>OpenShift fastens application development with the help of tools that large enterprises need to be agile and proficient, Using this technology, you have the advantage of deploying interactive applications quickly for your businesses.</p><p>Let’s have a look at the topics of discussion:</p><ul><li><a href="https://k21academy.com/openshift/industry-use-cases-of-openshift/#1">What is OpenShift?</a></li><li><a href="https://k21academy.com/openshift/industry-use-cases-of-openshift/#2">OpenShift Benefits</a></li><li><a href="https://k21academy.com/openshift/industry-use-cases-of-openshift/#3">OpenShift Use Cases (Case Studies)</a></li><li><a href="https://k21academy.com/openshift/industry-use-cases-of-openshift/#5">Conclusion</a></li></ul><h3>What is OpenShift?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*j7gVQgBx_tM9WDb5.png" /></figure><p>OpenShift is RedHat’s <strong>open-source</strong>,<strong> cloud-enabled Platform as a Service </strong>offering. It helps enterprises shift their traditional application infrastructure and platform from physical, virtual mediums to the cloud environment. It is convenient in developing cloud-enabled services at a faster rate. Hence, there are numerous OpenShift use cases that benefit the IT industry and all other industries such as automobiles, telecom, fashion designing, manufacturing, etc.</p><p><strong><em>Know more about </em></strong><a href="https://k21academy.com/openshift/everything-you-need-to-know/"><strong><em>OpenShift</em></strong></a></p><h3>OpenShift Benefits</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kgngssfgLa9lzWP7.png" /></figure><p>OpenShift offers a common platform for companies and organizations to host applications on the cloud, independent of operating systems. It offers a user-friendly interface and seamless functionalities. Let’s discuss the benefits of OpenShift.</p><ul><li>OpenShift offers a <strong>self-service platform</strong> for developers to develop and deploy applications on-demand with just a few clicks. Applications developed in OpenShift are packaged up in a container that makes applications extraordinarily portable and lightweight.</li><li>OpenShift has made it possible to work together with <strong>Dev and Ops</strong> without interfering with their individual concerns.</li><li>It brings <strong>consensus to IT organizations</strong>. It means organizations can deliver applications in the market with proper strategies while maintaining the scalability and stability of the app.</li><li>Enterprises always require those vendors who can provide the <strong>entire service stack</strong>. Therefore OpenShift provides Platform as a Service clubbed with Infrastructure as a Service and middleware services for better agility and interoperability.</li><li>It also offers <strong>Rest API support, Built-in Database services, IDE Integration</strong>, remote debugging of applications etc.</li><li>OpenShift makes applications <strong>hyper scalable</strong> because of the containers.</li></ul><p><strong>Also Check: </strong>Our blog post on <a href="https://k21academy.com/openshift/azure-openshift/"><strong>Azure Openshift</strong></a>.</p><h3>OpenShift Use Cases (Case Studies)</h3><p>Many organizations are opting OpenShift and making use of it to the best of their abilities. So let’s have a quick look at OpenShift Use Cases as per industrial requirements.</p><h3>Cisco uses OpenShift</h3><p>To keep up with customer demand, Cisco, a leading provider of network solutions, needs to rapidly implement new IT products and solutions. The challenge is keeping your IT team engaged and productive to drive innovation. With help from Red Hat, Cisco developed its Lightweight Application Environment (LAE), which runs on the Red Hat OpenShift Container Platform, a Platform as a service (PaaS) technology formerly known as Red Hat’s OpenShift Enterprise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p9SdAzFEZlOFP9qh" /></figure><ul><li><strong>Challenge faced by Cisco:</strong> Cisco’s ability to quickly offer innovative IT products and solutions to clients is critical to its success. Delays can cost a firm money. Cisco needed to keep its 1,000+ developers actively engaged in creating and implementing apps to encourage speed to market and boost satisfaction while avoiding high employee turnover, low productivity, and delayed reaction times.</li><li><strong>How did they tackle this: </strong>Cisco entrusted Red Hat with the design and development of its LAE, a PaaS deployment that supports hundreds of apps that power a wide range of business operations. Developers can use the IT resources they need to develop apps through a self-service platform, which eliminates manual provisioning.</li><li><strong>Result:</strong> Project provisioning used to take up to three months for Cisco developers. Now, the developers simply press a button, and the service is supplied in a matter of… minutes. Customers will benefit from the speedier delivery of innovative products and services as a result of increased productivity. The approach relieves pressure on limited IT resources and allows developers to devote more time to creative projects.</li></ul><h3>Porsche Informatik Speeds up Development with RedHat OpenShift</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/0*M6bobaR9ZT-ldABX.gif" /></figure><p>Porsche Informatik is an IT service provider for Volkswagen Automotive group that develops applications to sustain itself in the fast-paced global market. They started using OpenShift technology to create a private cloud container environment. Now developers in Porsche Informatik can use self-service capabilities and team up with other organization members to work effectively.</p><p><strong>Challenge faced by Porsche: </strong>Porsche had a significant challenge of speeding up application development.</p><p><strong>Solution Implemented: </strong>Porsche Informatik chose Red Hat OpenShift for its application infrastructure. Since 2015, the firm has used Red Hat Enterprise Linux, and in 2017, it established a private cloud environment with a data center provider and Red Hat partner eww ITandTEL.</p><p><strong>Benefits Porsche got from OpenShift:</strong></p><ul><li>With self-service provisioning, development times were reduced from 5–6 weeks to hours.</li><li>Porsche Informatik was able to integrate its IT departments by adopting a more agile, collaborative DevOps approach, which was enabled by Red Hat OpenShift. Developers, architects, infrastructure specialists, and platform teams can now collaborate more effectively to create and upgrade innovative applications and services in a way that eliminates repetitive, inefficient work and capitalizes on their key strengths.</li><li>To stay ahead of the competition, they gained backing for the early adoption of Kubernetes and container technology.</li><li>Porsche Informatik is also exploring how the latest version, Red Hat OpenShift 4, will bring new features to continue its contemporary application development journey after successfully implementing Red Hat OpenShift.</li></ul><h3>Indian Insurance Companies are using OpenShift to Speed up Digital Businesses</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*il2p8aEWdkEp7w5K.png" /></figure><p>India has so many insurance companies up and running. Bajaj Allianz Life Insurance is one of the leading companies in the insurance sector. It needed to take full benefits and credits out of the country’s growing market. Hence, to respond quickly to the rising opportunities and speed up market time, this insurance company created a reliable microservices environment using RedHat OpenShift. Using this, the company has optimized development and delivery time and have effectively eliminated downtime.</p><h3>Benefits</h3><ul><li>New services and features have a faster time to market.</li><li>API management and role-based access improve application security.</li><li>In a hybrid IT environment, there was no downtime.</li></ul><h3>Digital Transformation of Lenovo using OpenShift</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*xeWWnpRjDDLJxhPE" /></figure><p>Lenovo is a multinational company that manufactures gadgets. Due to the fast-paced technology thrived environment, Lenovo wanted to transform digitally to meet the business requirements and grow exponentially. They needed cloud capabilities to develop efficient applications. Then they shifted to the RedHat OpenShift platform as a service solution that improved their productivity via automation and decreased system deployment time.</p><ul><li><strong>Challenges faced by Lenovo: </strong>Lenovo desired a rapid digital transformation in order to strengthen its capabilities and respond to business demands more quickly. This transformation, on the other hand, necessitated frequent updates and changes to the company’s whole IT environment, and certain outdated systems were unable to keep up. As a result, the team encountered significant hurdles in producing and delivering materials in a timely manner.</li><li><strong>The solution implemented by Lenovo:</strong> Lenovo chose a PaaS solution to integrate cloud computing in order to suit its needs. Lenovo’s Zhenyu Yao, executive director of Integrated Technology Service, said, “We chose PaaS as the preferred solution to gain efficient and agile support for our business team.” Lenovo picked the Red Hat OpenShift Container Platform as its PaaS solution, based on its strong partnership with Red Hat.</li><li><strong>Results</strong>: It enhanced the overall automation and DevOps collaboration for better productivity. Instead of a week, IT personnel may now develop a new IT infrastructure in minutes.</li></ul><h3>BMW Opted OpenShift</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*PlaTXBJN3UgVFh1r" /></figure><p>BMW has been leading the market with its automotive engineering for more than a century. Digital Service Powering functionalities of BMW automobiles were showcased at RedHat Summit. ConnectedDrive system functionalities have been in the market for 20 years, but it requires a more advanced technology-driven delivery system to deliver applications. Therefore in the year 2016, BMW started migrating its full application suite to OpenShift. Now BMW supports more than 1000 web applications for their customers, automobiles, production and sales process etc. This case study states the OpenShift use cases.</p><ul><li><strong>Challenge:</strong> BMW wanted to gain high-performance big data capabilities and a data-driven platform.</li><li><strong>Solution Implemented:</strong> DXC Technology was chosen by the BMW Group to develop a solution for its data and performance concerns. DXC Technology used DXC Robotic Drive, a managed Platform-as-a-Service (PaaS) based on Red Hat OpenShift and other Red Hat technology, to build a Kubernetes-based platform with extensive automation capabilities. With scalable machine learning and big data processing capabilities, this technology aids the BMW Group in developing faster.</li><li><strong>Result:</strong> The BMW Group dramatically cut development time and increased developer productivity by automating repeated operations and giving self-service capabilities. Data gathering, processing, and storage capabilities are also massively scalable on the platform. It has over 230 PB of usable storage and enough processing capacity to simulate 240 million kilometres of test data</li></ul><h3>Conclusion</h3><p>OpenShift is an incredible innovation for cloud-based delivery and robust connectivity globally. It has brought a revolutionary change where enterprise-level businesses can scale up their operations faster, continuously improve services and advance their technology platforms with its pursuit of excellence.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d55ea0f5be9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an Interactive GUI Application with OpenCV and Hand Gestures Control]]></title>
            <link>https://medium.com/@vabhinav991222/building-an-interactive-gui-application-with-opencv-and-hand-gestures-control-cffa550a4ada?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cffa550a4ada</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[opencv-python]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Wed, 02 Aug 2023 16:09:08 GMT</pubDate>
            <atom:updated>2025-08-22T17:58:52.948Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*B2Zqq3qwDa5oBXBA.jpg" /></figure><p>Introduction:<br>In this blog, we will explore how to build an interactive GUI application using Python’s Tkinter library along with OpenCV and hand gesture recognition. The application features various OpenCV projects like background blur, face distance measurement, and face unlocking. Additionally, we will dive into the code and explain some of its key parts.</p><ol><li>GUI Application Setup:<br>To begin, we create a graphical user interface (GUI) using Tkinter. The GUI displays a list of buttons, each representing a different functionality of our application. It’s designed with an eye-catching color scheme and scrollable layout for a seamless user experience.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*4mn-IzspyO2hAmbXnSdgtQ.png" /></figure><p>2. Background Blur:<br>The first functionality of our application is “Face Blur Filter.” When the user clicks on this button, the OpenCV function `background_blur()` is executed. This function utilizes computer vision techniques to blur the face in the background of an image or video stream. It can be a fun and useful feature when you don’t want to be recognized in certain scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oxV7dXLB9o0FTh3l.jpg" /></figure><p>3. Face Distance Measurement:<br>The second feature is “Face Distance Measure.” When the user clicks on this button, the `face_distance_measure()` function is triggered. This function uses OpenCV to detect and measure the distance from the camera to the user’s face. It can be helpful in applications that require knowing the distance of the user from the camera, such as virtual reality setups or monitoring systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rmeT_zx3tjPG8aTR.jpg" /></figure><p>4. Hand Gestures Control:<br>Next up is the exciting “Hand Gestures Control.” Clicking on this button triggers the `hand()` function, which enables users to control Amazon services using hand gestures. This functionality is achieved by combining computer vision techniques and machine learning models to recognize specific hand gestures and map them to corresponding actions.</p><p>5. Face Unlock Feature:<br>The final feature is “Face Unlock Feature.” When the user clicks on this button, the `face_detector()` function is called. This function uses OpenCV to detect the owner’s face and unlock a specific service or functionality. This feature adds an extra layer of security and convenience to the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*i_gLRLl3B2PebQKt.jpeg" /></figure><p>6.Titanic Survival Predictor</p><p>Using the Titanic dataset, which contains various passenger attributes, such as age, gender, and ticket fare, I built a classification model that accurately predicts whether a passenger survived or not. By analyzing the factors that influenced survival outcomes, this model enables us to gain insights into the dynamics of the tragedy. The trained model can be used to make predictions on new data, contributing to a better understanding of the circumstances surrounding the Titanic disaster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*QFysIROzRjqekB05" /></figure><p>Conclusion:<br>Building this interactive GUI application with OpenCV projects and hand gesture control demonstrates the powerful capabilities of Python libraries. We explored features like background blur, face distance measurement, hand gestures control, and face unlocking. This application can serve as a foundation for even more advanced and exciting projects. Feel free to modify and expand it according to your own creativity and interests! Happy coding!</p><p>Source code: <a href="https://github.com/Abhinav-36/Integration_Of_CV_PROJECTS.git"><em>Github Link</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cffa550a4ada" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating the launching of WebServer || ChatGPT + Jenkins + Docker || One-Click Web Site…]]></title>
            <link>https://medium.com/@vabhinav991222/automating-chatgpt-jenkins-docker-one-click-everthings-done-ad7f4b95da01?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad7f4b95da01</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Wed, 26 Jul 2023 23:00:58 GMT</pubDate>
            <atom:updated>2023-08-05T05:09:13.272Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automating the launching of WebServer || ChatGPT + Jenkins + Docker 🤯|| One-Click Web Site Launched</h3><p><em>Welcome to the future of automation, where the power of ChatGPT, Jenkins, and Docker converge to create a one-click solution, making complex tasks a breeze. With ChatGPT orchestrating your workflow, Jenkins handling continuous integration and deployment, and Docker ensuring seamless application performance, say goodbye to manual setups and hello to unparalleled efficiency. Whether you’re a developer or enthusiast, this integration empowers you with endless possibilities. Experience the magic of one-click everything’s done, where barriers are shattered, and projects are completed effortlessly. Fasten your seatbelt and embark on this automation journey that will leave you in awe — the future is here! 🚀🤖🌟</em></p><p>Heres the Small OverView of what we are going to Do:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cji0UrM3gNRwSXVI7IAIjw.png" /></figure><p>In this tutorial we will see how to Automate Docker build and run an image using ChatGPT and Jenkins.</p><p>Make two Nodes In Jenkins If you dont know follow the steps below</p><ol><li>Go to DashBoard &gt;&gt; Manage Jenkins &gt;&gt; Nodes / Nodes&amp;clouds/</li><li>click on new node enter the details</li><li>create a empty directory in root in the instance</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*gJtfTl-ZAwJx5wrL07ivCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*VmohJmjtbs6ezo2m3Li6uA.png" /></figure><p>3.save and launch the agent</p><p><strong>Step1</strong>:</p><p>Initially create a job in jenkins and Restrict where the process can be run using ChatGpt Slave node<br>1. writing Code for ChatGPT model And cleaning the saved output to desired Format i.e Dockerfile and run it In Jenkins Node i.e ChatGpt slave Node by creating a Job</p><p>heres the code:</p><pre>import openai<br>import os<br>#ChaGpt prompting<br>os.environ[&#39;OPENAI_API_KEY&#39;] = &quot;#yourapiKey&quot;<br>openai.api_key = os.getenv(&quot;OPENAI_API_KEY&quot;)<br><br>output = openai.ChatCompletion.create(<br>    model=&quot;gpt-3.5-turbo&quot;,<br>    temperature=0,<br>    messages=[<br>        {&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: &quot;You are Devops Engineer of 20 years experience. You have to help me. Wait till I ask?&quot;},<br>        {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Write a Docker File for httpd server for centos:7 container.dont copy any configurations or files . Only give the output of the Docker File, nothing else&quot;}<br>    ]<br>)<br><br>output_text = output[&#39;choices&#39;][0][&#39;message&#39;][&#39;content&#39;]<br><br>import re<br>#to extract Dockerfile content<br>def extract_content_between_backticks(dockerfile_content):<br>    pattern = r&quot;```(.*?)```&quot;<br>    matches = re.findall(pattern, dockerfile_content, re.DOTALL)<br>    if matches:<br>        return matches[0].strip()<br>    return &quot;&quot;<br><br>def save_content_to_file(filename, content):<br>    with open(filename, &#39;w&#39;) as file:<br>        file.write(content)<br><br>cleaned_content = extract_content_between_backticks(output_text)<br><br># Save the cleaned content to a new file<br>output_file = &quot;Dockerfile.txt&quot;<br>save_content_to_file(output_file, cleaned_content)<br><br>def clean_and_save_dockerfile(input_file, output_file):<br>    with open(input_file, &#39;r&#39;) as file:<br>        dockerfile_content = file.read()<br><br>    dockerfile_content = dockerfile_content.replace(&#39;dockerfile&#39;, &#39;&#39;, 1)<br><br>    with open(output_file, &#39;w&#39;) as file:<br>        file.write(dockerfile_content)<br><br># Example usage:<br>input_filename = &#39;Dockerfile.txt&#39;<br>output_filename = &#39;Dockerfile&#39;<br><br>clean_and_save_dockerfile(input_filename, output_filename)</pre><p>2.push it into GitHub using Jenkins Node . also give ur credentials in the secret files or texts field in Jenkins</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*tNPs9dZ5_Lv22J2xvwETvw.png" /></figure><p>3. then in build steps write the command line code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*8SL9X4Qn-nFE6Q1_05uEMA.png" /></figure><p><strong>Step2</strong>:</p><ol><li>Launch One more Node in jenkins to build and run Docker container using image built by Dockerfile</li><li>create a job where it should be the Downstream project of Chatgpt Job</li></ol><p>3.Pull the code from Github and build the image file and push it into docker hub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*YZxrSHo9kEc_6M4_2UZMNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*ki99KlYsBNQVfoiIumdrxQ.png" /></figure><p><strong>Step3:</strong></p><ol><li>create one more job which is the downstream of DockerbuildJob</li><li>pull the image from docker hub and run it in background</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*2o8zLxPBMnr7oiGDlr5nwg.png" /></figure><p>this the final Pipeline view of the jobs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*m0R1WjNotEkxKGuVwDsKQA.png" /></figure><p>now goto the ChatGPT and press on the build now or you can call it using api. heres the final output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/203/1*qU8uCWNYVHOuEkGrHpz-lw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*nFmqh5a00J_1S1eC3ZWkzg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*F5IJLDdlVXxaFCPsDQkFpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*taKrjgvgXzZx6E57PDnT-g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*u1v8ipNM17hDmoyokdUXWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*SLXbWyoqH_MO6BIXZCO8vA.png" /></figure><p>With one click we can automate anything as it involves ChatGpt we can many things by using Jenkins Automation .</p><p>output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xASpS7fvZaPSSXWeaAQflA.png" /></figure><p>Conclusion:</p><p>n conclusion, the integration of ChatGPT, Jenkins, and Docker brings automation to a whole new level, enabling one-click solutions for complex tasks. By leveraging ChatGPT’s language capabilities and Jenkins’ automation prowess, we effortlessly generate a Dockerfile and build a Docker image, all orchestrated through Jenkins nodes. The seamless integration between these technologies empowers developers and enthusiasts with endless possibilities for automating various processes. With the future of automation already here, one-click solutions have become a reality, simplifying and streamlining workflows like never before. Embrace the power of automation and witness the magic of “everything’s done” with just a single click. 🚀🤖🌟</p><p>#Jenkins #ChatGPT #Devops</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad7f4b95da01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create Dynamic Website?]]></title>
            <link>https://medium.com/@vabhinav991222/how-to-create-dynamic-website-f016e9227ae7?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f016e9227ae7</guid>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 23 Jul 2023 10:20:08 GMT</pubDate>
            <atom:updated>2023-07-23T10:20:08.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*ppu4s7-HzmTYAD03" /></figure><h3>What is a Dynamic Web Page?</h3><p>A dynamic page displays different content for different users while retaining the same layout and design. Such pages, usually written in CGI, AJAX, ASP or ASP.NET, take more time to load than simple static pages. They’re frequently implemented to show information that changes frequently, e.g., weather updates or stock prices.</p><h3>How are Dynamic Web Pages Processed?</h3><p>When the web server receives a user request for a dynamic page, it does not send the page directly to the requesting browser as it would do with a static page. Instead, it passes the page to the application server which then completes three activities:</p><ul><li>Read the code on the page</li><li>Finish the page according to the code’s instructions</li><li>Remove the code from the page</li></ul><h3>Follow below steps to build a Dynamic Web Page:</h3><blockquote><em>Install httpd module</em></blockquote><pre># yum install httpd</pre><p>After installation this module creates 2 directories i.e., “/var/www/html” for HTML and “/var/www/cgi-bin” for python.</p><blockquote><em>Create an index.html file where we write the code for dynamic content retrieval</em></blockquote><pre>&lt;script&gt;<br>   function run() {<br>      var cmd = document.getElementById(&#39;inp&#39;).value;<br>      var xhr = new XMLHttpRequest();<br>      xhr.open(&#39;GET&#39;,&#39;http://15.206.117.66/cgi-bin/cmd.py?cmd=&#39;+cmd);<br>      xhr.send();<br>      xhr.onreadystatechange = function() {<br>         if (this.readyState == 4) {<br>            document.getElementById(&#39;outp&#39;).innerHTML = this.responseText;<br>         }<br>      }<br>   }<br>&lt;/script&gt;</pre><pre>&lt;center&gt;<br>  &lt;h1&gt;Welcome to UR Company&lt;/h1&gt;<br>  root@ip-15-206-117-66]# &lt;input id=&#39;inp&#39; name=&#39;cmd&#39;/&gt;&lt;br&gt;&lt;br&gt;<br>  &lt;button onclick=&quot;run()&quot;&gt;Run&lt;/button&gt;&lt;br&gt;&lt;br&gt;<br>  &lt;div id=&#39;outp&#39;&gt;Data is coming&lt;/div&gt;<br>&lt;/center&gt;</pre><blockquote><em>Create an executive python file (cmd.py) to get the input from index.html</em></blockquote><pre>#!/usr/bin/python3</pre><pre>import subprocess<br>import cgi</pre><pre>print(&quot;content-type: text/html&quot;)<br>print()</pre><pre>form = cgi.FieldStorage()<br>cmd = form.getvalue(&quot;cmd&quot;)<br>output = subprocess.getoutput(cmd)<br>print(&quot;&lt;pre&gt;&quot; + output + &quot;&lt;/pre&gt;&quot;)</pre><p>Note: change the mode of the file to executive mode using the below code</p><pre># chmod +x cmd.py</pre><blockquote><em>Now open the web page using the IP address i.e., “http://15.206.117.66&quot;</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/0*YshwjqkeLQ64rZpN" /></figure><p>Dynamic Content retrieval from cmd.py to index.html page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/0*_EXoGBeTdKDNe6n9" /></figure><h3>Summary:</h3><p>Here we had seen that in the index.html the output from the prompt is displaying in a HTML &lt;div&gt; tag without redirecting of web pages. which makes the Web Pages DYNAMIC</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f016e9227ae7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using a Mouse ️ in a Black Screen  Environment]]></title>
            <link>https://medium.com/@vabhinav991222/using-a-mouse-%EF%B8%8F-in-a-black-screen-environment-25deb1809c9e?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/25deb1809c9e</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[mouse]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Fri, 21 Jul 2023 05:47:41 GMT</pubDate>
            <atom:updated>2023-07-21T05:47:41.676Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is GPM in Linux?</h3><p>GPM (“General Purpose Mouse”) software provides support for mouse devices in Linux virtual consoles. This package provides a daemon that captures mouse events when the system console is active and delivers events to applications through a library</p><p>Please do not confuse GPM with GDM (GNOME Display manager). Both serves entirely different purpose.</p><h3>Install GPM In Linux</h3><p>To enable mouse support in Text-only Linux systems, install GPM package. It is available in the default repositories of most Linux distributions.</p><pre>$ yum install gpm</pre><p>Once installed, enable and start GPM service using the following commands:</p><pre>$ systemctl enable gpm --now</pre><p>Start the start the gpm service using the below:</p><pre>$ /etc/init.d/gpm start</pre><h3>Output:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/0*hx34au0gYljLn88g" /></figure><h3>Summary:</h3><p>In this article, we explore the pivotal role of General Product Managers (GPMs) who play a crucial part in overseeing and guiding product teams throughout the entire lifecycle, from concept to launch.</p><p>GPMs are responsible for leading and managing a product team from product concept to launch. Typically a GPM starts as a product manager who moves up the PM ranks and has a deep desire to manage people.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25deb1809c9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[QR Codes: Redefining Data ]]></title>
            <link>https://medium.com/@vabhinav991222/qr-codes-redefining-data-2b975a54826?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b975a54826</guid>
            <category><![CDATA[qr]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:26:25 GMT</pubDate>
            <atom:updated>2023-07-16T20:26:25.864Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y9i1WCb9E8SjmZe_.jpg" /></figure><p>To generate a QR code from the command line in Linux, you can use the “qrencode” package. Follow the steps below:</p><ol><li>Install the “qrencode” package (if not already installed) by running the following command</li></ol><pre>yum install qrencode</pre><p>2. Generate a QR code for the desired text by running the following command:</p><pre>qrencode -o QRCode.png &quot;www.google.com&quot;</pre><p>3. Scan the QR code by running the below command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/0*epck7FY5i46Ke8M8" /></figure><p>4. That’s it! You can now generate and read QR codes directly from the command line in Linux using these steps.</p><h3>Summary:</h3><p>Qrencode is a utility software using libqrencode to encode string data in a QR Code and save as a PNG image.</p><p>Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b975a54826" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Timing ⏱️ Terminal: Measuring Command ️ Execution]]></title>
            <link>https://medium.com/@vabhinav991222/timing-%EF%B8%8F-terminal-measuring-command-%EF%B8%8F-execution-24db33f2dd34?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/24db33f2dd34</guid>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:18:59 GMT</pubDate>
            <atom:updated>2023-07-16T20:23:32.999Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*elx71070ZZQmGodU" /></figure><p>To measure the time taken to run a command on the terminal, you can use the time command in Unix-like systems. Here’s an example:</p><pre>time &lt;command&gt;</pre><p>Replace &lt;command&gt; with the actual command you want to measure. When you run this on the terminal, it will display the time taken to execute the command along with other statistics like CPU usage and memory consumption.</p><p>Here’s an example usage:</p><pre>time systemctl restart httpd</pre><p>This will display the time taken to list the files and directories in the current directory using the “time systemctl restart httpd” command.</p><h3>output:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*6tbJ6Kx1X7jbTiSvtARtrw.png" /></figure><p>In this example, the command took approximately 1.170 seconds of real time, 0.007 seconds of user CPU time, and 0.006 seconds of system CPU time to execute.</p><p>Note that the output from the time command may vary slightly depending on the operating system and shell you are using.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24db33f2dd34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ASCII Art : Transforming Text  into Art with Python ]]></title>
            <link>https://medium.com/@vabhinav991222/ascii-art-transforming-text-into-art-with-python-190c106681f?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/190c106681f</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:15:49 GMT</pubDate>
            <atom:updated>2023-07-16T20:15:49.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*i1pqWXmGrLE-N5xd" /></figure><p>In this article, explore how to leverage Python and the pyfiglet library to transform plain text into captivating ASCII art. Dive into the code implementation, as we walk you through the process of printing custom messages in eye-catching ASCII designs.</p><p>Discover the possibilities of using ASCII art to add a touch of visual flair to your command line applications, banners, or even social media posts.</p><h3>Implementation:</h3><p>Follow the below steps to make some art:</p><blockquote><em>install the pyfiglet package that makes use of this magic</em></blockquote><pre>pip install pyfiglet</pre><blockquote><em>check whether the package is installed or not from the list of installed packages using the below command</em></blockquote><pre>pip list</pre><blockquote><em>Execute the following code that take a string as input and convert it into ART</em></blockquote><pre>import pyfiglet</pre><pre>text = input(&quot;Enter the text: &quot;)<br>ascii_art = pyfiglet.figlet_format(text)</pre><pre>print(ascii_art)</pre><p>output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*wTQPKqaxdOqF_gGSalBL_A.png" /></figure><h3>Summary:</h3><p>In this article, we delve into the fascinating world of ASCII art and explore how to convert ordinary text into captivating visual representations using Python’s command-line interface (CLI). We introduce the pyfiglet library a tool that enables us to effortlessly transform plain text into eye-catching ASCII art.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=190c106681f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Take Control ️ of Your Terminal ️ Shutdowns: Command Line Automation ]]></title>
            <link>https://medium.com/@vabhinav991222/take-control-%EF%B8%8F-of-your-terminal-%EF%B8%8F-shutdowns-command-line-automation-3b23ac11a63c?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b23ac11a63c</guid>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:08:47 GMT</pubDate>
            <atom:updated>2023-07-16T20:08:47.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*GxKQeTu5PR7-TXUI" /></figure><p>To implement a policy that locks a user account after three unsuccessful login attempts, you can use the pam_tally2 module in Linux. The steps below outline how to achieve this:</p><p>Open a terminal and log in as the root user or use the sudo command to execute commands with root privileges.</p><blockquote><em>Install the pam_tally2 utility if it’s not already installed. On Red Hat-based systems, you can use the following command:</em></blockquote><pre>yum install pam</pre><blockquote><em>For Debian-based systems, you can use the following command:</em></blockquote><pre>sudo apt-get install libpam-modules</pre><blockquote><em>Once pam_tally2 is installed, you need to modify the system’s PAM configuration file to enable the account lockout functionality. Open the /etc/pam.d/system-auth file in a text editor:</em></blockquote><pre>sudo vi /etc/pam.d/system-auth</pre><blockquote><em>Locate the line that contains the auth rule for the pam_unix.so module and add the deny=3 parameter at the end. It should look like this:</em></blockquote><pre>auth required pam_unix.so sha512 shadow nodelay deny=3</pre><p>This configuration specifies that after three failed login attempts, the account will be denied access.</p><blockquote><em>Save and exit the file.</em></blockquote><p>Next, you need to modify the account section of the PAM configuration file to include the account lockout feature. Open the /etc/pam.d/password-auth file:</p><pre>sudo vi /etc/pam.d/password-auth</pre><blockquote><em>Locate the line that contains the account rule for the pam_unix.so module and add the deny=3 unlock_time=300 parameters at the end. It should look like this:</em></blockquote><pre>account required pam_unix.so sha512 shadow deny=3 unlock_time=300</pre><blockquote><em>This configuration specifies that the account will be locked for 300 seconds (5 minutes) after three failed login attempts.</em></blockquote><p>Save and exit the file.</p><p>With these changes, the user account will be locked after three unsuccessful login attempts. The account will remain locked for 5 minutes (300 seconds). During this time, the user will be unable to log in.</p><h3>Summary:</h3><p>It’s worth noting that the exact PAM configuration files and their locations may vary depending on the Linux distribution you’re using. The examples provided here are based on a typical Red Hat-based system. Please adjust the file paths accordingly if necessary</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b23ac11a63c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Auto-Shutdown Linux Terminal After Some Idle Time]]></title>
            <link>https://medium.com/@vabhinav991222/auto-shutdown-linux-terminal-after-some-idle-time-30ce22c96ee2?source=rss-cd7e42e6e3e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/30ce22c96ee2</guid>
            <category><![CDATA[shutdown]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Abhinav Veeramalla]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:05:23 GMT</pubDate>
            <atom:updated>2023-07-16T20:05:23.216Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZYdyAV9OejmR3XXW.png" /></figure><h3>Introduction</h3><p>To automatically close the Red Hat Linux terminal if it remains unused for a certain period of time, you can make use of the `TMOUT` environment variable. The `TMOUT` variable specifies the number of seconds the shell session can remain idle before it automatically terminates.</p><p>To set the `TMOUT` variable and enable the auto-closing functionality, follow these steps:</p><ol><li>Open the terminal.</li><li>Open your shell configuration file using a text editor. For the Bash shell, the configuration file is usually `~/.bashrc` or `~/.bash_profile`. For other shells, the file may be different.</li><li>Add the following line at the end of the configuration file:</li></ol><pre>TMOUT=60 # Set the time in seconds (e.g., 60 seconds = 1 minute)<br>readonly TMOUT<br>export TMOUT</pre><p>Replace `60` with the desired idle time in seconds. In the example above, it’s set to 1 minute (60 seconds).</p><p>4. Save the configuration file and exit the text editor.</p><p>5. Either restart the terminal or run the following command to apply the changes immediately:</p><pre>source ~/.bashrc</pre><p>Now, if the terminal remains idle for the specified duration, it will automatically close. Adjust the `TMOUT` value as per your requirements.</p><blockquote><em>Please note that this approach only applies to the specific user’s shell session and will not affect other users or terminal sessions on the system.</em></blockquote><h3>Summary:</h3><p>Automatically close the Red Hat Linux terminal after a period of inactivity to enhance security and resource management. This can be achieved by setting the TMOUT environment variable and configuring it to terminate idle sessions. Adjust the timeout value as needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30ce22c96ee2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>