Skip to content

Instantly share code, notes, and snippets.

View rsenna's full-sized avatar
🏠
Working from home

Roger Senna rsenna

🏠
Working from home
  • Barcelona, Spain
  • 17:55 (UTC +01:00)
  • X @rsenna
View GitHub Profile
@rsenna
rsenna / fastfetch-custom-counters.md
Last active October 26, 2025 15:12
A nushell script providing a list of "custom" package managers, and the amount of packages installed globally for each one of them

Fastfetch is pretty cool, but it only shows the total ammount of packages for "system" package managers...

So I decided to write this nushell script. Never done much with nushell before. It's... interesting, and fast, but there are plenty of "wtfs" I guess I was not expecting. I'm happy with the result though.

Anyway, this script provides counters for other package/version managers I'm currently using.

So far it only supports

const {
Clipboard,
Front,
Hints,
Normal,
RUNTIME,
Visual,
aceVimMap,
addSearchAlias,
cmap,
@rsenna
rsenna / Console command
Created November 30, 2012 16:41 — forked from joshuaflanagan/Console command
Turn off Always Start When Debugging for all web projects (run within Nuget powershell console)
get-project -all | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug" } | %{ $_.Value = "False"} }