Level up your SRE game — Best of this week — 7th Jan 2023

Vikas Yadav
3 min readJan 7, 2023

--

“It is what we know already that often prevents us from learning.” — Claude Bernard

I compile Site Reliability Engineering/DevOps related articles every week and help you keep up your learning game.

This week we covered:

  1. Some tips to level up your python productivity!
  2. Use gpt3 to generate to help you write commands on your bash terminal.
  3. Build web applications quickly using streamlit.
  4. Auto-generate documentation with Doxygen.

I also write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/

Some tips to level up your python productivity

Want to take your python development productivity to a whole different level?

No matter how much you’ve used vscode before — you’ll surely learn something new from this blog.

My major takeaways from this blog
-> Lint on save
-> Chaining of tasks
-> Understanding how to use debugger properly
-> Thunder client integration for testing REST APIs

Getting good at the tools you use is very much a part of the game. Bookmark this, might come in handy later!

https://lnkd.in/e4kswQxx

#python #vscode #productivity

Use gpt3 to generate to help you write commands on your bash terminal

Can you leverage GPT3 to simplify writing bash commands? Hell yes!

Here’s a wonderful project that I’ve been using for a while to make my life easier. I have tested it to generate a bunch of kubectl, aws cli and other shell commands and it works like a charm!

Let’s embrace the new tech and become more productive! Checkout the project here: https://lnkd.in/eQGW6X9E

#gpt3 #bash #devops #sre

Build web applications quickly using streamlit

Have you heard about Streamlit yet? It’s an open-source app framework that lets you create interactive web-based applications using python!

No more writing a flask + react application to expose a simple script.

Imagine just writing a function and quickly having that available for use on a browser for the whole team. Streamlit primarily focuses on data-centric apps but there’s nothing stopping you from using it as a wrapper above your scripts. So the next time you are writing a python script and you want to have it available on a web interface rather than a CLI.

Try it out now and see the magic for yourself!

#streamlit #python

Auto-generate documentation with doxygen

Are you tired of spending hours writing and maintaining documentation for your projects?

Look no further than Doxygen! This powerful documentation generation tool can create professional-grade documentation for your source code in a variety of formats, including HTML, LaTeX, and PDF. Not only does it save you time, but it also ensures that your documentation is always up-to-date and accurate. Give Doxygen a try and see the difference it can make in your workflow.

I ran Doxygen on a sample spring boot app https://lnkd.in/efGGiMaG and I am attaching some screenshots for reference.

#doxygen #documentation #softwareengineering

--

--

Vikas Yadav
Vikas Yadav

Responses (1)