Software / Technology Tips

Javascript array sorting based on position of specified character in the string

Recently, I was looking fro a Javascript function or a tutorial on how to sort an array based on the position of a character in an input string. For instance, if I have 20 names in an array and I type “s” in the text box the result should give me all the names that…

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

A fantastic way to improve iCal in Mac

Fantastical enhances iCal by allowing you to quickly and easily create new events using natural language input. You can also quickly locate the dates you’re looking for via Fantastical’s handy menu calendar, view your upcoming events in a convenient list, and search for past and upcoming events. Following are the attractive features of Fantastical :.…

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

Send SMS from fullonsms.com via our Rails Application

By using  this small Trick we can send SMS to any Indian Mobile number from fullonsms via our Rails Application. For this we need  a gem ‘mechanize’  It will help us to render our html pages, forms, form elements etc . So let’s go ahead and install this gem for our Rails application. Add gem…

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

(jQuery) FromDate to ToDate Validation

At times, when validating forms we have to validate two date fields, From Date (Start Date) and To Date (End Date) when date pickers are associated with respective fields. Using normal Javascript it is big task to write a validating function. Normally the logic we use to validate From Date and End Date is like.…

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

Call Web Service from JavaScript using jQuery

Suppose we have the following code behind function which is defined in PrintReport.aspx.cs file. public static string HelloWorld(string name, string crmId, string comment, string phenotype) { return "Hello World"; } Now if we want to do ajax call to this function using jquery we will right something like below in our script file. // Requried…

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

Scribe Insight Migration

Steps for Migration: 1. Download the template package .spkz file and save it to your desktop. 2. In the file Double click on the required object record to migrate(say for eg Account). This will open the     Scribe WorkBench. 3. In the Scribe WorkBench we have to do the following step: Connect to the source and…

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

Using AJAX Toolkit In Force.com Platform

Force.com platform provides a JavaScript API which provides features to work with sObjects using JavaScript without the help of Apex codes. Is it always necessary to write an apex class for every visualforce page we build ? Not really. Because we have an well built javascript API available in force.com platform I am sure this…

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

Dynamically adding rows to the Grid in ExtJS 3.3

There may be requirement when we need to add data dynamically to the grid. For this we have to add data to the “data store” of the grid during run time. Let us say we have a Array data store. var dataStore = new Ext.data.Store({ data:, reader: new Ext.data.ArrayReader({id:'id'}, ) } ); The above data…

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

Access 2007 – Export Data to XML Format

XML is very much becoming the standard and the most efficient way to exchange data between different computer programs. More and more organisations choose to use XML files to move data back and forth, rather than using the Microsoft Access 2007 files. In the coming days more often one will be asked to send a…

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

How to append “www” to your site domain using ColdFusion?

Some times it becomes important to add “www” to your site domain. There might be many more reasons to do so. I am just citing one example. Site name “domain.com” and “www.domain.com” are assumed to be two different sites by Google search engine robots. This will result in display of duplicate search results for your…

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