Skip to content

Instantly share code, notes, and snippets.

View sudheer82's full-sized avatar

Guduru Sudheer sudheer82

  • Qualcomm
  • India
View GitHub Profile
@sudheer82
sudheer82 / gist:4970627
Created February 17, 2013 08:03
BAT: wget command to download website
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains domain.com --no-parent www.domain.com/folder/
@sudheer82
sudheer82 / gist:4946119
Created February 13, 2013 17:03
HTML: Starting Template
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
@sudheer82
sudheer82 / gist:4946056
Last active December 13, 2015 17:09 — forked from padolsey/gist:527683
JavaScript: Detect IE
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}