Skip to content

Instantly share code, notes, and snippets.

View trullock's full-sized avatar

Andrew Bullock trullock

View GitHub Profile
using (var wsddid = new WSDDID())
{
var ddUserData = new DDUserData
{
UKData = new DDUKData
{
Address1 = new DDAddress
{
Line1 = "xxxxxxx",
Line8 = "XXX XXX"
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectReference Include="src\tests\Cms51.Admin.Tests\Cms51.Admin.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.Core.Tests\Cms51.Core.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.Events.Tests\Cms51.Events.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.General.Tests\Cms51.General.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.Navigation.Tests\Cms51.Navigation.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.Navigation.Menus.Tests\Cms51.Navigation.Menus.Tests.csproj" />
<ProjectReference Include="src\tests\Cms51.News.Tests\Cms51.News.Tests.csproj" />
var $form = this.$div.find('form');
$form.find('input:not(:checkbox), select').blur(function () {
var $elem = $(this);
$form.ajaxValidate({
inputContainer: function ($frm) {
return $elem.parent();
}
});
});
var result = 0;
for(var i = 0; i < a.length; i++){
var currentResult = ((a[i] > b[i]) ? 1 : (a[i] < b[i]) ? -1 : 0 );
currentResult = currentResult << (a.length - i);
result |= currentResult;
}
return result * sortDir;
$(window).smartresize(function () {
var width = $grid.width();
var cols = Math.floor(width / 245);
var colWidth = Math.floor(width / cols);
console.log('cols: ' + cols);
console.log('colWidth: ' + colWidth);
$cells.width(colWidth - 20);
<!DOCTYPE html>
<html>
<body>
<iframe src="http://www.youtube.com/embed/124VzSLy7d0?wmode=transparent"></iframe>
</body>
</html>
RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!acc\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://acc.%2%3 [R=301,L]
(function(){
var student, country, region;
bus.subscribe('student state changed', function(s) {
student = s;
});
bus.subscribe('country changed', function(c) {
country = c;
});
Collection was modified; enumeration operation may not execute.
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at System.Messaging.XmlMessageFormatter.Read(Message message)
at System.Messaging.Message.get_Body()
hotmail.com
hotmail.acom
hotmail.com_
homail.com
hotmaill.com
hotmail.co0m
hotmail.co
hotmaikl.com
hotmail/com
hootmail.com