Skip to content

Instantly share code, notes, and snippets.

Rahul RAUT iwx1

Block or report user

Report or block iwx1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ubunru-rsyslog-hack.sh
#!/bin/sh
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start
@iwx1
iwx1 / DocumentExtensions.cs
Created Apr 22, 2014
WatiN Extensions for h1 h2 h3 th
View DocumentExtensions.cs
namespace WatiN.Core
{
using WatiN.Core.Constraints;
using WatiN.Core.Native;
public static class DocumentExtensions
{
public static H1 H1<TDoc>(this TDoc doc, string text)
where TDoc : Document
{
ElementFactory.RegisterElementType(typeof(H1));
View IEUserAgentTest.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testing IE Compatibility Mode</title>
<script src="ieUserAgent.js" type="text/javascript"></script>
</head>
<body>
<div id="results">Results:</div>
<script type="text/javascript">
var val = "IE" + ieUserAgent.version;
You can’t perform that action at this time.