Posts

Showing posts from 2012

How to enable Windows 8's Full Keyboard Layout

Image
Here is how to configure a full keyboard layout setting for wundows 8; including Alt, Ctrl, Start and all your favorite buttons. Somehow it doesn't seem as obvious as it should be: Select show standard keyboard and you get this

regaining access to sql server having lost sa password

YOU HAVE LOST ACCESS TO SQL SERVER: HOW TO FIX-IT You are working as a trusted DBA responsible for some extremely important SQL Servers for your company. For the sake of security, you have performed the following steps to secure SQL Servers: You have removed any and all built-in administrators account from SQL Server logins You have removed all the users (except SA) that were part of SYSADMIN server role (Including any Windows Accounts and/or SQL Server logins) You have set the password of SA to something extremely complex which is hard to remember For day-to-day operations on SQL Server, you use your domain user account which has DBO permissions on couple of databases but doesn’t have SYSADMIN privileges. Since you set the SA password to be complex and you have not been using it, you forgot the SA password. You are the only person in the company who would know the SA password and now you have lost the SA password. What would you do now? Some quick options I can t...

Programmer Competency Matrix

Programmer Competency Matrix Programmer Competency Matrix Note that the knowledge for each level is cumulative; being at level n implies that you also know everything from the levels lower than n . Computer Science   2 n (Level 0) n 2 (Level 1) n (Level 2) log(n) (Level 3) Comments data structures Doesn't know the difference between Array and LinkedList Able to explain and use Arrays, LinkedLists, Dictionaries etc in practical programming tasks Knows space and time tradeoffs of the basic data structures, Arrays vs LinkedLists, Able to explain how hashtables can be implemented and can handle collisions, Priority queues and ways to implement them etc. Knowledge of advanced data structures like B-trees, binomial and fibonacci heaps, AVL/Red Black trees, Splay Trees, Skip Lists, tries etc. algorithms Unable to find the average of numbers in an array (It's hard to believe but I've inter...

Luscious Tandoori Lamb Chops

Image
Recipe: Luscious Tandoori Lamb Chops INGREDIENTS 8 lamb rib chops (2 1/2 pounds) 3/4 cup Greek yogurt 1/4 cup heavy cream 3 tablespoons fresh lemon juice One 3-inch piece of fresh ginger, peeled and minced 4 large garlic cloves, minced 1 tablespoon malt vinegar 1 tablespoon garam masala 1 tablespoon ground cumin 1 tablespoon paprika 1/2 teaspoon cayenne pepper 1/4 teaspoon ground mace (optional) 1/4 teaspoon freshly grated nutmeg Kosher salt 2 tablespoons vegetable oil 3 tablespoons unsalted butter, melted Using a paring knife, cut a few 1/4-inch-deep slashes in each lamb chop. In a large bowl, whisk the yogurt with the heavy cream, lemon juice, ginger, garlic, malt vinegar, garam masala, cumin, paprika, cayenne, mace, nutmeg and 1 teaspoon of salt. Transfer the lamb chops to the marinade and turn to coat, then cover and refrigerate overnight. Add the oil to the marinade and toss with the lamb chops. Remove the chops from the marinade and let stand at room temp...