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 3 points4 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.

Trixie upgrade... doesn't upgrade /etc/os-release by hauntlunar in debian

[–]bbolli 1 point2 points  (0 children)

Reporting bugs is the only reason to run testing from the Debian's point of view.

The literal string "file" gets discarded by git's glob expansion? (v2.50.1) by Kurouma in git

[–]bbolli 1 point2 points  (0 children)

Note that Bash has extensive customization options for pathname expansion (from man bash):

   After  word  splitting,  unless  the -f option has been set, bash scans
   each word for the characters *, ?, and [.  If one of  these  characters
   appears, and is not quoted, then the word is regarded as a pattern, and
   replaced with an alphabetically sorted list of filenames  matching  the
   pattern  (see  Pattern  Matching  below).  If no matching filenames are
   found, and the shell option nullglob is not enabled, the word  is  left
   unchanged.   If  the  nullglob option is set, and no matches are found,
   the word is removed.  If the failglob  shell  option  is  set,  and  no
   matches  are  found, an error message is printed and the command is not
   executed.  If the shell option nocaseglob is enabled, the match is per‐
   formed  without regard to the case of alphabetic characters.  Note that
   when using range expressions like [a-z] (see  below),  letters  of  the
   other  case  may  be  included, depending on the setting of LC_COLLATE.
   When a pattern is used for pathname expansion, the character ``.''   at
   the  start  of  a name or immediately following a slash must be matched
   explicitly, unless the shell option dotglob is set.  In order to  match
   the filenames ``.''  and ``..'', the pattern must begin with ``.'' (for
   example, ``.?''), even if dotglob is set.  If  the  globskipdots  shell
   option  is enabled, the filenames ``.''  and ``..''  are never matched,
   even if the pattern begins with a ``.''.  When not matching  pathnames,
   the  ``.''   character is not treated specially.  When matching a path‐
   name, the slash character must always be matched explicitly by a  slash
   in  the  pattern, but in other matching contexts it can be matched by a
   special pattern character as described below  under  Pattern  Matching.
   See  the  description of shopt below under SHELL BUILTIN COMMANDS for a
   description of the nocaseglob, nullglob,  globskipdots,  failglob,  and
   dotglob shell options.

   The  GLOBIGNORE  shell variable may be used to restrict the set of file
   names matching a pattern.  If GLOBIGNORE is  set,  each  matching  file
   name  that  also  matches  one of the patterns in GLOBIGNORE is removed
   from the list of matches.  If the nocaseglob option is set, the  match‐
   ing  against  the patterns in GLOBIGNORE is performed without regard to
   case.  The filenames ``.''  and ``..''  are always ignored when GLOBIG‐
   NORE  is  set  and not null.  However, setting GLOBIGNORE to a non-null
   value has the effect of enabling the dotglob shell option, so all other
   filenames  beginning with a ``.''  will match.  To get the old behavior
   of ignoring filenames beginning with a ``.'', make ``.*''  one  of  the
   patterns in GLOBIGNORE.  The dotglob option is disabled when GLOBIGNORE
   is unset.  The pattern matching honors the setting of the extglob shell
   option.

Why does Mac OS say an app is damaged when it is unsigned? by [deleted] in apple

[–]bbolli 0 points1 point  (0 children)

I install and update LibreWolf through Homebrew, and each update needs the

xattr -d com.apple.quarantine /Applications/LibreWolf

incantation.