dotfiles
doom.d
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
2024-01-01 Emacs News
Felt (still am, actually) this problem too. Started with the same approach (Vanilla Emacs) a few years back in order to really learn the ins-and-outs after giving DOOM and others a shot and feeling like I didn't have the faintest what was really going on with all the magic. I somehow did end up falling in love with Emacs again[^1].
Won't lie... there was a fair amount of cursing involved and, despite the love, I wouldn't recommend many to venture down this road[^2].
Now I have gone the literate config way in my dotfiles https://github.com/vidbina/dotfiles/tree/main/emacs and I jump between Cursor (vscode-based), Neovim and Emacs for different tasks on a daily. I also found dustinlyons/nixos-config (https://github.com/dustinlyons/nixos-config/blob/main/module...) just a few days ago and figured that could be a fun resource when you're building yours up.
Take it as a hobby. There are a bunch of nice things that I picked up from Emacs (a. literate configs, b. comfort around working with LISPs, c. bigger appreciation for parts of the GNU ecosystem, d. more in-depth understanding of how my editor works which helps me debug issues in Neovim or vscode when I see them) but I still think that I'm cursed by wanting to go down this road so badly. Wish I could just vscode my way through live and build dope stuff, unencumbered.
1: Used Emacs heavily in college over 12 years ago when I would boot the Windows + Novell groupware school computers into my own Ubuntu config with my Emacs and embedded dev toolchain from my pendrive.
2: The single-threaded-ness and related ocassional unresponsiveness/hangups still grind my gears.
- vidbina's Emacs Config
-
Emacs is a box of Lego
Word! I believe I'm in the literate config stage atm https://github.com/vidbina/dotfiles/blob/main/emacs/README.org but still have a fair amount of stuff in the WIP state or COMMENT-ed out because I broke stuff somehow. Which reminds me a bit of picture 1. 🙊🙈
-
Any experts with literal programming: how to gradually add code to a function?
TL;DR: I recently started refactoring up my home-manager nix config https://github.com/vidbina/dotfiles/tree/reorg-for-lit-prog and my Emacs config https://github.com/vidbina/dotfiles/tree/reorg-for-lit-prog/emacs into literate programs to aid my future self's understanding of whatever I'm cooking up so, feel free to sneek a peek how they end up looking. I also keep the output code in the same repo.
doom.d
-
JavaScript for Shell Scripting
I wrote essentially the same thing for [Python](https://github.com/NightMachinary/brish). I have been using it extensively for months, and I’m very happy with it.
I have also used a REST API based on the Python version to implement the same thing easily in other languages, including a nifty [elisp macro](https://github.com/NightMachinary/doom.d/blob/master/night-b...) that lets you do:
(z du -h (split-string (z ls -a) "\n" t))
PS: It does proper quoting, using zsh’s builtin quoting system.
What are some alternatives?
zx - A tool for writing better scripts
doom-emacs - My Doom Emacs configuration
ngs - Next Generation Shell (NGS)
graaljs - A ECMAScript 2023 compliant JavaScript implementation built on GraalVM. With polyglot language interoperability support. Running Node.js applications!
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
shelljs - :shell: Portable Unix shell commands for Node.js
deno-exec
files - 📁 Async filesystem with very simple API for Node.js
environment - dotfiles
brish - Safely embed Zsh in Python.
zxpy - Shell scripts made simple 🐚