Better HN
topnewbestaskshowjobs
Log inSign up

imakira

14 karma · joined Aug 8, 2022 (4y ago) · 7 submissions

Submissions

comment 10mo ago · link · parent

https://coruscation.net/

2.

Trace Labs(tracelabs.org ↗)

1 points · by imakira · 2y ago · discuss

comment 3y ago · link · parent

Thanks for the great information!

comment 3y ago · link · parent

Thanks! I have tried using bash substitution to solve it but failed (I just learned the difference between "#" and "##").

comment 3y ago · link · parent

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
  }

comment 3y ago · link · parent

Yeah it's like cheating, and I cheat myself by thinking O2 can exchange through sand :D

comment 3y ago · link · parent

I figured out you can limit the living area of Daphnia using glass and sand, and then feed the fishes with only grass.