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
function CustomError(message) { | |
Error.call(this); | |
Error.captureStackTrace(this); // v8 | |
this.name = 'CustomError'; | |
this.message = message; | |
this.customProperty = true; | |
} | |
CustomError.prototype = Object.create(Error.prototype); |
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
<html> | |
<head> | |
<title>Mocha</title> | |
<link rel="stylesheet" href="mocha.css" /> | |
</head> | |
<body> | |
<div id="mocha"></div> | |
<script src="mocha.js"></script> | |
<script>mocha.setup('bdd');</script> | |
<script src="test.js"></script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body { | |
font-family: Segoe UI; | |
font-size: 11px; | |
} |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ |
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
#jenkins-name-icon { | |
display:none; | |
} | |
#jenkins-head-icon { | |
content:url("https://www.madebyspeak.com/SiteFiles/1973/Images/logo@2x.png"); | |
height: 30px; | |
margin: 5px; | |
} |
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 class="control-label">Form Action</label> | |
<input type="url" class="form-control" id="theURL" value="https://kevinsw.localtunnel.me/app_services/auth-silent-post.aspx"/> | |
<h2>Silent Post Form</h2> | |
<form action="" method="post" id="theForm"> | |
<div class="col-md-6 form-group"><input type="text" name="x_response_code" value="1"/></div> | |
<div class="col-md-6 form-group"><input type="text" name="x_response_subcode" value="1"/></div> | |
<div class="col-md-6 form-group"><input type="text" name="x_response_reason_code" value="1"/></div> | |
<div class="col-md-6 form-group"><input type="text" name="x_response_reason_text" value="This transaction has been approved."/></div> | |
<div class="col-md-6 form-group"><input type="text" name="x_auth_code" value=""/></div> | |
<div class="col-md-6 form-group"><input type="text" name="x_avs_code" value="P"/></div> |
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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="https://raw.github.com/cowboy/jquery-throttle-debounce/master/jquery.ba-throttle-debounce.min.js"></script> | |
<script> | |
function log(s) { | |
s = s || 'logged something'; |
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
javascript: | |
!(function () { | |
/* | |
Copyright (c) 2015, Brad Conte (http:bradconte.com) | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
Redistributions of source code must retain the above copyright |
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
*.vb;*.resx;*.xsd;*.wsdl;*.xaml;*.xml;*.htm;*.html;*.css;*.aspx;*.asmx;*.js;*.ascx;*.cs;*.asa;*.asp;*.txt; *.master |
OlderNewer