Writing about your own work
The most reliable way to be found by the people who need what you do.
Most freelancers are found through something they wrote. Not because writing is marketing, but because a piece of writing is the only artefact that shows how you think before somebody has to hire you to find out.
Write the thing you had to work out
The strongest subject is the problem you solved last month and could not find written down. You already have the material, and there is a real chance somebody else is stuck on it now.
Be specific and be honest
Specificity is what makes writing credible, and honesty about what did not work is what makes it useful. A piece that says what went wrong will be trusted further than one that only describes the result.