RSSAmplifier

Blog

tusharhero's pages

Articles written by tusharhero (and some other stuff)!

tusharhero.codeberg.pageRSS feed ↗23 posts

Latest posts

Guix shell now inside Emacs!

~657 words. ~3 minutes. tags: guix emacs programming This is my submission for Emacs Carnival July 2026 . If you don't know what GNU Guix is: It's an advanced package manager and a distribution of the GNU Operating system . With kernel support for both GNU Linux-libre and, experimentally, for the GNU Hurd . Guix's package manager is inspired by Nix , except that it uses GNU Guile instead of…

Underappreciated builtin: Grand Unified Debugger

~1098 words. ~5 minutes. tags: emacs programming debugging Or as I would like to call it, GLORIOUS Unified Debugger. This is my submission for June's Emacs Carnival , Underappreciated Emacs built-ins. You can find detailed information in the excellent documentation at (info "(emacs) Debuggers") . Multi debugger support I mostly use its GDB Graphical Interface. But it supports multiple debuggers…

May I recommend: lesser known org-modes

~373 words. ~1 minutes. tags: emacs For this month's Emacs carnival topic, May I recommend… , I would like to recommend two cool org minor modes I discovered recently, in the order of me discovering them. org-num-mode This mode adds numbering to headings. Like this: * 1 heading ** 1.1 subheading *** 1.1.1 subsubheading ** 1.2 subheading * 2 heading This is not added to the text directly, only…

PALE, Canvas, and Stuff demos

~1462 words. ~7 minutes. tags: emacs demos programming The various demos relating this were seriously getting out of hand. I hope to properly demo them, and provide some background. I will try to keep improving and updating this page regularly. In-tree PALE days (tiling) PALE stands for “Picture and Animation Library for Emacs”, it grew out of struggles with rendering in Emacs Reader . Wherein…

Pull Requests as Branches

~169 words. ~0 minutes. tags: git tutorial programming Consider these questions: Do you find it annoying to use the web interface to merge pull requests? Do you copy paste the merge instructions from your forge's web interface? Perhaps you like to checkout the PR branch first? Do you manually add their repository to your config? Perhaps, you use the following command git fetch -u : git switch I…

ANN: Modus Gotham is here

~94 words. ~0 minutes. tags: emacs Inspired by Magnus's blog post on creating a theme based on Modus, I decided to try my hand at implementing the gotham-theme using modus-themes . This is my first time creating a theme, so don't expect it to be perfect yet. https://codeberg.org/tusharhero/modus-gotham You can install it via package-vc for now. It took me approximately 2.5 hours to get this far.

GNU Emacs needs a virtual keyboard

~929 words. ~4 minutes. tags: emacs I mean this more generally as in everywhere GNU Emacs is available, but especially the recent Android port. If you are like most people, you have probably had to edit text on a mobile phone. And then you must be aware of how the virtual keyboard is not just used for entering characters into the text area, but it in fact assists the user while editing the text,…

SVG? Yes!

~165 words. ~0 minutes. tags: emacs meta This post by nwalsh shows how to use SVG in Org generated HTML pages. I would like to showcase yet another way you can use SVGs in Org generated HTML pages, and that is through Org Babel. ( let ((svg (svg-create 400 400 :stroke-width 10))) (svg-gradient svg "gradient1" 'linear '((0 . "red" ) (100 . "blue" ))) (svg-circle svg 200 200 100 :gradient…

Obscure Emacs packages

~590 words. ~2 minutes. tags: emacs This is my second submission to the Emacs Carnival (my first one was emacs elevator pitch ). The theme this time around is about obscure emacs packages . I figure I will just talk about the obscure packages I use. Org Custom Cookies homepage This package by gsingh93 allows you to define your own custom cookies for org-mode. This was the first package I ever…

Emacs Elevator Pitch

~45 words. ~0 minutes. tags: emacs "Emacs gud." "Okay."

Hunk editing with Magit

~591 words. ~2 minutes. tags: git emacs tutorial This was asked in a reddit post , I want a separate commit for edits A, B, and C Line 1 Line 2 editA Line 3 editB Line 4 editC Line 5 From the command line I do. git add -p git commit That's hunk editing. Instead of untying an impossible knot you whack it apart with a machete (ie hunk edit). Now with magit. I can select things in the status buffer…

Creating a blog

~11831 words. ~59 minutes. tags: meta programming emacs Introduction I have been blogging by manually exporting my org-mode files into HTML with a custom CSS file and then SCP-ing the generated HTML file into my SDF personal page. While this works fine, The page doesn't have any SSL certificate, which just makes my website look bad. So I have recently decided to switch my blog over to Codeberg and…

How to push to multiple git remotes at once

~91 words. ~0 minutes. tags: git programming tutorial If you use multiple git remotes like me, you often have to manually push to each remote one by one. I have good news, you don't have to do it manually! Here is how you can push to all your remotes at once. add this to your .git/config [ remote "allremotes" ] fetch = +refs/heads/*:refs/remotes/allremotes/* url = ... (url of first remote) url =…

How to setup a Git server

~102 words. ~0 minutes. tags: git unix tutorial To create a git server, you need to do the following: Setup SSH. Install git. You are done. Yes. You are done, if you are intending to use it as a personal git backup server (Which is what I need it for). You just create a git repository anywhere you want (I do it at ~/git/ ) using the following command. git init --bare > To clone this repo, use the…

How to download more RAM

~194 words. ~0 minutes. tags: linux ram No, actually. We can do this by increasing our swap with Zram. What exactly is Zram? Zram basically takes a part of your actual physical ram and stores compressed ram contents in it. The gains are crazy Why not just increase the swap directly? Because regular swap is slower than Zram. Setup Install zram-generator . On Archlinux, its pacman -S zram-generator…

Why do I use Emacs?

~659 words. ~3 minutes. tags: emacs programming I often get asked why I use Emacs, I feel like I have to defend myself because they often hit me the "Why not just use Vim or Neovim?", I plan to send them the reply through this article. The Beginnings and Past So let's start from the beginning, according to my git logs (of my Emacs configuration ) I started using Emacs in the August of 2023(at…

Free Software

~347 words. ~1 minutes. tags: freesoftware story Ravivan argued in favor of free software, stating that it provides its users the 4 essential freedoms, Those are the freedoms to to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. And he said, "Therefore, all software should be Free software." Chandgopal…

Was it real, doctor?

~2489 words. ~12 minutes. tags: story November 28 To: From: Subject: Weird Dreams and Sleep paralysis Dear Dr. Paramjeet Singh, I hope you and your patients are doing fine. Say hi to Vinod and Bhism. Are they still playing gully cricket every Sunday? And did you finally stop smoking? I really miss our therapy sessions doctor. They helped me get everything out of me and have clarity in life. But…

Who is crying?

~159 words. ~0 minutes. tags: philosophy Who is it? When you say the Earth is crying, to whom are you referring to? You explain that it is just a personification of Earth, and that it doesn't literally mean the Earth is crying. Well then, what is it referring to? You say that it's referring to the bad we are doing to our Earth by cutting down acres of forests, polluting the oceans, emitting…

Pair programming using tmux

~373 words. ~1 minutes. tags: programming unix Introduction I have recently discovered the joy of pair programming, its great for teaching about command line tools and programming, or even just working on a project. It basically allows people to use the same computer and the text editor at once. I use tmux for this (Even though I don't really use it when not on a server). But most of the tutorials…

Thoughts on Free Software.

~693 words. ~3 minutes. tags: freesoftware philosophy Introduction I have been using Free software for almost 1.5 years now. This article is about some of the thoughts I have been having. Getting beginners to use Free software Open-source Well, most people really learn about the Free software movement via the Open-source movement, I haven't encountered anyone in my daily life or on the internet…

My friend

~673 words. ~3 minutes. tags: story The scenery from the terrace on his home was beautiful. His house was surrounded by lush green trees on its corners. It had gently rained just a few hours ago, in the afternoon, and the sun had set just a while ago, but the cloudy sky had already made a dusk like atmosphere. Ram was feeling little uneasy from the dream he got. That is why he called Mehul so that…

Does Mathematics talk about the universe?

~1585 words. ~7 minutes. tags: philosophy What is the debate? I was debating with a person on the internet, about whether, Mathematics is about the universe. I am of the belief that Mathematics is not about the universe. Exploring the universe is the job of Science. Then there is the deeper debate, is Mathematics Science? Why is Mathematics not a Science? My argument Science is a neutral,…