Skip to main content

Posts

Showing posts with the label C Programming

Featured

Adobe Experience Manager - Create an OSGI Configuration

 In this article, let's create an OSGi configuration, configure it and use it in AEM code. So now let's get started with the creation of an OSGi configuration. Technical details and Assumptions: All the following details are tested in AEM version 6.5.8, Java version 11.0.2 Creation of OSGi configuration: To create an OSGi configuration we need to create an ObjectClassDefinition. I have included a sample OCD configuration, which can be used as a reference to create one. The next step would be to create an interface and an implementation that can help fetch the OSGi configurations.  Interface: Implementation: Let's try to use the OSGi configuration created so far in Models/Servlets. For demonstration purposes, I used AEM Models here, but the same can be implemented in Servlets too. Now that we have created the OSGi configuration. Once building the code, we should be able to see the OSGi configuration in the web console (http://localhost:4502/system/console/configMgr) C...

Brian Kernighan’s Algorithm - Count the set bits

Add two numbers represented by linked lists

Run Length Encoding

Count of set bits - 1

Pattern Printing II

Debug Challenge

Operations on Doubly Linked List

C program to search the element in an array using Binary searching method

C program to search the element in an array using Linear searching method

C program to sort the array of elements using Quick sort

C program to sort the array of elements using Bubble sort

C program to sort the array of elements using Shell sort

C program to sort the array of elements using Selection sort

Program to sort the array of elements using Insertion sort.

C program to Evaluate Postfix Expression using Stack ADT

C program to Convert Infix Expression to Postfix Expression using Stack ADT.

C program to implement the Queue ADT using Singly Linked List (SLL) with Enqueue, Dequeue and Traversal Operations

C program to implement the Stack ADT using Singly Linked List (SLL) with Push, Pop, Peek and Traversal Operations.

Alphabets (Revised)

Append the content of a file