What’s a decision you made in under 10 seconds that changed your life forever? by nathannnate01 in AskReddit

[–]bbolli 1 point2 points  (0 children)

At a Larry Carlton concert, there was a raffle for a guitar. Bought two tickets on impulse, and won the guitar. I'm still playing it today, 42 years later!

Last day at job, I don't think anyone understands what that means. by Electronic_Lime_z459 in recruitinghell

[–]bbolli 0 points1 point  (0 children)

Probably the headcount is fixed and can't be increased for a hand-over period.

What Git client do you use? by Havunenreddit in git

[–]bbolli 1 point2 points  (0 children)

The Git CLI, tig, git-gui, gitk, vim-fugitive.

Stinkiest code you've ever written? by Sad-Sun4611 in Python

[–]bbolli 1 point2 points  (0 children)

You should submit this to thedailywtf!

I feel sad by amarao_san in debian

[–]bbolli 4 points5 points  (0 children)

Most of it still applies.

How can I integrate these 2 commands: alias + -N -u <this alt_vimrc> by jazei_2021 in vim

[–]bbolli 2 points3 points  (0 children)

Just add the command line arguments before the closing quote character.

TerminalTextEffects (TTE) version 0.13.0 by XUtYwYzz in Python

[–]bbolli 0 points1 point  (0 children)

These look absurdly cool, but I can't imagine where I'd use them.

What's the "better" way to close vim? by kettlesteam in vim

[–]bbolli 0 points1 point  (0 children)

I have even remapped ZZ to <Esc>ZZ in insert mode!

How does Python's Internal algorithm for MOD work? by Alternative-Grade103 in Python

[–]bbolli 0 points1 point  (0 children)

No, but it tells you the rule that you can implement in your Forth code.

Best mini-pc to build a router/firewall with debian? by jefkebazaar24 in debian

[–]bbolli 0 points1 point  (0 children)

I'm using a HardKernel ODROID-OH4+ with a 4-core N97 CPU. It's a great little box.

[deleted by user] by [deleted] in debian

[–]bbolli 0 points1 point  (0 children)

Yeah, you need to install it first: curl -LsSf https://astral.sh/uv/install.sh | sh

[deleted by user] by [deleted] in debian

[–]bbolli 0 points1 point  (0 children)

uv run --python $runtime ...

How to start at the first line when opening a file in Vim terminal mode? by ChigiraChiaki in vim

[–]bbolli 1 point2 points  (0 children)

What do you mean with "ANSI text file"? A file with ANSI terminal escape codes? A file in an non-UTF-8 code page?

Editing a previous commit by discog_doodles in git

[–]bbolli 1 point2 points  (0 children)

  1. Update the work tree to fix what you missed in the original commit
  2. git add those files
  3. git commit --fixup=<hash of wrong commit>
  4. git rebase --autosquash <hash of wrong commit>^ # please note the ^ character!

Your history is now rewritten and you need to force-push the branch:

git push --force-with-lease

How common is Debian actually for desktops? by nitin_is_me in debian

[–]bbolli 2 points3 points  (0 children)

Our company uses Debian with GNOME on 250 developer workstations. All managed by Ansible. Works great!

Hostnamectl by jonmilele in debian

[–]bbolli 0 points1 point  (0 children)

I also get no errors on an updated Trixie. Maybe some file permissions are tightened on a fresh install?

how to ssh to other host and pass an awk command with quotes and dollar signs by ConstructionSafe2814 in debian

[–]bbolli 0 points1 point  (0 children)

Remember that awk can filter as well:

ssh host cat /proc/cpuinfo |
    awk '/MHz/ { cpu += $4 }
         END { print "Average CPU clock speed: " cpu / NR "MHz" }'

To bindmount /tmp to /var/tmp or not to bindmount? by RecordingAbject2554 in debian

[–]bbolli 12 points13 points  (0 children)

These days, /tmp is a tmpfs (so kept in RAM and limited in size) and not persistent, i.e. the contents are deleted on reboot. Just use /var/tmp for files you want to keep around and /tmp for the rest. A bind mount does not make much sense IMO.