Don't post tutorials or articles. Post questions and answers. The site is after all a Q&A.
The point there is not that "NO, you can't post tutorials". You can, but you will have to do so in the form of a question and an answer. Self-answering is allowed and encouraged. Simple enough, right? Well, not exactly.
Many users who try this have their questions closed for one simple reason: the question is not good enough. Whether or not you are answering your own question has no influence on the standards we hold that question to. When we look at it, we will completely ignore the answer. If the question is not good enough by regular site standards, you might well see it closed.
Given that, don't just focus on your awesome answer. Give the question equally as much attention. Or rather, make sure you've written a great question first before you start to work on your answer. For example, this question has to show research. It should not leave us asking "What have you tried?". And other requirements like not being a dupe, being constructive, being on-topic, etc. still apply.
Let's say you have this great idea on writing a tutorial on how to do X with language Y. Don't make your question "How do I do X with language Y?", and then spend all your effort on an awesome answer. That question might simply not be good enough.
"But that's the question I'm answering!". Fair enough, but you might simply have to restructure your content a bit. Let's take the following (admittedly contrived) example:
Q: How do I do X with language Y?
A: You can easily do that with language Y, but it has some common pitfalls. Many users try Q or R, which lead to these problems. You'd be better of doing S. The advantages of that are...
Brilliant answer perhaps, but not a great question. It does however have some potential if you restructure that to:
Q: I want to do X with language Y. I have tried Q and R. I did however find that this suffers from these problems. How can I approach a solution to this problem that does not suffer from these problems?
A: An alternative approach to solving this problem would be to do S. The advantages of S over what you have tried is...
As said, the example is somewhat contrived. But it might help you think about splitting up your tutorial content into something that would make a great question as well as a great answer.
If you keep that in mind, you will at least have a better start at contributing good self-answered content.
java.nio.file.Files
and making aJTree
out of it ?