Tech Blog

Topic

Coding

88 articles

Active Directory Federation Service
July 5, 20235 min read

Active Directory Federation Service

Active Directory Federation Service (ADFS) uses claims-based identity model to maintain application security and to implement federated identity. ADFS is a concept of Windows Server operating system, that provides users with single sign-on access to the application, those are located across organizational boundaries. For Example: We have 2 organizations – Organization 1 and Organization 2. […]

By Abinash MishraRead More →
Remote Access to Microsoft SQL Database Server
April 5, 20232 min read

Remote Access to Microsoft SQL Database Server

Remote access to a SQL server is important because it allows users to access the server from anywhere, at any time. This enables remote workers to access the data they need when they need it, even if they are not physically in the same location as the server. It also allows IT admins to access […]

By Malkeet SinghRead More →
Types of Load Balancer in AWS
February 6, 20235 min read

Types of Load Balancer in AWS

What is Load Balancing ? Load balancing is a critical component of any scalable and highly available Cloud or On-premise architecture. It helps distribute incoming traffic across multiple servers, improving the availability and scalability of a website or application. In the cloud, load balancing is offered as a service by various cloud providers such as […]

By Keerthik ShenoyRead More →
SSH into a Docker Container
February 6, 20234 min read

SSH into a Docker Container

Hi there! Here we will see how to enable SSH into a Docker Container. Firstly let’s see what Docker and SSH are What is Docker? Docker is a containerisation tool that helps run an application in an isolated environment. Some Important terms that you will get while reading/listening to anything related to Docker Docker File: […]

By Mayur GoraniRead More →
Using adb command to make a call, reject a call and sending / receiving a message
February 6, 20232 min read

Using adb command to make a call, reject a call and sending / receiving a message

1. Incoming calls/Outgoing call Two devices are required to make incoming calls and single device is required to make an outgoing call Using two devices to make incoming calls or outgoing callcmd : adb -s “UDID Number” shell am start -a android.intent.action.CALL -d tel:”Phone number” Using single device to make outgoing callcmd : […]

By Birundha GRead More →
Map, Filter, Reduce in Javascript
February 6, 20232 min read

Map, Filter, Reduce in Javascript

Overview: .map(), .filter(), .reduce() are all array methods in javascript. Each method will iterate over an array and perform transformations or computation. Each will return a new array based on the result of the function. Lets see how to use each of these methods in this article. Map : The map() is a method that […]

By Priyanka SRead More →
How to Automatically Trigger Builds at Scheduled Time Using Jenkins?
January 9, 20233 min read

How to Automatically Trigger Builds at Scheduled Time Using Jenkins?

In continuous automation suite execution, it is important to run test cases every day and at certain time intervals to ensure that the product is working seamlessly in production.If any cases fail, the QA is alerted and the issue is fixed before a customer encounters the issue. Cron Patterns helps to achieve automation by scheduling […]

By Keshav TNRead More →
Angular nglf
December 20, 20223 min read

Angular nglf

In this blog we will explore how to use ngIf with “Else” statement and “Then”. Angular ngIf: Even Though HTML is a programming language, it doesn’t have an if statement like Javascript. The Angular ngIf directive will work essentially as an if statement for HTML. Example: In the above example, the container div will only […]

By Priyanka SRead More →
Caching for making your website faster
October 7, 20225 min read

Caching for making your website faster

Hey folks… What would you do if you want to read a book everyday? Would you go to the library everyday or just purchase a copy and keep it at your desk? You would obviously purchase. Similarly, when we need milk for a restaurant instead of going to the dairy to purchase every time, we […]

By Mayur NagraleRead More →
How Angular is Different from AngularJS
September 27, 20227 min read

How Angular is Different from AngularJS

What is Angular? Angular is a popular open-source Typescript framework and free to use. Considered to be a JavaScript-based framework,TypeScript.is its primary programming language. TypeScript is Developed by Microsoft and its superset of JavaScript, which simply means that TypeScript has all the capabilities that JS has and more additional features. Angular is majorly used for […]

By Sachin DevadigaRead More →
Angular constructor vs ngOnInit
September 15, 20223 min read

Angular constructor vs ngOnInit

Overview: If you are new to angular or have been working with it for a while, you will have questions like: Is it necessary to inject dependencies in the constructor and bind data? When should we use ngOnInit ? What is the difference between constructor and OnInit?. So, in this blog we will answer all […]

By Priyanka SRead More →
CORS – Cross Origin Resource Sharing
September 15, 20224 min read

CORS – Cross Origin Resource Sharing

Are you one of those wondering what is CORS or facing issues with your website due to CORS policy? Let’s get to know more about CORS. CORS is a mechanism that enables things like sharing content/sources between two domains/websites. This kind of request is called a Cross-Origin request, as a resource of one domain is […]

By Srikanth BodicherlaRead More →
Variables in CSS
September 12, 20222 min read

Variables in CSS

CSS variables (also referred as CSS custom properties) are just like simple variables in other programming languages. They reduce the redundant work. They are used to storing values and reused at multiple places and updated/modified from one place. Syntax: CSS variable is any CSS property whose name starts with two dashes. Like Custom property names […]

By Irshan AhmedRead More →
Thunder Client – an alternative to Postman
September 12, 20223 min read

Thunder Client – an alternative to Postman

Overview : As developers who are dealing with implementation of code in our daily life, we recommend using efficient and effective tools, applications, extensions and methods for our comfort and ease. As a backend developer it is necessary to test API every time. Generally we use Postman to test the APIs. To use a postman, […]

By R SudheerRead More →
Angular – Difference between ng-container and ng-template
July 13, 20222 min read

Angular – Difference between ng-container and ng-template

Overview: ng-container and ng-template, both are angular elements which will work like containers with HTML elements, but with different purpose/use cases. Lets see what is the use of ng-container and ng-template below: ng-container: In some cases when you do not want to add an extra HTML element to the DOM , for example like div […]

By Priyanka SRead More →
Verify google recaptcha with Node.js
June 20, 20223 min read

Verify google recaptcha with Node.js

Overview Google Recaptcha is a captcha system provided by Google to distinguish between humans and robots. There are two versions of Recaptcha, namely Recaptcha v2 Recaptcha v3 This blog will help you understand how google Recaptcha can be used along with node.js and a simple HTML page. Approach There are following basic steps to follow […]

By Kishan DasaniRead More →
Which ‘Quick Settings’ Tiles can you control using setQuickPanelItems() in a Samsung Android device
June 7, 20222 min read

Which ‘Quick Settings’ Tiles can you control using setQuickPanelItems() in a Samsung Android device

What is a Quick Settings Tile? Quick Settings Tiles are the individual items in the notification panel that represent several system settings such as Wifi and Bluetooth, which can be accessed at any time. But what if you want to block these ‘Quick Settings’ Tiles on your device? In Samsung devices secured by Knox Premium […]

By Mahek pariawalaRead More →
How to extract APK file of installed application in Android programmatically
June 6, 20221 min read

How to extract APK file of installed application in Android programmatically

Step 1 : Get the path of the installed application Step 2 : Store the Apk file in required folder

By Sushant Singh RathoreRead More →
Disable MAC Randomization in Android 10 and above devices
June 1, 20223 min read

Disable MAC Randomization in Android 10 and above devices

Recently we came across an interesting feature, to set static MAC address for the wifi ssids for Android 10 and above devices.MAC Randomization generates a random MAC address for a wifi ssid for the following conditions mentioned below :- When connecting with that particular network for the first time=- Forget and rejoin the network. in […]

By Kumar gauravRead More →
Set up work profile on company owned android 11 and above device
June 1, 20223 min read

Set up work profile on company owned android 11 and above device

Android 11 introduces work profiles for company owned devices with improved support for work profiles. If a work profile is created from a setup wizard using QR code or zero touch enrollment, the device is recognized as Work profile on company owned devices. If a work profile is created using any other method except the […]

By Kumar gauravRead More →
How to Restrict Broadcast within an Application in Android
April 29, 20221 min read

How to Restrict Broadcast within an Application in Android

Whenever we initiate an event through a broadcast in our application then that broadcast is announced system wide. So any application who is listening to the broadcast with the same action and category that our application is broadcasting then that application will also be notified about the broadcast. Is there a way to restrict broadcasts […]

By Satyabrata DashRead More →
Getting started with Java Streams
April 29, 20223 min read

Getting started with Java Streams

Introduced in JDK v1.8, Streams concepts makes the life of programmers a lot easier. Don’t believe me! read along, at the end of this blog you’ll have a basic idea how we can use Streams APIs in our day to day programming life and once you get the hang of it, you will love it. […]

By Satyabrata DashRead More →
Getting started with the android Navigation component
April 29, 20223 min read

Getting started with the android Navigation component

The navigation from one screen to another in android applications is made easier through android Navigation component. With the Navigation component, we get a collection of libraries and tools that simplifies navigation and gives the programmer a visualization of how the navigation works. Advantages of using Navigation component 1. Simplified setup and common navigation 2. […]

By Satyabrata DashRead More →
JavaScript to TypeScript Conversion
April 4, 20222 min read

JavaScript to TypeScript Conversion

In this blog we are going to know how to convert javascript files to typescript files. Even though while compiling a typescript file it will produce javascript files with the same name , we have to ensure that the original javascript file which acts as input , is present in a directory so that typescript […]

By MunaswamyRead More →
Difference Between CSS and SCSS
March 30, 20228 min read

Difference Between CSS and SCSS

Over the past few years, CSS has been the first choice of the developers when it comes to web creation and development. However, the influence of SASS (Syntactically Awesome Style Sheets) in the market significantly reduced the overall use of CSS. There is an enhanced version of SASS known as the SCSS- deployed widely in […]

By Sachin DevadigaRead More →
Essential guide to SCSS
March 30, 20225 min read

Essential guide to SCSS

Now a days every programmer will follow a principle which says Don’t Repeat Yourself(DRY), So, we have methods/functions in programming and we can call them when it is needed and we have conditional attributes in HTML to display html elements conditionally. When we think about CSS, stylesheets are getting larger and harder to maintain due […]

By Srikanth BodicherlaRead More →
MongoDB – Working with Date and Time
March 29, 20223 min read

MongoDB – Working with Date and Time

Overview One of the most common pain points in querying mongodb is datetime operations. Even if you know the query operators, typing the query will raise doubts. In this blog I will try to help you out on date queries in MongoDB. MongoDB Query Example (less than) Assume that you have the following record stored […]

By Milind SoniRead More →
Deep dive into android developer options
March 28, 20224 min read

Deep dive into android developer options

Android developer options have many usages like usb debugging, transition speed, showing and hiding layout bounds, and features which are helpful for developers for android app development. To enable android developer options : Below Android 4.2 – Developer options is enabled by default. Android 4.2 and above – To enable tap on Build Number options […]

By Aaquib NiazRead More →
Understanding Taints and Tolerations in Kubernetes
March 28, 20223 min read

Understanding Taints and Tolerations in Kubernetes

Node affinity is a concept where pods are attracted to a set of nodes either through hard or soft requirement. On the other hand, Taints work quite the opposite to node affinity. Taints allow nodes to repel a set of pods, the ones which do not tolerate the taints. Tolerations are applied to pods. It allows […]

By Sai NandhanRead More →
BigQuery Views
March 28, 20223 min read

BigQuery Views

View is a technique to create a virtual copy of a table by querying it. The technique is beneficial when we repeatedly need the latest data from the original table. We will discuss two types of views, Standard and Materialized, in this blog. Standard View: A standard view is helpful when we do not want […]

By Jigna ChandaranaRead More →
Temporary Tables in BigQuery
March 28, 20222 min read

Temporary Tables in BigQuery

Data is extracted from the BigQuery with the help of some SQL queries and provides the result in some temporary table. BigQuery temporary table can cache the query results, name them randomly and stored in a special database. Temporary table is stored in BigQuery for 24 hours and we can also retain/query that table and […]

By Jigna ChandaranaRead More →
Avoidable mistakes while Working with Gradle
March 28, 20223 min read

Avoidable mistakes while Working with Gradle

In This Blog we have seen how to avoid mistakes which people face while working with Gradle and some best practices

By 42Gears TeamRead More →
Creating Debian Package
March 28, 20227 min read

Creating Debian Package

This Blog describe how to create a Debian package from scratch with example and focus on common mistakes that people do.

By 42Gears TeamRead More →
Getting Notification related to our application using microphone even though microphone permission is not declared in application’s Manifest file (Android).
March 24, 20224 min read

Getting Notification related to our application using microphone even though microphone permission is not declared in application’s Manifest file (Android).

Recently, we found an interesting bug while working with one of our partners. The issue was that even though our application and the libraries needed for our application were not using the microphone permission,still we were getting notifications related to our application using the microphone.The issue was easily reproducible on their set of devices as […]

By Kumar gauravRead More →
Accessing Removable SD card in Android Studio
March 18, 20223 min read

Accessing Removable SD card in Android Studio

For Android versions that are below Android 10, accessing the External Storage of your device is pretty straightforward. The method Environment.getExternalStorageDirectory() would return the appropriate path but now, this method is deprecated and only points to /sdcard which is not necessarily the removable secondary storage path. You could try to hardcode the path such as […]

By Mahek pariawalaRead More →
Remote support touch events on Chrome OS devices.
March 18, 20222 min read

Remote support touch events on Chrome OS devices.

Many Chrome OS devices for instance,chrome book now support Android apps and Google play store. Android apps designed for phones and tablets can be optimized for Chromebooks. There are various applications such as SureMDM, Teamviewer, Anydesk to remotely access android devices and perform touch events on them with the help of their corresponding android client […]

By Raaziya SultanaRead More →
How to get configured APN types from the APN Type Bitmask?
March 18, 20224 min read

How to get configured APN types from the APN Type Bitmask?

OVERVIEW : An Access Point Name (APN) provides a gateway to connect different carrier mobile networks (GSM, GPRS, 3G, 4G) to another computer network, which mostly is the public internet. Carrier reads APN Settings to generate an IP Address, connect to the secure gateway, determine if the private network is required, and more. Most of […]

By Ankur AgrawalRead More →
Useful Shortcut to Speed up Android Development
March 18, 20223 min read

Useful Shortcut to Speed up Android Development

Developing Android Application as an Android Developer requires a lot of things out of which writing code & navigating through code is an important aspect . So while doing that you can use a bunch of shorthand tricks that will help you speed up your development process. 1. Recent File List : Ctrl + E (in Windows) […]

By Sushant Singh RathoreRead More →
How to troubleshoot the “not reproducible” bugs reported by customers
March 15, 20223 min read

How to troubleshoot the “not reproducible” bugs reported by customers

Often we come across bugs reported by customers which are not reproducible at our end but it is reproducible in the customer’s environment. Once you’ve made a number of attempts to reproduce the issue and eliminated the most obvious cases, the cause is something less obvious. It could be the customer using a different configuration, […]

By Shashipriya reddyRead More →
How Monkey Testing command can be useful in Automation
March 14, 20224 min read

How Monkey Testing command can be useful in Automation

We usually see every QA engineer executing many test cases for regression testing manually during the sprint cycle. And during this time we tend to forget (or sometimes neglect) to perform some stress testing on applications. Even if the tester tries different scenarios by putting random values and checking, there are very less chances of […]

By Keshava kumaraRead More →
Basics of Shell Scripting
March 11, 20225 min read

Basics of Shell Scripting

Unix is a multi-user operating system that can handle numerous users’ activities at the same time. The development of Unix was near 1969 at AT&T Bell Labs by Ken Thompson and Dennis Ritchie. Kernel − Kernel is regarded as the operating system’s heart. It interacts with the hardware and tasks like memory management, task scheduling, and […]

By 42Gears TeamRead More →
Schedule Queries in BigQuery
March 9, 20222 min read

Schedule Queries in BigQuery

When you want to run BigQuery queries on a recurring basis, BigQuery provides an amazing feature called Schedule Queries. Schedule queries can include data definition language (DDL) and data manipulation language (DML) statements and can be written in Standard SQL. It is pretty easy to create and delete scheduled queries. All you need is BigQuery […]

By Jigna ChandaranaRead More →
Horizontal Pod Autoscaling (HPA) In Kubernetes Based On Custom Metrics
March 9, 20224 min read

Horizontal Pod Autoscaling (HPA) In Kubernetes Based On Custom Metrics

Hi everyone!! In kubernetes, Horizontal pod autoscaling(HPA) is mostly done either based on CPU or memory. But, in some cases, we’d like to scale the pods based on custom metrics such as ‘number of http requests received per second’. In this tech blog, I will explain how that can be achieved. Generally, there are 3 […]

By Sai NandhanRead More →
Fetch more than 1000 objects from S3 using C#
March 9, 20221 min read

Fetch more than 1000 objects from S3 using C#

You know that we can't get more that 1000 objects in a response from S3 at a time. Read to know how to get all objects from S3.

By Vidhathri AvadhanyRead More →
How to use Deeplinks in Android
March 9, 20223 min read

How to use Deeplinks in Android

Deep links are links that take users straight to an app rather than a website. Deeplinks in android saves time, increases the user experience.

By Aditya YadavRead More →
Node Affinity in Kubernetes
March 8, 20224 min read

Node Affinity in Kubernetes

Hi everyone!! While managing the kubernetes deployment, have you ever wanted a pod to get scheduled on a particular node, but it doesn’t happen the way you want and the pod gets scheduled randomly in any of the nodes. Don’t Worry, there is a way through which we can make this happen using the concept […]

By Sai NandhanRead More →
Generate huge reports from BigQuery efficiently
March 8, 20223 min read

Generate huge reports from BigQuery efficiently

BigQuery is a fully managed enterprise data warehouse that helps us to manage,analyze our data, helps in generating huge reports efficiently

By Aditya YadavRead More →
Using Counting Semaphore with Async and Await in C#
March 8, 20223 min read

Using Counting Semaphore with Async and Await in C#

The term "semaphore" refers to an integer variable that is shared by multiple threads. The async keyword enables the await keyword.

By Aditya YadavRead More →
Deploying Prometheus and Grafana using Helm in kubernetes
March 7, 20223 min read

Deploying Prometheus and Grafana using Helm in kubernetes

Hi Everyone!! If you have deployed any application using kubernetes, it is very important to monitor the kubernetes cluster and the application. ‘Monitoring’ plays a crucial role. For monitoring purposes, the popular and widely used tools are prometheus and grafana. They are often used together. Prometheus is used to store the metrics and grafana is […]

By Sai NandhanRead More →
Check if a Windows Service is up through C#
March 3, 20221 min read

Check if a Windows Service is up through C#

This blog helps you to write a function to check if a windows service is running. You can further restart or stop the service.

By Vidhathri AvadhanyRead More →
Check if a folder exists in S3 through C#
March 3, 20222 min read

Check if a folder exists in S3 through C#

This blog demonstrates a small function which checks if a particular folder exists in S3, provided the bucket name.

By Vidhathri AvadhanyRead More →
Use Mailgun over SMTP
February 24, 20221 min read

Use Mailgun over SMTP

Mailing is an important part of any application. Let's see how we can send emails using SMTP MailGun credentials.

By Vidhathri AvadhanyRead More →
Serializing RSAPublicKey in Java / Android
February 23, 20222 min read

Serializing RSAPublicKey in Java / Android

Serializing RSAPublicKey in Java and Android

By Pranay ChoudharyRead More →
Hello Q# World!
February 23, 20223 min read

Hello Q# World!

Writing Hello World Program in Q# using Visual Studio

By Pranay ChoudharyRead More →
Make your BigQuery queries Faster and Cheaper!!! Part-2
February 21, 20224 min read

Make your BigQuery queries Faster and Cheaper!!! Part-2

Following the previous blog where we discussed some important features of bigquery – Clustering and Partitioning. And we left on a question that, are these the only way to improve query performance? And as you already know the answer is ‘No’. So, What is that technique/feature? 🤔 Query performance can be optimized/improved by choosing the right/appropriate […]

By Jigna ChandaranaRead More →
Authorization In HiveMQ Using Extension
February 16, 20222 min read

Authorization In HiveMQ Using Extension

Authorization In HiveMQ Using custom Extension, encryption/decryption in HiveMQ, check valid message in HiveMQ

By Yash chandvaniRead More →
Generate large excel files in C#
February 16, 20222 min read

Generate large excel files in C#

Generate large excel files in C#, Generate large excel files in .net, XLSX files in C#, Huge excel reports, large excel sheets in c#

By Yash chandvaniRead More →
Cross Platform Asymmetric Key Serialization
January 19, 20224 min read

Cross Platform Asymmetric Key Serialization

Serializing And Deserializing RSA Public Key Across Different Programming Languages

By Pranay ChoudharyRead More →
Quantum Programming
January 19, 20223 min read

Quantum Programming

Getting started with Quantum Programming

By Pranay ChoudharyRead More →
Make your BigQuery queries Faster and Cheaper!!!
January 18, 20223 min read

Make your BigQuery queries Faster and Cheaper!!!

BigQuery is a great tool to analyze huge amounts of data quickly but there are many times we only care about analyzing a subset of data, for example analyzing data over a particular period of time or over particular columns. But in the on-demand model you are charged on the basis of data volume which […]

By Jigna ChandaranaRead More →
DNS tweaks for Developer and Testers
January 4, 20224 min read

DNS tweaks for Developer and Testers

In this work-from-home situation, the developer needs DNS hosting (Public or local) for testing or R&D purpose. Very difficult to achieve above the things in Home-based routers or Hotspot devices. Hence, we can use the below steps to achieve a DNS host for testing. Developers or testers are do everything from controlling access to websites […]

By 42Gears TeamRead More →
Configurable .NET Core application
December 22, 20215 min read

Configurable .NET Core application

This is the ultimate guide to make your .NET CORE application configurable. To make our app configurable, we must have an appsettings.json

By Vidhathri AvadhanyRead More →
findViewById()  vs  DataBinding
November 16, 20212 min read

findViewById() vs DataBinding

We are all familiar with the findVIewById() method but it is a costly operation for applications. Each and every time we try to do findVIewById() that particular view is being searched in the view hierarchy during runtime which is a time consuming process and it can slow the application for the user. To fix it […]

By Satyabrata DashRead More →
Hands on with Docker from scratch
September 29, 20212 min read

Hands on with Docker from scratch

Docker is a containerization tool. It creates, manages and maintain the containers. It is a lightweight container orchestration tool. It’s easy to deploy an applications with in containers and offers fast way of application execution, efficient way to build, Interoperability and multiple OS level abstraction. Steps for Docker installation in UbuntuUpdate the packages command : Adding […]

By Utsav SolankiRead More →
Why ClamAV is required and steps to install it.
September 29, 20212 min read

Why ClamAV is required and steps to install it.

Nowadays, data is very much important to persist securely. Generally a computer system without antivirus can be considered safe, if it does not have internet connectivity. But when it bridges to the internet it transpires whole world information and other unnecessary data also in it. There are many operating systems available which have user friendly […]

By Utsav SolankiRead More →
Encrypt and Decrypt a message using DES Algorithm in Python
September 29, 20213 min read

Encrypt and Decrypt a message using DES Algorithm in Python

What is Cryptography? Cryptography is that the art of communication between a sender and a receiver using codes in order that only those for whom the knowledge is meant can read and process it. Terminologies of Cryptography Plain Text: it is the text which is readable and can be understood by all users. Cipher Text: the message obtained after applying cryptography on […]

By 42Gears TeamRead More →
Efficient way to process large text/log files using awk with Python
September 27, 20214 min read

Efficient way to process large text/log files using awk with Python

The efficient way to read and process very large (> 5GB) text/log files with Python. Integrate C based tools with Python

By HemanthRead More →
How to fetch unread lines from a large file that is dynamically adding logs using python?
September 27, 20212 min read

How to fetch unread lines from a large file that is dynamically adding logs using python?

Analysts often depend on log files to dive deeper into the issues that break systems. Handling huge log files that are more than 10GB line by line and seeking the RCA is hectic as well as time-consuming. Here is one way to get unread lines from a large file where logs are being added every […]

By ThanujaRead More →
Python | Pandas DataFrame – Basics
April 5, 20214 min read

Python | Pandas DataFrame – Basics

Pandas is one of the most useful and powerful libraries to Analyze the different formats of data and make the work simple, accurate and fast.

By HemanthRead More →
How to compress/zip files older than x days and delete the original files post compression using power shell script.
April 5, 20212 min read

How to compress/zip files older than x days and delete the original files post compression using power shell script.

If your application is generating huge log files everyday or you have a big database backup which needs to be stored somewhere then definitely storage space is one of the big concerns here. By compressing the files you can save a lot of storage space. But compressing files manually on a daily basis is one […]

By Mahesha HCRead More →
Monitor multiple AWS MSK Clusters in a single machine
March 30, 20216 min read

Monitor multiple AWS MSK Clusters in a single machine

In this blog, we will see how to monitor multiple AWS MSK Clusters in a single machine without creating a separate job or machines Problem Outline You can monitor multiple AWS MSK Clusters in a single machine by creating multiple jobs for each and every cluster or defining multiple brokers in a single job. In […]

By Yash chandvaniRead More →
Monitoring IIS Based Web Application With ELG Stack (Elastic, Logstash, Grafana)
March 30, 20214 min read

Monitoring IIS Based Web Application With ELG Stack (Elastic, Logstash, Grafana)

We will build an analytics solution for IIS based web application, we will be using ELG stack(Elasticsearch, Logstash, Grafana) and FileBeat

By AbhishekRead More →
Access Google Cloud Pub/Sub on Android without using credential file
March 30, 20212 min read

Access Google Cloud Pub/Sub on Android without using credential file

This blog will explain to you to access multiple Google Cloud Pub/sub dynamically from the android app without using credential files

By Yash chandvaniRead More →
MongoDB vs SQL
March 26, 20214 min read

MongoDB vs SQL

Introduction MongoDB and SQL are two opposite sides of the database world. MongoDB deals with chaotic unstructured data, while SQL deals with organized structured data, both having their own set of advantages and disadvantages and different types of use cases. In this topic, we will learn about the basic comparison between MongoDB vs SQL databases. […]

By Tasmiya KousarRead More →
Using adb for speeding up the Device Owner Enrollment
March 25, 20212 min read

Using adb for speeding up the Device Owner Enrollment

Problem Statement: Enrolling devices to DO Mode is time taking process which involves factory reset. To overcome this difficulty we can make use of adb commands, configure the app as Device Owner in just few mins without worrying about factory resetting the device . Prerequiste: 1.Enable adb & install adb tools on PC you can […]

By Chanakya raichurRead More →
How to transfer ownership(Device owner) from one android application to another?
March 17, 20212 min read

How to transfer ownership(Device owner) from one android application to another?

There can be many ways to achieve transfer ownership(Device owner) from one android application to another. Transfer of ownership means transfer of one administrator to another. I am going to explain one of the simplest ways to transfer ownership in this blog. In Device owner mode: Once the device is factory reset and provisioned using […]

By Kumar gauravRead More →
Split Large Text file into smaller parts
March 16, 20211 min read

Split Large Text file into smaller parts

Let’s take an example where you need to run a script for a large file of 10 GB, what would the consequences be? Either it will take a lot of time or the program will crash. To avoid such situations we need to divide the text file into smaller parts accordingly. Let’s get started with […]

By 42Gears TeamRead More →
Deploy a .NET Core Web Application on Kubernetes in GCP with HTTPS
February 22, 20215 min read

Deploy a .NET Core Web Application on Kubernetes in GCP with HTTPS

This blog will cover how to deploy a .NET Core Web Application on Kubernetes in Google Cloud Platform(GCP). Starting from setting up GCP to running the application on web browser. We will also be covering steps to integrate HTTPS with our web application. But let’s first have a look at what exactly HTTPS is! You […]

By Jhanvi chanababaRead More →
How to run Broadcast Receiver on Worker Thread?
February 14, 20211 min read

How to run Broadcast Receiver on Worker Thread?

Provide the scheduler to registerReceiver, which will run the broadcast receiver in the context of the scheduler (worker thread).

By Bvmg karthikRead More →
Bare Minimum code for Authenticating Google G-Suite users in ASP.NET
February 8, 20214 min read

Bare Minimum code for Authenticating Google G-Suite users in ASP.NET

Google OAuth2 Authentication using Owin Security in your ASP.NET C# project using just few lines of code Visual studio scaffolding allows you to generate code to perform Google G-Suite authentication while creating a new ASP.NET project. However, this scaffolding adds a lot of code to your project that you may not require. I will walk […]

By Pranay ChoudharyRead More →
kubernetes secrets for storing .net core appsettings.json
February 8, 20214 min read

kubernetes secrets for storing .net core appsettings.json

If you are working on .net core application and doing the kubernetes deployment, there is an important consideration one must consider which will be explained below Every .net core project consists of one config file(appsettings.json) which contains connection strings that includes sensitive information such as server ips, passwords etc that shouldn’t be exposed to anyone. […]

By Sai NandhanRead More →
Mitigating BREACH attack in Nginx server
February 4, 20211 min read

Mitigating BREACH attack in Nginx server

BREACH is one of the commonly seen vulnerabilities in all types of web servers. In the Ngnix server there are multiple fixes available but choosing the appropriate mitigation technique is challenging Disabling compression HTTP compression and gzip filter module is the best solution to mitigate this vulnerability this will completely eliminate the side-channel attack. Below […]

By Murgananda ARead More →
Analyze, Measure and Optimize Battery and Data usage of your Mobile app on Android devices using Automation
February 2, 20213 min read

Analyze, Measure and Optimize Battery and Data usage of your Mobile app on Android devices using Automation

Application Data and Battery usage by mobile applications is an important factor for Mobile users. In the era of using mobile apps that support push notifications and data sync (Gmail, official twitter and facebook apps, UEM client, Gmaps) or using apps set to check every x minutes for accounts to get near-immediate notifications (email clients) […]

By Uma AnandRead More →
Enable IPv6 support in Nginx
January 28, 20211 min read

Enable IPv6 support in Nginx

Nginx is a web server which is commonly used as a reverse proxy and load balancer to manage incoming traffic. IPv6 provides a much larger address pool (128-bit address) than IPv4 (32-bit address) so that many more devices can be connected to the internet. It also improves addressing and routing of network traffic. Following are […]

By Ritu fichadiyaRead More →
No Image
December 3, 20201 min read

Delete File or Folder path in C#

Following is a C# code snippet to delete a path (file or directory). First we have to determine whether the path is a file or a folder and then call appropriate Delete methods. In case of directory, you can specify whether the contents should be recursively deleted before deleting the directory. void DeletePath(string path) { […]

By 42Gears TeamRead More →
C# code to soft reset a Windows Mobile device
December 3, 20201 min read

C# code to soft reset a Windows Mobile device

Here is the C# code to soft reset a Windows Mobile device (using P/Invoke)

By 42Gears TeamRead More →
How to block Control + Alt + Delete in Windows 7 and 8?
December 3, 20202 min read

How to block Control + Alt + Delete in Windows 7 and 8?

Control + Alt + Delete is a powerful key combination to terminate a running program/task or restart a computer/Windows device. Blocking this key combination becomes crucial when your Windows 7 or Windows 8 device is being used as a kiosk. SureLock blocks this key combination with its Keyboard Filtering feature. To block Control + Alt +Delete, follow below mentioned steps: 1. On SureLock Home Screen, tap anywhere 5 times […]

By 42Gears TeamRead More →
How to get process id and thread id from a Window Handle in .NET CF?
December 3, 20201 min read

How to get process id and thread id from a Window Handle in .NET CF?

Specify the namespace for doing P/Invoke stuff i.e. calling Win32 API functions from managed code. GetWindowThreadProcessId Win32 function retrieves the identifiers of the process and thread that created the specified window. Here is how we declare GetWindowThreadProcessId for use in managed code (c#). Description: hWnd is the window handle lpdwProcessId stores the process identifier after the […]

By 42Gears TeamRead More →