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
// module "my-module.js" | |
function cube(x) { | |
return x * x * x; | |
} | |
const foo = Math.PI + Math.SQRT2; | |
var graph = { | |
options: { | |
color:'white', | |
thickness:'2px' | |
}, |
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><script></script></head> | |
<body>Hi</body> | |
</html> |
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
<h1>hello</h1> |
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(){ | |
var querystring=document.location.search; | |
if(/a=er/i.test(querystring) || /nwr/i.test(querystring)) { | |
data = [{ | |
name: "smile", | |
image: "https://djyqr7fxk5rha.cloudfront.net/smile.png" | |
}, { | |
name: "relieved", |
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(){ | |
var querystring=document.location.search; | |
if(/a=er/i.test(querystring) || /nwr/i.test(querystring)) { | |
$("#_fid_7").on("blur", function() { | |
var oldValue = this.value; | |
var newValue = oldValue | |
.replace(/(\d{2})(\d{2})/g, function($0, $1, $2) { | |
var hours = parseInt($1, 10); |
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
$(_fid_6).on("blur", function() { | |
this.value = this.value | |
.replace(/\u2018|\u2019|\u201A|\uFFFD/g, "'") | |
.replace(/\u201c|\u201d|\u201e/g, '"'); | |
}); |
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
// ==UserScript== | |
// @name FixCurlyQuotes | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match https://*.quickbase.com/db/* | |
// @grant none | |
// ==/UserScript== |
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> | |
<script src="https://haversineconsulting.quickbase.com/db/bf3zb9bph?a=dbpage&pagename=d3.v3.min.js"></script> | |
<script src="https://haversineconsulting.quickbase.com/db/bf3zb9bph?a=dbpage&pagename=dagre-d3.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.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
(function(){ | |
var querystring=document.location.search; | |
if(/a=er/i.test(querystring) || /nwr/i.test(querystring)) { | |
$(_fid_7).attr({ | |
placeholder: "##-####(#)-####", | |
pattern: "[0-9]{2}-[0-9]{4,5}-[0-9]{4}" | |
}); |
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
<h1>Hello World</h1> |
NewerOlder