Skip to content

Instantly share code, notes, and snippets.

@YatinAdityaT
Forked from jforberg/socp
Last active May 13, 2021 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save YatinAdityaT/e246a92063e29fedce125a53b2b1a736 to your computer and use it in GitHub Desktop.
Save YatinAdityaT/e246a92063e29fedce125a53b2b1a736 to your computer and use it in GitHub Desktop.
Stack Overflow copy pasta
<USEFUL LINKS>
MSE FAQ https://meta.stackexchange.com/questions/7931/faq-for-stack-exchange-sites
http://idownvotedbecau.se/
MSE answer for common terms used: https://meta.stackexchange.com/questions/40353/stack-exchange-glossary-dictionary-of-commonly-used-terms
Canonical answer for python files with same names as import files: https://stackoverflow.com/a/36250354/11573842
[Why isn't providing feedback mandatory on downvotes, and why are ideas suggesting such negatively received?](https://meta.stackoverflow.com/questions/357436/why-isnt-providing-feedback-mandatory-on-downvotes-and-why-are-ideas-suggestin/357437#357437)
[plagiarism](https://meta.stackexchange.com/a/160078/598066)
[code of conduct](https://stackoverflow.com/conduct)
[Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
<CANNED COMMENTS>
------------------------------------------------------<spam>------------------------------------------------------
If you are in any way or form affiliated with the plugin/website/blog/product/project etc that you have linked then please mention your affiliation clearly in the answer itself.
Undisclosed affiliation will be considered spam and deleted. Please read [How to not be a spammer](https://stackoverflow.com/help/promotion) and [Can I support my product on this site?](https://stackoverflow.com/help/product-support).
When linking to your own site or content (or content that you are affiliated with), you [must disclose your affiliation _in the answer_](/help/promotion) in order for it not to be considered spam.
Having the same text in your username as the URL or mentioning it in your profile is not considered sufficient disclosure under Stack Exchange policy.
------------------------------------------------------<naa>------------------------------------------------------
Please don't write answers in a way that makes them look like questions.
There are systems in place to check for Not An Answer (NAA) posts.
This answer was falsely picked up by one of them. Please consider editing it to look more like an answer.
(Please flag this comment as "No Longer Needed" once you have made the changes)
Please don't post link-only answers. The content may become inaccessible over the years. Make sure to include the actual explanations and instructions in your answer itself.
A link-only answer is better suited as a comment. Please delete this answer and post it as a comment instead.
Links to external resources are encouraged, but please [add context around the link](https://meta.stackexchange.com/a/8259) so your fellow users will have
some idea what it is and why it’s there. Always quote the most relevant part of an important link, in case the
target site is unreachable or goes permanently offline. [Answers that are little more than a link may be deleted](https://stackoverflow.com/help/deleted-answers)
------------------------------------------------------<vandalism>------------------------------------------------------
Do not vandalize your posts. By posting on this site, you've irrevocably granted the Stack Exchange network the right to distribute that content under the [CC BY-SA 4.0 license](//creativecommons.org/licenses/by-sa/4.0/) for as long as it sees fit to do so. For alternatives to deletion, see: [I've thought better of my question; can I delete it?](https://stackoverflow.com/help/what-to-do-instead-of-deleting-question)
------------------------------------------------------<question>------------------------------------------------------
Hello <name>, Welcome to Stack Overflow! Please carefully read [How to ask](https://stackoverflow.com/help/how-to-ask)
Hello <name>, Welcome to Stack Overflow! Please copy and paste you code directly into the post
instead of linking to, or inserting an image of it.
Welcome to Stack Overflow! Questions seeking debugging help ("why isn't this code working?") must
include the desired behavior, a specific problem or error and the shortest code necessary to
reproduce it in the question itself. Questions without a clear problem statement are not useful
to other readers. See: [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve).
Welcome to Stack Overflow! Questions asking us to recommend or find a book, tool, software library,
tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract
opinionated answers and spam. Instead, [describe the problem](http://meta.stackoverflow.com/questions/254393)
and what has been done so far to solve it.
Please clarify your specific problem or add additional details to highlight exactly what you need.
As it's currently written, it’s hard to tell exactly what you're asking. See the
[How to Ask page](https://stackoverflow.com/help/how-to-ask) for help clarifying this question.
Welcome to Stack Overflow! This is not a website where people write code for you so that you don't have
to. If you need help debugging code that you have written, you must post a
[Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) and explain the specific problem
with your code.
Welcome to Stack Overflow! Please ensure that you are compiling with warnings enabled (refer to the manual of your
particular compiler for instructions). A good compiler can catch many common errors for you, including the one in
this question, but you need to ensure that this functionality is enabled.
------------------------------------------------------<OTHERS>------------------------------------------------------
Supported shorthand links:
[meta] – link to the current site's Meta; link text is the site name (e.g. "Super User Meta"). Does nothing if the site doesn't have (or already is) a Meta site.
[main] – like [meta], just the other way around.
[edit] – link to the edit page for the post the comment is on, i.e. /posts/{id}/edit. Link text is "edit" (capitalization is respected).
[tag:tagname] and [meta-tag:tagname] – link to the given tag's page. Link text is the name of the tag.meta-tag only works on meta sites.
[help], [help/on-topic], [help/dont-ask], [help/behavior] and [meta-help] – link to frequently visited pages of the help center. Link text is "help center" (capitalization is respected). All links point to the main site.
[tour] – link to the Tour page. Link text is "tour" (capitalization is respected).
[so], [pt.so], [su], [sf], [metase], [a51], [se] – link to the given site. Link text is the site name.
[chat] – link to the current site's chat site, the link text being "{site name} Chat".
[ask], [answer] – link to the How to Ask or How to Answer page.
[mcve], [mre], [reprex], [repro], [example] – link to /help/minimal-reproducible-example, with the link text "minimal reproducible example".
[something.se] – link to something.stackexchange.com, if that site exists. Link text is the site name. Use [ubuntu.se] for Ask Ubuntu.
It [isn't madatory for users to provide comments when they downvote](https://meta.stackoverflow.com/a/357437/11573842). Please be paitient and understand that anyone can downvote your question.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment