Posts

Showing posts from June, 2025

How to Install Gitea on Linux – Full Guide & Explanation

   -==== How to Install Gitea on Linux – Full Guide & Explanation ====- --- ## What is Gitea? Gitea is a lightweight, self-hosted Git service — similar to GitHub, but it runs on your own computer or server. It allows you to: * Create and manage Git repositories * Collaborate with others using pull requests, issues, and wikis * Host your code privately and securely * Practice Git workflows in labs like TryHackMe or Hack The Box Gitea is written in Go, fast, and very easy to set up. --- ## Why Not Just Use GitHub? GitHub is a great cloud-based Git service, but it requires an account and internet access. Gitea is useful when you want: * A local Git service * Full control over your repositories * An offline environment * A private setup for personal, internal, or lab projects --- ## What File Do I Need to Download? Visit the official Gitea release page: [https://github.com/go-gitea/gitea/releases](https://github.com/go-gitea/gitea/releases) There are many files available. You ...

fix zsh history file

 Hey everyone! Today, I’ll show you how to fix the common error: zsh: corrupt history file ~/.zsh_history but before we need to know, what is Zsh ? ////// What is Zsh? Zsh (Z Shell) is an advanced Unix shell like Bash, but with more features, better customization, and a stronger scripting system. It does everything Bash can do — but with more: --Autocompletion --Spelling correction --Syntax highlighting --Fancy prompts --Plugins & themes (like Oh My Zsh)... to understand more : You know the terminal, right? It's where you type commands like ls, cd, sudo apt update. Well, that terminal is actually running a program called a shell — a kind of "interpreter" between you and the computer. There are different shells. The most common are: Bash — the old default Zsh — a newer, smarter one (used by default in Kali) Fish, sh, etc.... What files it uses ? and what they do ?  -1- ~/.zshrc  = Main config file. Controls how Zsh behaves (aliases, theme, plugins).  -2-~/.zsh_his...