Topic
Programming
33 articles

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 […]

Terraform As a DevOps Tool (IaC) And Benefits (Part 2)
In this article, we will explore terminologies and basic commands that can be used to interact with Terraform. Using Terraform init, an existing or new Terraform configuration can be initialized. As a beginner, you may get syntax errors or indentation errors. To validate theYAML data, use the Terraform “validate” command. The “Terraform apply“ command changes […]

Terraform as a DevOps tool (IaC) and benefits (part 1)
Nowadays, the term “Infrastructure as Code (IaC) is very popular. This code is written in the YAML or JSON format and directly deployed in cloud services. One of the IaC tools is Terraform. It is used for creating and managing existing infrastructure, including versions of stats. Terraform supports many cloud providers, such as Amazon Web […]

Functions and Arrow Functions
Overview Functions and arrow functions serve the same purpose. In this article we will see what functions and arrow functions are and their major differences. functions When we often want to perform the same task in multiple places on a website or application, we use the concept called function. A function is a block of […]

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 […]

Synchronous and Asynchronous Programming in JavaScript
Javascript is a single-threaded, non- blocking, asynchronous programming language. What is Synchronous Programming ? Synchronous means tasks are performed one at a time,we have to wait for tasks to finish to move to the next task. What is Asynchronous Programming ? In Asynchronous programming we don’t have to wait for a task to finish, you […]

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 […]

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 […]

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

CPU Usage Monitoring using Android Profiler
The Android Profiler is nothing but a replacement for Android Monitor tools in Android Studio 3.0 and higher. Android Profiler tools get real-time app data which helps to understand how your app uses CPU, memory, network, and battery resources. How to enable Android Profiler Enable inbuild profiler in android studioView > Tool Windows > Profiler […]

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 […]

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 […]

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 […]

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 […]

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 […]

Replacement of Deprecated AsyncTask in Android
AsyncTask is used to perform time talking operations in android, but it’s marked as deprecated from android 11. There are many alternatives are available for replacing an AsyncTask, one of the replacements is ExecutorService. AsyncTask Code: Above code snippet is general example of AsyncTask, for replace deprecated Async class, first create one Generic Class which […]

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) […]

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, […]

Secured alternative for JWT
PASETO is one such token which is being accepted as the best secured alternative for JWT. PASETO is more secure and simple than JWT.

Zip files from Amazon S3
There is no method that retrieves multiple files as a single zip file from Amazon S3. But, with AWS Lambda we can achieve our goal

Extract Gzip data in Javascript
Gzip is a file format used to compress and decompress files. You can extract uncompressed data from gzip files in pure JS.

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.

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

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.

Best security practices in MQTT protocol
The MQTT protocol is a networking protocol. Authentication, access restriction and data security are few best security methods.

Serializing RSAPublicKey in Java / Android
Serializing RSAPublicKey in Java and Android

Hello Q# World!
Writing Hello World Program in Q# using Visual Studio

List of all widely used ADB commands
Android Debug Bridge (adb) commands are very useful while debugging any Android device but at the same time it’s difficult to find all the commands at one place. In this article, you will find 200+ ADB, shell and fastboot commands which are commonly used for debugging Android devices. Using these commands can reduce the required […]

Cross Platform Asymmetric Key Serialization
Serializing And Deserializing RSA Public Key Across Different Programming Languages

Quantum Programming
Getting started with Quantum Programming

Prevent Security Leaks during Web Development
Consider a business case where you have to develop a webpage to expose a functionality to the user. While discussing the tech stack, the first thing that will occur to our mind is HTML,CSS and JavaScript. However, there are security vulnerabilities that can be caused due to these tools or technologies. In this tech-savvy world, […]

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 […]

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 […]
