Tags » Anand

How to Open a newly Created Excel WOrkBook as Active Workbook

I have developed an Addin in Excel. This addin has a ribbon that contains a button. When this button is clicked, I create a new work book and work sheet based on an xml string that is retrived from the database based on the user credential. 158 more words

Stackoverflow

How to create customized navigation drawer in android

I’m creating a navigation drawer with Header and Listview in it. I followed the approach of android-bootstrap to create navigation drawer for my apps from this link on github: 455 more words

Stackoverflow

Graph for randomized quicksort in java

I’m implementing Randomized quicksort to get a graph between number of input elements and time taken to sort them using the algorithm.
here is the simple code that i’m using… 269 more words

Stackoverflow

How would I search for a substring of a string that's a value in a dictionary in python

I have these two dictionaries:

recA = {"record1|100|102014", "record2|200|103014", "record4|400|102514"}
recB = {"record3|300|102514", "record1|100|102014", "record2|200|103014"}

Let’s say I want to change record1’s ‘100’ in both dictionaries to 200. 75 more words

Stackoverflow

I'll make original films till my mind is functional, says Rajkumar Hirani

Filmmaker Rajkumar Hirani, known for Bollywood entertainers like Munna Bhai MBBS, Lage Raho Munna Bhai, has nothing against those who make remakes but says he will make original films till his mind is functioning well. 159 more words

Entertainment

How to call Handlebar helper function from javascript?

I am new to Handlebar & have few questions.
Please help on the same.

Handlebars.registerHelper('formatNumber', function(options) {
  return "111";
});

How to call the above helper function from javascript ? 22 more words

Stackoverflow

How to ensure at most one admin in rails app with devise?

My rails app can have at most one admin, but any number of users.

I am using the devise gem, and am using a User model, with a boolean admin field to determine if a user is an admin. 379 more words

Stackoverflow