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
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
## | |
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore | |
# User-specific files | |
*.rsuser | |
*.suo | |
*.user | |
*.userosscache |
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
############################################################################### | |
# Set default behavior to automatically normalize line endings. | |
############################################################################### | |
* text=auto | |
############################################################################### | |
# Set default behavior for command prompt diff. | |
# | |
# This is need for earlier builds of msysgit that does not have it on by | |
# default for csharp files. | |
# Note: This is only used by command line |
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
"use strict"; | |
const gulp = require("gulp"); | |
const sass = require("gulp-sass"); | |
const sourcemaps = require("gulp-sourcemaps"); | |
const autoprefixer = require("gulp-autoprefixer"); | |
const cssmin = require("gulp-cssmin"); | |
const rename = require("gulp-rename"); | |
const minify = require("gulp-minify"); | |
const babel = require("gulp-babel"); |
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
pool: | |
name: CHANGEME | |
demands: | |
- npm | |
- node.js | |
- msbuild | |
- visualstudio | |
steps: | |
- task: Npm@1 |
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
{ | |
"label": "CSS Class", | |
"description": "Specify a css class", | |
"key": "class", | |
"view": "/App_Plugins/grid/editors/dropdownlist.html", | |
"applyTo": "row", | |
"prevalues": [ | |
"value_1", | |
"value_2", | |
"value_3", |
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
public sealed class HttpOverrides : IHttpModule | |
{ | |
void IHttpModule.Init(HttpApplication app) | |
{ | |
app.BeginRequest += OnBeginRequest; | |
} | |
private void OnBeginRequest(object sender, EventArgs e) | |
{ | |
HttpApplication app = (HttpApplication)sender; |
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
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//"; | |
alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//-- | |
></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
'';!--"<XSS>=&{()} | |
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
<IMG SRC="javascript:alert('XSS');"> |
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
public class AnySurfaceController : SurfaceController | |
{ | |
private readonly IhCaptchaService _hCaptchaService; | |
public AnySurfaceController(IhCaptchaService hCaptchaService) | |
{ | |
_hCaptchaService = hCaptchaService; | |
} | |
[ValidateAntiForgeryToken] | |
[HttpPost] |
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
// jQuery plugin to prevent double submission of forms | |
jQuery.fn.preventDoubleSubmission = function () { | |
$(this).on('submit', function (e) { | |
e.preventDefault(); | |
var modal = $(this); | |
var $form = $(this).children('form').first(); | |
if ($form.data('submitted') === true) { | |
// Previously submitted - don't submit again |
OlderNewer