This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General] | |
"SuppressUpperCaseConversion"=dword:00000001 | |
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\General] | |
"SuppressUpperCaseConversion"=dword:00000001 | |
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\13.0\General] | |
"SuppressUpperCaseConversion"=dword:00000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**********************************************/ | |
/* | |
/* IR_Black Skin by Ben Truyman - 2011 | |
/* | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Changes all dataSources to case insensitive sorting (client side sorting). | |
This snipped enable case insensitive sorting on Kendo UI grid, too. | |
The original case sensitive comparer is a private and can't be accessed without modifying the original source code. | |
tested with Kendo UI version 2012.2.710 (Q2 2012 / July 2012). | |
*/ | |
var CaseInsensitiveComparer = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using PostSharp.Aspects; | |
using PostSharp.Aspects.Configuration; | |
using PostSharp.Aspects.Serialization; | |
using Resonance.Messenging.Diagnostics; | |
[assembly: StackOverflowDetection] | |
namespace Resonance.Messenging.Diagnostics | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Reflection; | |
using MySolution; | |
using PostSharp.Aspects; | |
using PostSharp.Extensibility; | |
[assembly: EmptyStringModelBindingAspect( | |
AttributeTargetTypes = @"regex:[^\.]*\.Controllers\..*Controller", | |
AttributeTargetTypeAttributes = MulticastAttributes.Public, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script\x20type="text/javascript">javascript:alert(1);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
<script\x09type="text/javascript">javascript:alert(1);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
<script\x0Atype="text/javascript">javascript:alert(1);</script> | |
'`"><\x3Cscript>javascript:alert(1)</script> | |
'`"><\x00script>javascript:alert(1)</script> | |
<img src=1 href=1 onerror="javascript:alert(1)"></img> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index.phtml | |
require(['singlePage/app'], function (app) { | |
app.loadView('index') | |
}); | |
singelPage/app.js | |
define(['jquery', 'knockout'], function ($, ko) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var saveStringify = function (obj) { | |
return JSON.stringify(obj) | |
.replace(/\u2028/g, '\\u2028') | |
.replace(/\u2029/g, '\\u??2029'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************** | |
* A replacement for the "backingStore" modelLibrary | |
* | |
* This is a bare version of the original backingStore, | |
* without ANY change tracking - that's why it will work in IE8! | |
* (Object.defineProperty not required any more) | |
* | |
* This adapter is a "drop in" replacement for the "backingStore" adapter in Breeze core. | |
* It has the same adapter name so it will silently replace the original "backingStore" adapter | |
* when you load this script AFTER the breeze library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using System.IO.Compression; | |
using System.Text; | |
using NUnit.Framework; | |
using System; | |
namespace Example | |
{ | |
[TestFixture] | |
[Ignore("This is not a test. Run this code if you want to review the current content of your [__MigrationHistory] table!")] |
OlderNewer