Skip to main content

Cloning a Private GitHub Repository

· 3 min read
Anand Raja
Senior Software Engineer

The ideal way to clone a GitHub repository to your local folder is to use a PAT (Personal Access Token).
A PAT provides secure, token-based authentication instead of your GitHub password.
It is especially required for accessing private repositories or when two-factor authentication is enabled.

Horizontal vs Vertical Scaling

· 2 min read
Anand Raja
Senior Software Engineer

Horizontal scaling and vertical scaling are two strategies for increasing the capacity and performance of your application or infrastructure:


Horizontal Scaling (Scaling Out)

  • Definition: Adding more machines or instances to your system.
  • How: You deploy additional servers (e.g., more VMs, containers, or physical machines) to distribute the load.
  • Benefits:
    • Increases fault tolerance and availability.
    • Easier to scale dynamically (especially in cloud environments).
    • No single point of failure.
  • Example: Adding more web servers behind a load balancer.

Deploying an AngularJS App as a WAR File

· 3 min read
Anand Raja
Senior Software Engineer

Here’s a detailed step-by-step guide to develop an AngularJS application, package it as a .war file, and deploy it with a Java backend.

1. Project Structure

Organize your project like this:

your-project/
├── src/
│ └── main/
│ ├── java/ # Java backend code (e.g., Spring controllers)
│ └── webapp/ # Web resources (AngularJS app, HTML, CSS, JS)
│ ├── index.html
│ └── scripts/
│ └── angular/
│ └── spotfireSpa/
│ └── controller.js
├── pom.xml # Maven configuration

Comprehensive DevOps and Modern Software Delivery Toolchain Overview

· 15 min read
Anand Raja
Senior Software Engineer

These tools cover infrastructure automation (Terraform), CI/CD (Jenkins, Spinnaker), workflow orchestration (Airflow), operations (Rundeck), code quality and security (SonarQube, Veracode), feature management (Split.io), service discovery (Eureka), API management (Kong, Zuul), web serving and proxying (Nginx, Reverse Proxy, Apache HTTP Server), content delivery and security (Akamai, Cloudflare), artifact management (JFrog), analytics (Pendo, Snowplow), Java builds (Gradle, Maven), Java app hosting (WildFly), and Ruby app servers (Puma, Unicorn). Each plays a key role in modern DevOps, analytics, and software delivery pipelines.

Bastion and Dynamic Port

· 12 min read
Anand Raja
Senior Software Engineer

Bastion Host

A bastion host is a special-purpose server designed to act as a gateway between a public network (e.g., the internet) and a private network. It provides secure access to resources in the private network by acting as an intermediary. Bastion hosts are commonly used in cloud environments to securely access servers that are not directly exposed to the internet.

The reason for the name "Bastion host" comes from the term "bastion," which refers to a projecting part of a fortification built at an angle to the line of a wall, so as to allow defensive fire in several directions. Similarly, a Bastion host acts as a fortified gateway, protecting the internal network by acting as the only point of entry for administrative access (such as SSH or RDP) and minimizing the attack surface exposed to the public.

USSD Codes

· 3 min read
Anand Raja
Senior Software Engineer

Here are some USSD codes for various purposes, including checking device information, managing call forwarding, and other network-related tasks. These codes are widely used on Android devices and may vary depending on your carrier or device manufacturer.

USSD (Unstructured Supplementary Service Data) is a communication protocol used by mobile devices to interact with a service provider's systems. It allows users to send short codes (starting with * or #) to access various services, such as checking account balances, activating services, or troubleshooting network issues.

VPN

· 5 min read
Anand Raja
Senior Software Engineer

A VPN (Virtual Private Network) works by creating a secure, encrypted connection (often called a "tunnel") between your device and a VPN server. Here’s how it works step by step:

Backstage IO

· 3 min read
Anand Raja
Senior Software Engineer

Backstage.io is an open-source developer portal platform created by Spotify. It is designed to help organizations manage their software infrastructure, tools, and services in a centralized and organized way. Backstage provides a unified interface for developers to access documentation, APIs, CI/CD pipelines, monitoring tools, and other resources, improving productivity and collaboration.

Quick CSS Tips - part 1

· One min read
Anand Raja
Senior Software Engineer

Changing the color of checkbox if checked

<label for="checkbox1" class="checkbox">
<input id="checkbox1" type="checkbox" role="checkbox" />
<span class="custom"> Checkbox </span>
</label>

HTML & JS: Quick Tips - part 1

· One min read
Anand Raja
Senior Software Engineer

How to copy a text from a website which prevents copying from UI?

  1. Click on select option (Arrow with dotted arrow) in element tab on the console of the browser.
  2. click on the UI text using select arrow as shown in the below image
  3. Selected element will be stored under the variable $0. You can see it in the below image.