Moving the blog to

Dear reader,

I very am very happy to announce that I have moved the blog to my own hosted blog site This existing blog will remain as it is in current state.

Do visit for more good stuff in future.

I hope you will like this change.

Thanks and Regards,
Harsh Baid

Leave a comment

Posted by on August 18, 2012 in Introduction


Tags: , , ,

Open Source Alternate for Visio

Cool Open-Source alternative to Microsoft Visio

Rajan's Tech Corner

Do you diagram? Chart? Maybe you sketch room layouts or wiring schematics? How about flow charts?

Most people in the corporate world use the industry standard (and expensive) Microsoft Visio. So what do you do if you are in need of Visio but you can’t afford it or don’t want to use another Micro$oft product? Are there any free Visio alternatives?

Well I think we have a solution! I was almost shocked to find such an awesome application for the low low price of FREE! Open source is a wonderful thing and I would like to thank all the users that helped created this package – you rock!
Now let us check out DIA-  it is a 16.5 MB download from Sourceforge. It is also available for Linux and can probably be run on a Mac as well. If you have experience with DIA on either operating system we would love to…

View original post 184 more words

Leave a comment

Posted by on August 15, 2012 in Uncategorized


Online code compiling and execution for some languages

Hi dear reader,

Today’s post is about Rextester. An online tools for anyone who finds them useful, Initially was started as online .net regular expression tester.

Regex tester – .net regex tester.
Regex replace – .net regex replacement.
Regex reference – short regex reference.
Diff checker – find difference between two text fragments.
Run code – online compiling and execution for some languages.

Rextester provides online code compilation for C# or also named C sharp, using .NET framework 4. The executing code will be given max 5 seconds of CPU time and limited memory (~100 mb). Also executing code will run in an appdomain with basic execution rights, reflection and thread control privileges only.
The entry point for you code is given Main method in type Program in namespace Rextester. This entry point can’t be changed.

C sharp types from the following assemblies are available:

  • System.dll
  • System.Core.dll
  • System.Data.dll
  • System.Data.DataSetExtensions.dll
  • System.Xml.dll
  • System.Xml.Linq.dll
  • Microsoft.CSharp.dll – when C# is used
  • Microsoft.VisualBasic.dll – when Visual Basic is used
  • System.Web.dll
  • System.ComponentModel.DataAnnotations.dll
  • System.ComponentModel.Composition.dll

SQL Server 2008 R2 server is also supported. There is only one database that queries executed. Queries executed on behalf dbowner so all sort of actions are allowed including DDL queries. However, all actions run in transaction which is rolled back immediately after execution is over. This way any desired objects may be built, populated with data and worked on within the scope of one request. There is 10 seconds limit for work to be completed. Execution of queries is achieved using ADO.NET mechanisms, in particular SqlDataReader type. This reader is also monitored for memory and CPU consumption.
‘GO’ statement just like in T-SQL has special meaning: ‘GO’ will be removed from your code, but statements separated by ‘GO’ will be executed separately, in different batches. So, for example, if you want to create a function and later use it in select statement you have to separate create statement and select statement by ‘GO’, otherwise you’ll receive an error from parser since in select statement you would be referring to a function which doesn’t yet exist.
For convenience there is simple pre-built schema, shown here.

There are some other languages which run on linux. Here are compiler versions:

  1. Assembly – nasm 2.09.04
  2. C++ – g++ 4.5.2 (g++ -Wall)
  3. C – gcc 4.5.2 (gcc -Wall)
  4. Haskell – ghc 6.12.3
  5. Java – Sun’s implementation of java, compiler version 1.6.0_26 (javac -Xlint -encoding UTF-8  |  java -Dfile.encoding=UTF-8)
  6. Javascript – V8 3.12.3
  7. Lua – lua 5.0.3
  8. Objective-C – gcc 4.5.2 (gcc -Wall -lobjc)
  9. Pascal – fpc 2.4.0
  10. Perl – perl 5.10.1 (perl -w)
  11. Php – php 5.3.5
  12. Python – python 2.7.1
  13. Ruby – ruby 1.8.7 (ruby -w -W1)

I do not intent to promote something here but I liked something and sharing is good.

For more details follow the

Leave a comment

Posted by on July 31, 2012 in .NET, C#, Introduction, JavaScript, SQL, Utility


Tags: , , , , , , , , , , ,

Display profile picture in Google search by adding Author Code to your blog – the easy way!

How to show your picture in google search results as seen for here and scott hanselman.


The process for getting your links to show up in Google search with your profile picture at the side as shown below is not an easy –

After multiple tries using different types of methods I finally found a simple and straighforward way to do this. It works great for WordPress blogs and theoretically should work the same way for Blogger as well.

  • Visit this badge generation link. Visit your Google+ profile page to get your Google+ Profile ID.
  • Select the “Icon” option button for the Type setting.
  • Once you have your Google badge code, right-click and copy it as shown below –

  • Under your WordPress dashboard, goto Appearance->Widgets. Add a text widget to your sidebar by dragging it onto the sidebar as shown below –

  • Add the Badge Author Code you had copied earlier and paste it into the Text Wwidget as shown below –

  • Click Save.

You’re all…

View original post 103 more words

1 Comment

Posted by on July 7, 2012 in Search Engine Optimization


Tags: , ,

Corporate world….

Reality check of corporate world. Like or comment if you agree on this..

Rajan's Tech Corner

) Project Manager is a person who thinks nine women can deliver a baby in one month.

2) Developer is a person who thinks it will take 18 months to deliver a baby.

3) Onsite Coordinator is one who thinks single woman can deliver nine babies in one month.

4) Client is the one who doesn’t know why he wants a baby.

5) Marketing Manager is a person who thinks he can deliver a baby even if no man and woman are available.

6) Resource Optimization Team thinks they don’t need a man or woman; They’ll produce a child with zero resources.

7) Documentation Team thinks they don’t care whether the child is delivered, they’ll just document 9 months.

8) Quality Auditor is the person who is never happy with the PROCESS to produce a baby.

And lastly…

9) Tester is a person who always tells his wife that this…

View original post 5 more words

Leave a comment

Posted by on May 15, 2012 in Quotes


Tags: ,

HBCode – WPF With The Model-View-ViewModel Design Pattern and Entity Framework

This post is in reference to my previous post on WPF With The Model-View-ViewModel Design Pattern and Entity Framework.

I just made an early alpha release of the wpf application on codeplex – HBCode.

I hope peope will like and I would get more responses.

Here are few screen previews:


Posted by on April 30, 2012 in .NET, C#, Entity Framework, WPF


Tags: , , , , , , , , ,

Creating a desktop shortcut for a Click Once application

Nice video on Creating a desktop shortcut for a Click Once application

RobinDotNet's Blog

This GoldMail shows how to create a desktop shortcut for your ClickOnce application. The code can be used for any ClickOnce application, assuming you set your attributes accordingly.
This download contains the sample code (VS2008, C#). If you are a VB developer and can’t figure out how to translate this to VB, post a query and I’ll see what I can do for you.

July 19, 2009 edit: Here is a link to the follow-up post that provides the code and implementation details for doing same in VB.

ClickOnce Desktop Shortcut Using VB

[edit 7/7/2011 Move zip file to Azure blob storage]

[edit 3/8/2014 Move to different Azure blob storage]

View original post

Leave a comment

Posted by on April 5, 2012 in .NET, Winforms