Как воспроизвести музыкальную композицию в консоли, при этом с возможностью управлять воспроизведением из скрипта?
Вот так:
#linux #bash
  Вот так:
#!/bin/bashОписание функциональности
MUSIC_FILE="audio-file.ogg"
FIFO_FILE="control"
mkfifo "$FIFO_FILE"
mplayer -quiet -slave -input file="$FIFO_FILE" "$MUSIC_FILE" > /dev/null 2>&1 &
sleep 1
echo stop > "$FIFO_FILE"
rm "$FIFO_FILE"
exit 0
mplayer: https://www.mplayerhq.hu/DOCS/tech/slave.txt#linux #bash
GitHub - buserror/simavr: simavr is a lean, mean and hackable AVR simulator for linux & OSX
https://github.com/buserror/simavr
  
  https://github.com/buserror/simavr
GitHub
  
  GitHub - buserror/simavr: simavr is a lean, mean and hackable AVR simulator for linux & OSX
  simavr is a lean, mean and hackable AVR simulator for linux & OSX - buserror/simavr
  "The (jtd) module for Guile provides a procedure (jump-to-debugger) for escaping to the Guile REPL for the purpose of debugging code."
https://github.com/mwette/guile-jtd
#gnu #guix #scheme #debugger
  
  https://github.com/mwette/guile-jtd
#gnu #guix #scheme #debugger
GitHub
  
  GitHub - mwette/guile-jtd: jump-to-debugger: like Python's pdb.set_trace(), but for Guile
  jump-to-debugger: like Python's pdb.set_trace(), but for Guile - GitHub - mwette/guile-jtd: jump-to-debugger: like Python's pdb.set_trace(), but for Guile
  
  memory heap
Отправил патч в GNU Guix с добавлением simavr: https://lists.gnu.org/archive/html/guix-patches/2022-03/msg01175.html  #gnu #guix #avr
Патч, добавляющий simavr в GNU Guix приняли!
\o/
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=02c81a44c67ea94f04a487d9b20111abf08dee44
#gnu #guix #avr
\o/
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=02c81a44c67ea94f04a487d9b20111abf08dee44
#gnu #guix #avr
👍2
  Forwarded from Hacker News
Proposal to add build graph output to GNU Make (2020) (❄️ Score: 150+ in 2 days)
Link: https://readhacker.news/s/53YSn
Comments: https://readhacker.news/c/53YSn
  
  Link: https://readhacker.news/s/53YSn
Comments: https://readhacker.news/c/53YSn
Blogspot
  
  Proposal to add build graph output to GNU Make
  Background In 2015 I worked as a consultant at a large company in Lund. My position was with the build  team and one of our responsibilities...
  Возможность отладки уже запущенного процесса через GDB — просто огонь.
$ pgrep my-program#dev #gdb #debugging
1234
$ gdb -p 1234
👍3
  Из курсовика по Java.
"Aunt" == "тётя"
"Auntification" == "тётификация"
#нртк #студенты #студенческие_перлы
"Aunt" == "тётя"
"Auntification" == "тётификация"
#нртк #студенты #студенческие_перлы
🔥2