Note: You are viewing an old version of this page. View the current version.

http://friends.cyberleo.net/cyberleo/pub-ssh.txt

Teams

Copyright

Tasks

  • PleskAPI - 90% - Awaiting feedback
  • Billing
  • Accounts Infrastructure
  • Support Ticket System

Notes

Scrapbin

Copy dependent libraries into a chroot jail:

/bin/sh -c 'fifo="/tmp/ldd-$$"; mkfifo -m 600 ${fifo}; ldd /usr/sbin/sshd | cut -f2 | cut -d" " -f3 | tee ${fifo} | tail -n $(( $( cat ${fifo} | wc -l ) - 1 )); rm -f ${fifo}' | cpio --pass-through --make-directories /root/chroot/sshd/

Console Progress Bar for FreeBSD is in misc/clpbar

# Extract waveform data
for I in *.mp3; do lame --decode "${I}" "wav/$(basename "${I}" .mp3).wav"; done
for I in *.flv; do mplayer -vo null -ao pcm:fast:file="wav/$(basename "${I}" .flv).wav" "${I}"; done

# Strip off leading and trailing silence
bash
for I in *.wav
do
  echo -n "==> ${I} : "
  echo -n "copy "; cp "${I}" 00.wav || kill $$
  echo -n "silence "; sox 00.wav 01.wav silence 1 0.1 0.1 || kill $$
  echo -n "reverse "; sox 01.wav 02.wav reverse || kill $$
  echo -n "silence "; sox 02.wav 01.wav silence 1 0.1 0.1 || kill $$
  echo -n "reverse "; sox 01.wav 00.wav reverse || kill $$
  echo "move"; mv 00.wav "${I}" || kill $$
done

# Normalize all tracks
normalize -m *.wav