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 | |
emailAddress | |
from [dataExtension] | |
where createdDate > convert(date, getDate()-30) |
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> | |
<link rel="stylesheet" href="style.css"> | |
<script src="https://code.jquery.com/jquery-2.1.3.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/rxjs/2.3.25/rx.all.js"></script> | |
<script src="script.js"></script> | |
</head> |
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
// Code goes here | |
window.onload = function() { | |
var Observable = Rx.Observable; | |
var textbox = document.getElementById('textbox'); | |
var keypresses = Observable.fromEvent(textbox, 'keypress'); | |
var results = document.getElementById('results'); | |
var searchButton = document.getElementById('searchButton'); | |
var searchButtonClicks = Observable.fromEvent(searchButton, 'click'); | |
function getWikipediaSearchResults(term) { |
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
<html> | |
<head> | |
<title>Test Suite</title> | |
<script> | |
function assert( value, desc ) { | |
var li = document.createElement("li"); | |
li.className = value ? "pass" : "fail"; | |
li.appendChild( document.createTextNode( desc ) ); | |
document.getElementById("results").appendChild( li ); | |
} |