Software / Technology Tips

Show truncated string with dots appended with CSS3
neuip

Show truncated string with dots appended with CSS3

Showing starting few words of a long text by not using client side or server side coding with three dots ahead Have you ever thought of showing starting few words of a long text by not using client side or server side coding with three dots ahead? Like: a quick brown fox jumps… You may…

read more
1920 1200 Burnignorance | Where Minds Meet And Sparks Fly!
How to avoid Memory leak issue in Java
8a873ea8c8017b8ad11d4b9d215da38d

How to avoid Memory leak issue in Java

What is Memory Leak? Memory leak is a bug that mainly occurs when a program does not release the memory it has obtained for temporary use. In other words we can say it is the condition where the available computer memory reduces gradually there by resulting in poor performance. How to determine if Memory Leak…

read more
1920 1080 Burnignorance | Where Minds Meet And Sparks Fly!
Active Directory Authentication In Web Application
web-page-on-a-laptop-screen-a-mobile-phone-is-lying-a-cloud-a-cloud-service-or-an-application-modern-technological-background-isometry-conceptual-banner-of-web-technologies-vector

Active Directory Authentication In Web Application

Active directory Authentication using forms authentication and login control in ASP.NET: For Active directory authentication in asp.net using login control we have to follow the following steps. Step 1: Create login page with asp.net login control. No need to add code, login control automatically will check from the web config  settings. Step 2: Add the…

read more
1714 980 Burnignorance | Where Minds Meet And Sparks Fly!
To break out from a deeply Nested loop
hd0502-scaled

To break out from a deeply Nested loop

In this tip I am explaining different ways to break out of a very deeply nested loop. Also the pros and cons of each method. Also show the use of anonymous method for implementing this functionality. Use of anonymous method to break out from a deeply nested loop Sometime we may face a situation when…

read more
2560 1440 Burnignorance | Where Minds Meet And Sparks Fly!
Create A Customer Portal User In Test Class
colorful-marbles-candies-orbs-beads-circular-mandala-loop-video

Create A Customer Portal User In Test Class

Sometimes we need to create customer portal user in test class to run the functionality of customer user with  System.runAs() method. Here I’ll provide how we create customer portal user in test class with some basic points. First we need to understand which profile is assigned to the portal user. When we enabled customer portal…

read more
711 400 Burnignorance | Where Minds Meet And Sparks Fly!
Editing Locked Or Declared as Record Document in Sharepoint 2010
depositphotos_195108802-stock-photo-abstract-cgi-motion-graphics-and

Editing Locked Or Declared as Record Document in Sharepoint 2010

Sharepoint 2010 has so many new exciting features and one of them is InPlace Record Management. By using this feature one can Declare Item as Record or Lock the record so that it will obey  a set of policy based on Policy declaration. If the policy declaration is that it should not allow anybody to…

read more
600 337 Burnignorance | Where Minds Meet And Sparks Fly!
A secure way of sending information to a web service.
neon-background-wallpaper-23204

A secure way of sending information to a web service.

Using AJAX and web services in your application can make it richer. But passing information from the client end through Ajax is always a headache as the information can be hacked. That means the end user can change the post parameter values and can explore information that you want to hide from them (Only if…

read more
1920 1080 Burnignorance | Where Minds Meet And Sparks Fly!
How To Start writing CUDA Program
neon-3840x2160-wallpaper-ux364tygaq3zohb4

How To Start writing CUDA Program

1. Who can start CUDA programming? – Any one who has some basicknowledge on C programming. No prior knowledge of graphics programming. – CUDA is C with minimal extension and some restrictions.( CUDA is C for GPU) 2. If you have a algo that you want to write in CUDA then follow the below steps.…

read more
1920 1080 Burnignorance | Where Minds Meet And Sparks Fly!
Converting text to image in java awt
java-softwizz

Converting text to image in java awt

This tip describes how text can be converted to image using Java awt.. Step1: Create a String which we will convert to image Step2: Create a BufferedImage Step3: Create get the height and width of the String Step4: call the createGraphics(), which draws the BufferedImage object to Graphics2D object Step6: set the font color, backgroung…

read more
1920 1080 Burnignorance | Where Minds Meet And Sparks Fly!
How to dynamically add rows very quickly using jQuery
depositphotos_530217524-stock-video-black-white-spiral-background-loop

How to dynamically add rows very quickly using jQuery

n many projects we give options to users to add multiple rows for submitting multiple records. To do this we simply provide an add button, after clicking on which the user can add or clone another row using javascript. Through normal javascript we use insertCell(var) and appendChild(DOM) for creating cell and adding that cell to a parent element. Various properties of the cell including …

read more
608 342 Burnignorance | Where Minds Meet And Sparks Fly!