Skip to content

Instantly share code, notes, and snippets.

View lemenkov's full-sized avatar

Peter Lemenkov lemenkov

View GitHub Profile
sudo yum install python-mutagen
find -iname '*.mp3' -print0 | xargs -0 mid3iconv -eCP1251 --remove-v1
for i in `cat usr_share_java.txt`; do yum info $i | grep ^Name | awk -F ":" '{print $2}' | sed s,^\ ,,g ; done
cu -l /dev/ttyUSB0 -s 115200
flashfs save && flashfs commit && flashfs enable
for i in 0 1 2 3 4 5 6 ; do nvram set vts_ipaddr_x${i}=192.168.1.40 ; done
nvram commit
git log|grep ^Author|sort|uniq|sed s,^Author\:\ ,,g | awk -F " <" '{print $1 " = " $1 " <" $1 ">"}'