Skip to content

Instantly share code, notes, and snippets.

@ggorlen
Last active February 18, 2026 03:55
Show Gist options
  • Select an option

  • Save ggorlen/c83da5e3ddb4d9a716e7902b8f2dc0fa to your computer and use it in GitHub Desktop.

Select an option

Save ggorlen/c83da5e3ddb4d9a716e7902b8f2dc0fa to your computer and use it in GitHub Desktop.
Resources for Stack Overflow

Stack Overflow Cheatsheet

New question feed quick links

Common dupes

JS

Python

C

Language-agnostic

Comments for downvotes and closures

Please see [Why not upload images of code on SO when asking a question?](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-on-so-when-asking-a-question)

[Java != JavaScript](https://stackoverflow.com/a/245073/6243352)

[XY problem](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem)

Please see [how to make reproducible examples for Pandas](https://stackoverflow.com/questions/20109391/).

Please see [Why is "can someone help me?" not an actual question](https://meta.stackoverflow.com/questions/284236/why-is-can-someone-help-me-not-an-actual-question) and [Are "how would I get started?" questions too broad?](https://meta.stackoverflow.com/questions/308745/are-how-would-i-get-started-questions-too-broad).

Please see [How do I ask homework questions](https://meta.stackoverflow.com/questions/334822/how-do-i-ask-and-answer-homework-questions) and [And open letter to students with homework problems](https://softwareengineering.meta.stackexchange.com/questions/6166/open-letter-to-students-with-homework-problems).

This should be a comment, not an answer. You can comment at [50 reputation](https://stackoverflow.com/help/privileges/comment). Until then, please refrain from using the answer box to add comments. Thanks!

[on topic](https://stackoverflow.com/help/on-topic)

If you do post this on code review, please take the [tour](https://codereview.stackexchange.com/tour) and read their [on topic](https://codereview.stackexchange.com/help/on-topic) page.

https://meta.stackexchange.com/questions/22186/how-do-i-format-my-code-blocks

https://stackoverflow.com/help/self-answer

"Explain this code" is off-topic as [too broad](https://meta.stackoverflow.com/questions/253894/how-to-handle-explain-how-this-code-dump-works-questions).

If the answer solves the problem for you, consider [accepting it](https://stackoverflow.com/help/someone-answers).

This edit can infringe copyright. See [1](https://meta.stackoverflow.com/questions/344484) and [2](https://meta.stackoverflow.com/questions/348698).

Please see [Under what circumstances is my question urgent?](https://meta.stackoverflow.com/questions/326569/under-what-circumstances-may-i-add-urgent-or-other-similar-phrases-to-my-quest)

Stolen from John Kugelman. Some of the links might need checking or minification and tweak the language:

Welcome to Stack Overflow! Please take the [tour](https://stackoverflow.com/tour) (you get a badge!) and read through the [help center](https://stackoverflow.com/help), in particular [ask] Your best bet here is to do your research, [search](https://stackoverflow.com/help/searching) for related topics on SO, and give it a go. If you get stuck and can't get unstuck after doing more research and searching, post a [mcve] of your attempt and say specifically where you're stuck. People will be glad to help.

Useful meta posts

Assorted tricks

  • Search terms for my deleted posts: user:6243352 deleted:1

Deleted answers that are good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment