Posted on 5:51 AM by Softminer and filed under

To find out other sites hosted on a web server by entering a domain or IP address above.

And another solution is to get ip address by ping and use bing and search "ip:"
Posted on 3:58 AM by Softminer and filed under

Run gpedit.msc

Navigate to the following folder: Local Computer Policy –> Computer Configuration –> Windows Settings –> Security Settings –> Local Policies –> Audit Policy.

Double-click the Audit logon events policy setting in the right pane to adjust its options.

TO view in event Viewer

Navigate to the Windows Logs –> Security category in the event viewer.

Look for events with event ID 4624 – these represent successful login events.


Here you can search for all event ID (search for category Logon/Logoff)

Here is the list of Event ID related to log

Posted on 2:54 AM by Softminer and filed under

X-UA-Compatibility Meta Tag and HTTP Response Header



Starting with IE11, document modes are considered deprecated and should no longer be used

If a webpage is retrieved from a website in the Local intranet zone (see "About URL Security Zones" at [MSDN-SECZONES]), IE7 mode is used.

Internet Explorer displays webpages that contain the HTML5 document type in standards mode, which provides the highest support available for established and emerging industry standards, including HTML5, CSS3, SVG, and others.

How IE choose between document mode

setup on the server

<?xml version="1.0" encoding="utf-8"?>
        <clear />
        <add name="X-UA-Compatible" value="IE=10" />
This is a nice website which tells you about html5 features http://html5test.com/
Posted on 2:51 AM by Softminer and filed under

Fixing nested HtmlAgility SelectSingleNode

var firstDiv = page.DocumentNode.SelectSingleNode("//div");
//Returns the first div on the page, as it should. But you cannot dig into this.
var firstDivTitle = firstDiv.SelectSingleNode("//h2");
// This returns the first <h2> on the entire page, not the one in the div.

To fix it you have to write 

var firstDivTitle = firstDiv.SelectSingleNode(".//h2");

another solution is to mix the tags 

var firstDivTitle = page.DocumentNode.SelectSingleNode("//div//h2");
Posted on 6:00 AM by Softminer and filed under ,

Webstorm is a great Javascript & Html editor provided by jetbrains.com

There are a lot of js MV* framework to use. http://todomvc.com/ gives a good comparision for structuring and comparisioning java script framework.

AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. The main difference between Jquery and AngularJs is that Jquery is not Single page application and its mostly working with DOM.

Apache CouchDB is a database that uses JSON for documents,JavaScript for MapReduce queries,
and regular HTTP for an API

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It’s translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

Bootstrap is a free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions.

ASP.NET SignalR is a new library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and side. Servers can now push content to connected cliently instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
Posted on 12:48 AM by Softminer and filed under

To disbale or enable automatic locking screen:

1. Press Win+R and type "Regedit.exe"

2. Go to the path below

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop

3. EDIT "ScreenSaverIsSecure"

Posted on 5:35 AM by Softminer and filed under ,

1.First you have to create a profile

C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p

profiles are saved in


2.Add profile to selenium driver

OpenQA.Selenium.Firefox.FirefoxProfile profile = new FirefoxProfile(@"~path");
IWebDriver driver = new OpenQA.Selenium.Firefox.FirefoxDriver(profile);