/ 雑記帳

痛いじゃねーかよ

ヒミュラを打ちました。こんなの何時まで続ける。
非常に痛し....

— posted by くま at 09:30 pm   pingTrackBack [0]

Keith Jarrett Days of Wine and Roses

泣けて来る。

— posted by くま at 11:13 pm   pingTrackBack [0]

 

HiFaceEVO

http://www.mi-take.biz/system72/DAC_2/HiFaceEVO/HiFaceEVO_I2S.html

— posted by くま at 05:46 pm   pingTrackBack [0]

 

README.md を読む nautilus-scripts

$ git clone https://github.com/Orc/discount.git
$ cd discount
$ ./configure.sh
# make
# make install
     
$ cat md-html
     
#!/bin/bash
for arg
do
#zenity --info --text="$PWD/$arg"
text="$PWD/$arg"
#zenity --info --text="$PWD/$arg"
#gnome-terminal -e "sh -c 'echo $text;exec bash'"
gnome-terminal -e "sh -c 'markdown $text > $text.html;exec bash'"
done

— posted by くま at 12:07 am   pingTrackBack [0]

ALSA ドライバー サポートカード

http://www.alsa-project.org/main/index.php/Matrix:Main

— posted by くま at 11:03 am   pingTrackBack [0]

rpmbuild 参考になります

http://blog.tnmt.info/2011/04/29/rpmbuild-for-beginner/

— posted by くま at 11:18 am   pingTrackBack [0]

usermod

usermod -a -G audio kkumax

— posted by くま at 10:28 pm   pingTrackBack [0]

CentOS5.1 mdp mpc sonata

この組み合わせでなんとか(笑)
$ cat /etc/redhat-release
CentOS release 5.10 (Final)
    
sonata-1.2.3-1.1
python-tag-0.91-3.el5
python-soap-0.11.6-1.el5.rf
python-fpconst-0.7.3-1.el5.rf
mpd-0.16-1.el5.rf
ffmpeg-devel-0.6.5-1.el5.rf
libquicktime-1.2.4-1.el5.rf
vlc-0.9.9a-7.el5.rf
ffmpeg-libpostproc-0.6.5-1.el5.rf
ffmpeg-0.6.5-1.el5.rf
x264-devel-0.0.0-0.4.20101111.el5.rf
zziplib-0.13.45-1.el5.rf
live555-0-0.27.2012.02.04.el5.rf
libdvbpsi-0.1.7-1.el5.rf
libkate-0.3.7-1.el5.rf
libmatroska-1.0.0-1.el5.rf
libebml-1.0.0-1.el5.rf
x264-0.0.0-0.4.20101111.el5.rf

— posted by くま at 05:25 pm   pingTrackBack [0]

ファイル名をfolder.jpgに

ノーチラススクリプトです。画像データーのファイル名をfolder.jpgに
変えます。

#!/bin/sh

for arg
do
mv "$*" folder.jpg
done

for arg
do
mv "$*" folder.jpg
done

— posted by くま at 09:55 pm   pingTrackBack [0]

 

Redhat系でのmpd起動スクリプト

Redhat系でのmpd起動スクリプトです。サウンドカードかUSBを選択して起動します。

#!/bin/sh

POINT=`ps aux | grep mpd | grep mpd.conf | grep -v "grep" | ¥
awk '{print $12}' | sed 's/¥/etc¥///g' | awk -F"." '{print $1}'`
#
if [ -z $POINT ]
then
echo "停止中"
echo ""
echo "$POINT"
#
else
echo ""
echo "起動中 終了します。"
ps aux | grep mpd | grep mpd.conf | grep -v "grep"
echo ""
#
exit
fi
#############################
echo ""
echo "Choose 1:USB or 2:M-Audio"
echo ""
read ch
#echo $ch

case "$ch" in
[1])
echo ""
echo "1: USB"
mpd /etc/mpd2.conf
echo ""
#
;;
[2])
echo ""
echo "2: M-Audio"
mpd /etc/mpd.conf
echo ""
#
echo ""
;;
esac
echo "終了しました!"
ps aux | grep mpd | grep mpd.conf | grep -v "grep" | awk '{print $12}' | sed 's/¥/etc¥///g' | awk -F"." '{print $1}'
ps aux | grep mpd | grep mpd2.conf | grep -v "grep" | awk '{print $12}' | sed 's/¥/etc¥///g' | awk -F"." '{print $1}'

— posted by くま at 09:52 pm   pingTrackBack [0]

<< 2024.11 >>
SMTWTFS
     12
3456789
10111213141516
1718 1920212223
2425262728 2930
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.2991 sec.