• jQuery Filter
    jQuery Filter

    jQuery is a set-based JavaScript library, that is, you usually select a set of elements (using a seclector), and then you act on that set. You do stuff like attaching handlers to them, animating them, removing them to another parent element, etc. However, sometimes you need to filter that set, before doing an action. jQuery filter() method is there, ready to help you.

  • Ctrl + Alt + Del in Remote Desktop
    RD Ctrl + Alt + Del

    Have you ever stuck at how to press Ctrl + Alt + Del in a remote desktop session? I was stuck once, when the server told me that I had to change my password. I didn't know what to do, till after some search, I got the answer.

  • This URL is not allowed for a sitemap at this location
    Sitemap same-origin

    Same-origin policy is a general concept, that might even be seen in online tools like Google Webmasters application. The general idea is that, as the owner of site a.com, you're only confined to index and get statistics of URLs belonging to a.com, not b.com.

  • HTML aside element
    HTML aside element

    HTML5 has introduced some new structural elements, one of which is aside element. It's a semantic element to include some other data related to the main data, but in a neat, clean, seperated way.

  • Single quote or apostrophe in SQL Server
    Apostrophe in SQL Server

    SQL Server uses apostrophe (single quote) character as the string delimiter. Sometimes however, your string contains this character. How you should write these queries?

  • The Pearl
    The Pearl

    The Pearl is a novel by John Stienbeck, which tells the story of a diver man, who struggles to save his child, who has been stung by an scorpion. In this story, many bitter real events occure, which show how men can get greedy and loose valuable things when they can't control their greed.

  • ASP.NET inline "if-clause" with binding
    Binding if-clause

    Sometimes you need to write a conditional statement (if statement) in your ASP.NET markup. There is no problem in writing it, when you don't write it inside data-bound controls. But if you want to use "if" statement inside a data-bound control, then your task gets a little trickier. This article explains using conditional statements (if statements) with binding.

  • jQuery disable() & enable() functions
    jQuery disable/enable

    jQuery doesn't have disable()/enable() function by default. So, technically when you want to disable/enable HTML form controls, you usually use attr()/removeAttr() functions. From other hand, having a centralized disabling/enabling mechanism, let's you disable/enable other HTML tags either.

  • Using 7zip in C#
    7zip in C#

    Many people use GZipStream, and DeflateStream classes in System.IO.Compression namespace, to fulfill their compression and decompression tasks. However if you have 7zip application installed on your machine, an easier option (IMHO) exist.

  • SMO, the Server Management Objects
    Server Management Objects

    SMO to SQL Server, is like VBA to Excel and Word, or like Powershell to Windows. It's simply some classes and methods (predefined codes) to manage an instance of SQL Server installation. For example, using SMO, you can create a database in code, create tables in it, add columns to that table, and chang its schema.