Detect Os Snippets

Detect Javascript On/Off, With Notification: If JavaScript is on the user gets a welcome message. If off, the user is instructed to turn it on.

19 February, 2011   

Detect Internet Explorer

22 June, 2014   

To test in other timezones, replace '-5' with your local standard time GMT offset.

25 January, 2014   

To detect if Aero Glass is enabled we must use the DwmIsCompositionEnabled function.

26 May, 2012   

Helps to find out browser version and type your website visitor is using

It's an unfortunate necessity that you need to write different code for windows sometimes or at the very least load different libraries since there is no fork(), etc. This is how you can tell.

This sql statement enables to detect duplicates entries over a key and creates a seq column which says which one is the sequence of the duplicates. This way you can take only the seq = 1 and still be able to identify all duplicates

Toggle a column bit regardless of state. Useful to change state without doing a query first to detect the state of the bit.

Using a stored procedure as the source in an OLE_DB Source for SSIS, the package can’t detect the output of the stored proc.

08 October, 2014   

JavaScript code to detect browser and OS.

PHP code example to get All-Time Number of MySQL Queries

27 April, 2014   

Code example for tracking email response

19 January, 2014   

It consist of Lights effect, Sound Effect. Press 'L' for Lights effect and 'H' for Horn.