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
@isTest | |
private class TestRestrictContactByName { | |
@isTest static void testInvalidName() { | |
//try inserting a Contact with INVALIDNAME | |
Contact myConact = new Contact(LastName='INVALIDNAME'); | |
insert myConact; | |
// Perform test | |
Test.startTest(); |
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
import org.gradle.internal.os.OperatingSystem | |
apply plugin: 'java' | |
apply plugin: 'maven' | |
apply plugin: 'war' | |
group = 'com.yourCompany.hcp-project' | |
version = '0.0.1-SNAPSHOT' | |
description = """""" | |
sourceCompatibility = 1.7 | |
targetCompatibility = 1.7 | |
project.buildDir = 'target' |
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
ac_add_options --disable-jemalloc | |
ac_add_options --enable-valgrind | |
ac_add_options --enable-optimize="-g -O2" |
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
System.Object | |
System.Security.Cryptography.SymmetricAlgorithm | |
System.Security.Cryptography.Aes | |
System.Security.Cryptography.DES | |
System.Security.Cryptography.RC2 | |
System.Security.Cryptography.Rijndael | |
System.Security.Cryptography.TripleDES |
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
TFS 2015: %programfiles%\Microsoft Team Foundation Server 14.0\Tools | |
TFS 2013: %programfiles%\Microsoft Team Foundation Server 12.0\Tools | |
TFS 2012: %programfiles%\Microsoft Team Foundation Server 11.0\Tools | |
TFS 2010: %programfiles%\Microsoft Team Foundation Server 2010\Tools |
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
Syntax | |
BULK INSERT | |
[ database_name . [ schema_name ] . | schema_name . ] [ table_name | view_name ] | |
FROM 'data_file' | |
[ WITH | |
( | |
[ [ , ] BATCHSIZE = batch_size ] | |
[ [ , ] CHECK_CONSTRAINTS ] | |
[ [ , ] CODEPAGE = { 'ACP' | 'OEM' | 'RAW' | 'code_page' } ] |
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"> | |
<title>My test page</title> | |
</head> | |
<body> | |
<img src="" alt="My test image"> | |
</body> | |
</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
for (var i=1; i <= 20; i++) | |
{ | |
if (i % 15 == 0) | |
console.log("FizzBuzz"); | |
else if (i % 3 == 0) | |
console.log("Fizz"); | |
else if (i % 5 == 0) | |
console.log("Buzz"); | |
else | |
console.log(i); |