view · edit · sidebar · attach · print · history

2023

4.2.2023

  • Norm the linebreaks
 :%norm! gww

3.2.2023

  • Remove background noise
 ffmpeg -i in.mp3 -af "afftdn=nr=10:nf=-30:tn=1" out.mp3

26.1.2023

  • Grep in Apache Log file
 grep -ri generative . | awk '{print $1,$2,$3,":",$NF}'

12.1.2023

  • Nokogiri
 Nokogiri 1.14.0 is out with YJIT support.

10.1.2023

  • bisecting the Linux Kernel
 https://bugzilla.kernel.org/show_bug.cgi?id=216859

9.1.2023

  • Flatpak Gnucash Update
 sudo flatpak update

5.1.2023

  • ssh 1:9.1p1-2 throws this error after upgrade
 error: sys_get_rdomain: cannot determine VRF for fd=4 : Protocol not available
  • check all ssh output with
 ssh -vvv zdavatz@domain.ch
  • nine Rescue mount
 mount /dev/vda2 /mnt
 for name in proc sys dev ; do mount --bind /$name /mnt/$name; done
 mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
 chroot /mnt/ /bin/bash
  • show which kernel was last booted
 find /boot/vmli*
 stat -c %x /boot/vmlinuz-6.0.0-6-amd64
  • show all packages via devscripts
 rmadison openssh-server
  • Check network interface name
 ls /sys/class/net
 sudo lshw -C network | grep 'logical name'
  • Network settings for Debian
 cat /etc/network/interfaces

4.1.2023

  • Install Ruby 3.2.0 without Rdoc
 CONFIGURE_OPTS="--disable-install-rdoc" rbenv install 3.2.0
  • Check for Ruby YJIT support
 $ ruby --jit -v -e itself 
 ruby 3.2.0dev (2022-06-26T06:36:14Z master c2e37c8ff7) +MJIT [x86_64-linux]

 $ ruby --yjit -e0   
 ruby: warning: Ruby was built without YJIT support

3.1.2023

  • Grep or non UTF-8 characters:
 grep -P "[\x80-\xFF]" file
 grep -axv '.*' file.txt

2.1.2023

Verzeichnis nach Jahren

view · edit · sidebar · attach · print · history
Page last modified on February 06, 2023, at 10:06 AM