0
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.
http://www.howtogeek.com/124313/how-to-see-who-logged-into-a-computer-and-when/
Here you can search for all event ID (search for category Logon/Logoff)
http://www.myeventlog.com/search/find
Here is the list of Event ID related to log
http://technet.microsoft.com/en-us/library/cc787176(v=ws.10).aspx
672,673,674,675,676,677,678,681,682,683
Posted on 3:58 AM by Softminer and filed under
Windows
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.
http://www.howtogeek.com/124313/how-to-see-who-logged-into-a-computer-and-when/
Here you can search for all event ID (search for category Logon/Logoff)
http://www.myeventlog.com/search/find
Here is the list of Event ID related to log
http://technet.microsoft.com/en-us/library/cc787176(v=ws.10).aspx
672,673,674,675,676,677,678,681,682,683
0
X-UA-Compatibility Meta Tag and HTTP Response Header
http://msdn.microsoft.com/en-us/library/ff955275(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ff955410(v=vs.85).aspx
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
http://msdn.microsoft.com/en-us/library/ff405803(v=vs.85).aspx
setup on the server
http://msdn.microsoft.com/en-us/library/jj676913(v=vs.85).aspx
Posted on 2:54 AM by Softminer and filed under
HTML
X-UA-Compatibility Meta Tag and HTTP Response Header
http://msdn.microsoft.com/en-us/library/ff955275(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ff955410(v=vs.85).aspx
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
http://msdn.microsoft.com/en-us/library/ff405803(v=vs.85).aspx
setup on the server
http://msdn.microsoft.com/en-us/library/jj676913(v=vs.85).aspx
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=10" /> </customHeaders> </httpProtocol> </system.webServer> </configuration>This is a nice website which tells you about html5 features http://html5test.com/
0
Fixing nested HtmlAgility SelectSingleNode
Posted on 2:51 AM by Softminer and filed under
C#
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");
0
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 6:00 AM by Softminer and filed under
ASP.NET,
JavaScript
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.
0
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 12:48 AM by Softminer and filed under
Windows
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"
0
1.First you have to create a profile
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p
profiles are saved in
C:\Users\administrator\AppData\Roaming\Mozilla\Firefox\Profiles\lrnq8wmb.selenium
2.Add profile to selenium driver
1.First you have to create a profile
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p
profiles are saved in
C:\Users\administrator\AppData\Roaming\Mozilla\Firefox\Profiles\lrnq8wmb.selenium
2.Add profile to selenium driver
OpenQA.Selenium.Firefox.FirefoxProfile profile = new FirefoxProfile(@"~path"); IWebDriver driver = new OpenQA.Selenium.Firefox.FirefoxDriver(profile);
0
IIS logs can be setup from IIS\Website\Logging
and the default path is %SystemDrive%\inetpub\logs\LogFiles
for debugging an ASP.net application performance also from VS 2012 / Analyze / Start Performance Analysis
Process Monitor is also advance monitoring tools form microsoft
http://technet.microsoft.com/en-us/sysinternals/bb896645
Debug Diagnostic Tool can be used for monitoring application pool usage.
http://www.microsoft.com/en-us/download/details.aspx?id=26798
How to user diagnostic tool
+
Every Application pool has its own w3wp.exe which is running on application pool identity.
From Features View of IIS Click on "Worker Processes", the request can be seen for each process of application pool.
IIS logs can be setup from IIS\Website\Logging
and the default path is %SystemDrive%\inetpub\logs\LogFiles
for debugging an ASP.net application performance also from VS 2012 / Analyze / Start Performance Analysis
Process Monitor is also advance monitoring tools form microsoft
http://technet.microsoft.com/en-us/sysinternals/bb896645
Debug Diagnostic Tool can be used for monitoring application pool usage.
http://www.microsoft.com/en-us/download/details.aspx?id=26798
How to user diagnostic tool
+
Every Application pool has its own w3wp.exe which is running on application pool identity.
From Features View of IIS Click on "Worker Processes", the request can be seen for each process of application pool.