News for hackers. Stuff that matters.

imakira

Thanks for the great information!
Thanks! I have tried using bash substitution to solve it but failed (I just learned the difference between "#" and "##").
I wrote a bash version of this:

  function frg {
    result=`rg --ignore-case --color=always --line-number --no-heading "$@" |
      fzf --ansi \
          --color 'hl:-1:underline,hl+:-1:underline:reverse' \
          --delimiter ':' \
          --preview "bat --color=always {1} --theme='Solarized (light)' --highlight-line {2}" \
          --preview-window 'up,60%,border-bottom,+{2}+3/3,~3'`
    file="${result%%:*}"
    linenumber=`echo "${result}" | cut -d: -f2`
    if [ ! -z "$file" ]; then
            $EDITOR +"${linenumber}" "$file"
    fi
  }
Re:Orb Farm on Saturday May 20, 2023 @08:36AM (#36011406)
Yeah it's like cheating, and I cheat myself by thinking O2 can exchange through sand :D
Re:Orb Farm on Friday May 19, 2023 @06:05PM (#36007335)
I figured out you can limit the living area of Daphnia using glass and sand, and then feed the fishes with only grass.