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.Net.Mail; | |
public bool IsEmailValid(string emailAddress) | |
{ | |
try | |
{ | |
MailAddress mailAddress = new MailAddress(emailAddress); | |
} | |
catch (Exception ex) | |
{ |
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
<head> | |
<script src="loadCSS.min.js"></script> | |
<script> | |
// load a file | |
loadCSS("Styles-V6.min.css"); | |
</script> | |
</head> |
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 Rootobject | |
{ | |
public Class1[] Property1 { get; set; } | |
} | |
public class Class1 | |
{ | |
public string BookingStatusType { get; set; } | |
public int MonetaryValue { get; set; } | |
public int Count { get; set; } |
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
[ | |
{ | |
"BookingStatusType": "Suggested", | |
"MonetaryValue": 20195, | |
"Count": 35, | |
"ConversionRate": 2.9 | |
}, | |
{ | |
"BookingStatusType": "Contacted", | |
"MonetaryValue": 8035, |
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
<picture> | |
<source media="(min-width: 1024px)" srcset="dest/1024/tiger.jpg"> | |
<source media="(min-width: 640px)" srcset="dest/640/tiger.jpg"> | |
<source srcset="dest/320/tiger.jpg"> | |
<img src="dest/640/tiger.jpg" alt="This picture will load on browsers that don't yet support the element."> | |
<p>This is some accessible text.</p> | |
</picture> |
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
<picture> | |
<source media="(min-width: 1024px)" srcset="dest/1024/tiger.jpg"> | |
<source media="(min-width: 640px)" srcset="dest/640/tiger.jpg"> | |
<source srcset="dest/320/tiger.jpg"> | |
<img src="dest/640/tiger.jpg" alt="This picture loads on non-supporting browsers."> | |
<p>Accessible text.</p> | |
</picture> | |
<script> | |
// Picture element HTML5 shiv for older browsers | |
document.createElement( "picture" ); |
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
grunt.initConfig({ | |
responsive_images: { | |
myTask: { | |
options: { | |
sizes: [{ | |
width: 320, | |
height: 240 | |
},{ | |
name: 'large', | |
width: 640 |
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
<img src="dest/320/tiger.jpg" | |
srcset="dest/1024/tiger.jpg 1024w, dest/640/tiger.jpg 640w, dest/320/tiger.jpg 320w" | |
alt="A TIGER!!!"> |
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 webdriverio = require('webdriverio'); | |
var options = { | |
desiredCapabilities: { | |
browserName: 'firefox' | |
} | |
}; | |
webdriverio | |
.remote(options) |
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.exports = function (grunt) { | |
grunt.initConfig({ | |
critical: { | |
test: { | |
options: { | |
base: './', | |
css: [ | |
'css/style.css' | |
], |
OlderNewer