This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.4.deb | |
sudo dpkg -i elasticsearch-1.7.4.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: http://www.limemo.net/blog/2013/12/ラズベリーパイを使ってみる-標準より高速なフ.html | |
sudo apt-get install xfsprogs | |
# format | |
#mkfs.xfs /dev/(デバイス名) | |
# mount | |
# sudo mount -t xfs /dev/(デバイス名) /mnt/hoge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: http://raspberrypi.stackexchange.com/questions/40831/how-do-i-configure-my-sound-for-jasper-on-raspbian-jessie | |
# This sets the index value of the cards but doesn't reorder. | |
options snd_usb_audio index=0 | |
options snd_bcm2835 index=1 | |
# Does the reordering. | |
options snd slots=snd-usb-audio,snd-bcm2835 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://denshikousaku.net/fix-sluggish-response-of-raspberry-pi-wifi-adaptor | |
sudo sh -c 'echo "options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1" >>/etc/modprobe.d/8192cu.conf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lol_dht22: Setup to use dht22 on Raspbian | |
git clone https://github.com/technion/lol_dht22 | |
cd lol_dht22 | |
./configure | |
make | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$command = 'sudo sh -c "/home/pi/install/aquestalkpi/AquesTalkPi '. $_POST["phrase"] . ' | aplay"'; | |
$command = 'sudo sh -c "/home/pi/install/aquestalkpi/AquesTalkPi '. $_POST["phrase"] . ' | aplay > /dev/null &"'; | |
//shell_exec($command); | |
exec($command); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: http://qiita.com/t_oginogin/items/f0ba9d2eb622c05558f4 | |
wget --trust-server-names 'http://osdn.jp/frs/redir.php?m=iij&f=%2Fjulius%2F60273%2Fjulius-4.3.1.tar.gz' | |
tar xvzf julius-4.3.1.tar.gz | |
cd julius-4.3.1/ | |
./configure | |
make | |
cd .. | |
mkdir ~/julius-kits | |
cd ~/julius-kits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MJPEG-streamer | |
# http://www.hiramine.com/physicalcomputing/raspberrypi/webcamstreaming.html | |
sudo apt-get install subversion libjpeg-dev imagemagick | |
svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer mjpg-streamer | |
cd mjpg-streamer | |
make | |
cd .. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Redis | |
sudo apt-get install redis-server | |
sudo pip install redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://qiita.com/kwi/items/36a5233d4ab31c015f8a | |
sudo apt-get update -y | |
sudo apt-get dist-upgrade -y | |
sudo apt-get install gstreamer1.0 gstreamer1.0-tools | |
# confirm using omx | |
gst-inspect-1.0 | grep omx |
OlderNewer