This is the same concept as the first sandbox.
Why do we need more than one? This is in order to test the API, some methods support vectored ids (for example /questions/id1;id2/comments
) and for that two sandboxes are needed.
This is the same concept as the first sandbox.
Why do we need more than one? This is in order to test the API, some methods support vectored ids (for example /questions/id1;id2/comments
) and for that two sandboxes are needed.
How can you test a question w/out an answer?
This is a test, for an API, sort-of.
This is a dummy answer to test the API!
Spec for Client with random 646713442; this is part of StackExchangeApiClient tests.
Another API answer to test the might of Stack Exchange code
Code stuffs: hehe ~~,ml,mn~~
alert('hehehe')
h1 {
color: red
}
<h1>Test snippet!</h1>
<ul>
<li>Hello</li>
<li>Hello there</li>
</ul>
asdfa dfasd f test
Other stuff
YET Another test answer for testing purposes
Using this answer to test editing through Stack 10
Spec for Client with random 780718851; this is part of StackExchangeApiClient tests.
Spec for Client with random 409371460; this is part of StackExchangeApiClient tests.
This is a test of MathOverflow's new interface to Zentralblatt.
// Run a search
function runSearch() {
goBack();
$('#popup-cite .search-spinner').removeSpinner().addSpinner();
$.getJSON('https://zbmath.org/citationmatching/mathoverflow', { 'q': 'planar algebras' }, fetchCallback);
}
// Callback to run when search completes.
function fetchCallback(response) {
var html = $('<div class="list">');
for (var i = 0; i < response.results.length; i++) {
var result = response.results[i];
var zbl = 'https://zbmath.org/?q=an:' + result.zbl_id;
var link = result.links.length > 0 ? result.links[0] : '';
var arxiv = '';
for (var j = 0; j < result.links.length; j++) {
arxiv = result.links[j].includes("arxiv") ? result.links[j] : arxiv;
}
var authors = sanitizeForDisplay(result.authors);
var title = sanitizeForDisplay(result.title);
var citationHtml = sanitizeForDisplay(result.source);
var result = $('<div class="item" style="float:none;padding:5px">')
.html($('<div class = "summary post-link" style="float:none;width:auto;font-weight:bold;">')
.text(title))
.append('<br/>')
.append($('<span class="body-summary" style="float:none"></span>')
.append(authors + '<br/>' + citationHtml + '<br/> Preview (opens in new tab): ')
.append(renderOptionalLink(link, 'article'))
.append(renderOptionalLink(zbl, 'zbmath'))
.append(renderOptionalLink(arxiv, 'arxiv'))
)
.click(loadResultCallback(link, result))
.hover(function () { $(this).css('background-color', '#e6e6e6') }, function () { $(this).css('background-color', '#fff') });
html.append(result);
result.find('a').on('click', function(e) { e.stopPropagation(); });
}
$('#results').html('').append(html);
MathJax.Hub.Queue(['Typeset', MathJax.Hub, 'results']);
$('#popup-cite .search-spinner').removeSpinner();
}
function getCitationHtml(json) {
var arxiv = '';
for (var j = 0; j < json.links.length; j++) {
arxiv = json.links[j].includes("arxiv") ? json.links[j] : arxiv;
}
var cite = $('<cite>').attr('authors', json.authors)
.append('_' + json.authors + '_, ')
.append('[**' + json.title + '**](' + encodeURI(json.links.length > 0 ? json.links[0] : '') + '), ')
.append(json.source + ' [ZBL' + json.zbl_id + '](https://zbmath.org/?q=an:' + json.zbl_id + ')')
.append(arxiv ? ' [arXiv:' + arxiv.split('/').pop() + '](' + arxiv + ')' : '')
.append('.');
var citeContainer = $('<span></span>').append(cite).html();
return citeContainer;
}
// MathJax stub
var MathJax = {Hub: {Queue: function(arr) { }}};
// stubs
function sanitizeForDisplay(html) {
return html;
}
function goBack() { }
function renderOptionalLink(href, text) {
if (href) {
return $(sanitizeForDisplay($('<a>').attr('href', href).text(text + ' ').prop('outerHTML'))).attr('target', '_blank');
} else {
return '';
}
}
function loadResultCallback(link, result) {
return function() {
var html = getCitationHtml(result);
$('#link').html('').append(html);
}
}
$.fn.extend( { removeSpinner : function() { return this; } });
$.fn.extend( { addSpinner : function() { return this;} });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="testcases">
<button onclick="javascript:runSearch();">Search "planar algebras"</button>
</div>
<div id="results">
No results yet.
</div>
<div id="link">
No link yet.
</div>
</div>
some more testing with this answer......
testing here: edit answer
asdasdas
This answer is a test
Formatting:
codeblock
,
link,
bold
Big codeblock:
console.log("codeblock works") // test comment in codeblock
comes to his because spent 4 weeks says abstains murky buddy
Just testing - body must be at least 30 characters
Spec for Client with random 1525546784; this is part of StackExchangeApiClient tests.
Spec for Client with random 1314354391; this is part of StackExchangeApiClient tests.
As workaround you can set 'DefaultSenderID'
#!/usr/bin/env python
import boto3
s = boto3.Session(profile_name='Godzilla')
sns = s.client('sns')
sns.set_sms_attributes(
attributes={
'DefaultSenderID': 'Godzilla',
}
)
response = sns.get_sms_attributes(
attributes=[
'DefaultSenderID',
]
)
print(response)
Hello World :) :)Testing answer API (https://api.stackexchange.com/docs/create-answer)
Hello World :) :) Testing a sample answer. Testing Editing answer now.
Update: Now I am testing Editing on Answers.
Update: 2nd Attempt
Update: 3rd Attempt
Update: 4th Attempt
Update: Final Attempt to Test Editing
Update: 2nd Final Attempt to Test Editing
NavigationCacheMode="Enabled"
Done Testing. Last Testing. Navigation Back Final Testing.
Update: Testing after long time to make sure app still works.
Another test answer for testing purposes.
Now Editing a Old Answer to check from API
If it works....
This is my dummy answer, containing a link to the AspectJ 1.8.4 release notes.
Another line was added.