Posts

Showing posts from January, 2024

How to Install Jenkins

Image
Jenkins is an open-source Java application server for Continuous Integration and Continuous Delivery (CI/CD). This will run in servlet containers such as Apache Tomcat. It helps the developers to build, test, and deploy the software by automating using CI/CD pipelines. It detects bugs and notifies the developers in an early stage. How to Download and Install: Step 1: Go to https://www.jenkins.io/ . Click Download Step 2: Download Jenkins ‘Generic Java package’. I prefer to download the LTS package (It is a stable one). Step 3: Select your desired path after downloading and save the Jenkins.war file in your local system. Step 4: Go to command prompt (Windows) | Terminal (IOS)                Go to the folder where the war file is saved. Then, type the command java -jar Jenkins.war and run it. It will take a while to run the command. It gives an admin password. Note it down to use Jenkins the first time. The password will be saved in the Jenkin path. Step 5: Go to the browse

Variety of Keys...

 The power of keys in the real world makes its own purpose. There are different types of keys to operate a lock. Why do we have different types of keys? Because it serves to open a lock made for a specific reason. The most commonly used locks are deadlocks for residential doors and external security, knob locks for internal doors in residences, padlocks for lockers, gates, and sheds, keycard systems for hotels and offices, smart/digital door locks for modern homes and offices, tubular locks for vending machines and ATMs, time locks for bank vaults and safety. When we come into the application, APIs provide connectivity between applications to exchange data and services. To make it secure, we use authentication and authorization.  Authentication allows the user to access the application. Authorization 's main focus is to have the right people to have the right access to the right resources.  We have various authentication types to secure accessing the API in the software ensuring t

Javascript Objects

Objects are everywhere. An object has different meanings such as a thing, material, person or thing's specified action. But when it comes to the programming world, it could be a variable, data structure, method, or function. It usually refers to state and behavior in any context. In Javascript, an object is a collection of keys and values. Keys represent the variable's name and the values are the data stored on the variable. It is considered to be a dictionary. It can have a variable, an object, and even a function in it. We call it an object literal. Javascript is a prototype-based object-oriented language and because of this, each object will have the prototype set by default when assigned along with the Key: Value pair. For example, let me explain with a mobile phone. A mobile phone has many characteristics to describe. We can collate all/few and describe it as a mobile phone. Some variables are brand name, size, color, screen resolution, OS, Storage, and many more. In JS, w