Software / Technology Tips

PGP Encryption & Decryption in C#

To start with PGP encryption we nead to download assembly of “BouncyCastle”(bccrypto-net-1.7-bin.zip)  from the following link Add this assembly to your applicaiton. PGP Encryption We will first discuss about PGP Encryption. In PGP encryption we need to create public & private keys. Public key is used to encrypt the file and Private key is used…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to use the Transact-SQL functions CONTAINSTABLE and CONTAINS to do a search on a full-text enabled table

Example: SELECT Country.Country_Name, Country.Country_Description FROM Country WHERE CONTAINS(Country_Description, ‘sea’) The above query results in Country_Name and Country_Description columns where the description column in the index includes the word “sea”. If we want to go for more complex (and thus specific) search conditions then we can do a lot. CONTAINS with OR/ AND operators: CONTAINS(Country_Description, ‘ “sea beach” OR “snow…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Using UJS in will_paginate gem in Rails3

The will_paginate ( gem is a popular gem, that developers usually use for the pagination. It populates the links for the pagination and upon clicking the link, it will load the content. For adding UJS to these paginate links, we need to override the helper methods of the will_paginate gem. In the following, I am…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to fetch and display data from a custom object on VisualForce page in SalesForce.

As a beginner I face difficulties in SalesForce even when with simple problems like fetching data and displaying them on the VisualForce page. Now that I have some knowlede on it, I would like to share it. Let’s begin with how to fetch and display data from a custom object on VisualForce page. Code VisualForce…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to take screenshot programmatically and mail it in C#

You can use this code to save the screenshot when there will be any possibility of error in the application .If the client is using the application developer can ask the client to send the screenshot so that he can know in which page the error was occured   To take the screenshot Bitmap bitmap…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to pass data to/from a parent Suitelet form and a child (pop-up) Suitelet form in Netsuite

SOLUTION:- The solution is pretty simple, like we do it for other web pages by using the ‘windows.opener‘ property of javascript. Basically, you just need to take care of calling this ‘windows.opener‘ property from the ‘GET’ part of the Suitelet script, as it won’t work in the ‘POST’ part. Or we can say, from where…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Automatic Database(MySQL) backup

Create automatic database(MySQL) backup by php script into a .sql file in Windows platform. MySQL is one of the most popular open source database management system for the development of interactive Websites. If a site has sensitive data in a MySQL database,then it needs to take backup of the information, so that it can be…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Two ways to use “using” keyword in C#

In C#,  using Keyword  can be used in two different ways and are hence referred to differently.  As a Directive In  this usage, the “using” keyword can be used to include a namespace  in your programme.(Mostly used) As a Statement Using can also be used in a block of code to dispose a IDisposable objects.(less…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Make jQuery datepicker to popup in different positions

Datepicker is a rich widget of jQuery library . It exposes a lot of properties and methods to make it customizable . Once, while working with it , we needed to popup the datepicker just at side of the textbox . But the default popup position is just below the text box so we had…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to access ColdFusion administrator properties

Different ways to access and work on CF administrator properties. This is obvious that there several ways to access CF administrator properties, but How !! Find these below. The simple one …. Just can go and open administrator from adobe in installed programs (start menu – adobe). Else can open it on browser.. : /CFIDE/administrator/index.cfm…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!