- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
This file contains hidden or 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
<!-- https://stackoverflow.com/questions/17323350/access-control-allow-origin-with-multiple-domains --> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept" /> | |
<add name="Access-Control-Allow-Methods" value="POST,GET,OPTIONS,PUT,DELETE" /> | |
</customHeaders> | |
</httpProtocol> | |
<rewrite> |
This file contains hidden or 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 runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
if (CurrentDocument != null) | |
{ | |
CMS.UIControls.ContentPage page = this.Page as CMS.UIControls.ContentPage; | |
if (page != null) | |
{ | |
string lang = CMS.Localization.LocalizationContext.CurrentCulture.CultureCode; | |
page.XmlNamespace += " lang=\"" + lang + "\""; |
This file contains hidden or 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
// Misc. Accessibility Snippets | |
<script> | |
// disable scroll down on spacebar press when a <a> is used like a <button> | |
$('.sort-options a').on('keydown', function (e) { | |
if(e.keyCode == 32) { | |
return false; | |
} | |
}); | |
This file contains hidden or 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
<!-- https://bitsofco.de/pa11y/ --> | |
<!-- html report --> | |
pa11y --ignore "warning;notice" --reporter html https://www.nedelta.com/Home > home.html | |
<!-- pa11y with elements removed --> | |
pa11y --ignore "warning;notice" https://www.nedelta.com/Home --hide-elements ".wf-header,.wf-footer" | |
<!-- html report with elements removed --> | |
pa11y --ignore "warning;notice" --reporter html https://www.nedelta.com/Patients --hide-elements ".wf-header,.wf-footer" > _patients.html |
This file contains hidden or 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
SELECT DISTINCT | |
DATEPART(M, SeminarDate) AS MonthPart, | |
DATENAME(M, SeminarDate) AS MonthName | |
FROM customtable_MedicareSeminarDates | |
ORDER BY MonthNo ASC | |
-- output | |
MonthNo MonthName | |
1 January |
This file contains hidden or 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"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
This file contains hidden or 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> <!-- Level A 4.1.1 Parsing --> | |
<html lang="en"> <!-- Level A 3.1.1 Language of Page --> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title>Add a unique page title</title> <!-- Level A 2.4.2 Page Titled --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <!-- Level AA 1.4.4 Resize Text --> | |
<link href="css/main.css" rel="stylesheet" /> |
This file contains hidden or 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
// http://stackoverflow.com/questions/19491336/get-url-parameter-jquery-or-how-to-get-query-string-values-in-js | |
var getUrlParameter = function getUrlParameter(sParam) { | |
var sPageURL = decodeURIComponent(window.location.search.substring(1)), | |
sURLVariables = sPageURL.split('&'), | |
sParameterName, | |
i; | |
for (i = 0; i < sURLVariables.length; i++) { | |
sParameterName = sURLVariables[i].split('='); |
This file contains hidden or 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
<table> | |
<caption>Shelly's Daughters</caption> | |
<tbody><tr> | |
<td></td> | |
<th scope="col">Name</th> | |
<th scope="col">Age</th> | |
<th scope="col">Birthday</th> | |
</tr> | |
<tr> | |
<th rowspan="2" scope="row">by birth</th> |