by Rahul Singla | Apr 24, 2011 | .NET 2.0+, Blog, C#, VB.NET
.Net provides a good Cryptographic framework in the System.Security.Cryptography namepsace. But I have sometimes found it lacking for my needs (and non-intuitive at some other times). Yesterday I needed to generate a RSA Public-Private key pair in a client-server...
by Rahul Singla | Apr 18, 2011 | Blog, Javascript
I was having problems debugging my javascript code in Google Chrome browser the other day. I was not able to use the Chrome Developer Tools’ Console while stepping through a particular method (let’s say “myProblematicMethod”) in the javascript...
by Rahul Singla | Apr 17, 2011 | Blog, Drupal, Drupal 6.x, Drupal 7.x
Let me clarify staright away that the code below has been tested successfully against Drupal 6 only. But I believe it should work with Drupal 7 also with minor changes (if any required). Okay now, let’s come to the point.”Save as Draft” as you can...
by Rahul Singla | Apr 17, 2011 | Blog, Drupal, Drupal 6.x, Drupal 7.x
Last week, I was trying to add a custom validation method for node form of a particular content type in Drupal. My initial approach was as naive as specifying my custom validation method in hook_form_alter, something like the following: {syntaxhighlighter brush:...
by Rahul Singla | Apr 9, 2011 | .NET 2.0+, Blog, C#, VB.NET
A couple of days ago, I needed to find all calls to a specific method in a large number of javascript files. The exact method call looked something like following:Rahul.t(‘String to be translated.’);If you have been following my blog posts, or have...
Recent Comments