Posts for: #Script

Forget Bash, take Python!

I wrote bash scripts for several years now. You can find old bash scripts of mine on GitHub but most of them aren’t maintained anymore - and I have a reason for that.

But before I give you my reasons for not using many bash scripts anymore, lets look at the benefits of bash:

  • It super easy and you basically already can it if you write Linux / BSD commands
  • There are frameworks out now which give you advanced features like testing
  • It works out of the box on nearly every Linux / BSD system

Okay - sounds good - so what’s my problem?

Read more

Gitea Auto Update Script

I’m a Gitea user for a long time now. Gitea is a nice application to build your own light and fast version of git hosting services like GitHub or GitLab.

Gitea has one problem thought. It doesn’t update automatically. A issue for that is open nearly 2 years: https://github.com/go-gitea/gitea/issues/518#issuecomment-441742904

If there is one thing that I really hate, it is that a security sensible web application doesn’t update automatically. Because of that I have begun to write a update script for Gitea before 4 months.

Read more