HN user

selendym

23 karma
Posts0
Comments8
View on HN
No posts found.
[GET] "/api/user/selendym/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

Firejail can't handle : in some paths (at all, no escaping provided) which made me dump it.

This doesn't match my experience. For example, the following works just fine in a profile file:

  blacklist /sys/devices/pci0000:00/*
Can you give an example of what you had problems with?

it bugs me to an unreasonable extent that he finished one person short of 7777

Perhaps (likely?) he himself should be counted too, so 7777 in total.

In bash, you can do something like this out-of-the-box by setting the `PS1` variable to your liking. For example, I use the following in `/etc/bash.bashrc`:

  PROMPT_COMMAND='_prev_status="$?"'
  PS1='\n$(printf "%0${COLUMNS}d\n" 0 | tr 0 -)\n[\D{%y%m%d-%H%M%S}] \u@\H (${_prev_status})\n${PWD}\n\$ '
The first line saves the status of the previous command and the second line sets the prompt string. The result is something like this:
  ---------------------------------------- <these dashes span the terminal width>
  [date-time] user@host (status)
  /current/working/directory
  $ <next command>