Birthday Jukebox

Software to install:

Raspbian

  • diskutil list
  • diskutil unmountDisk
  • sudo dd bs=1m if=image.img of=/dev/rdisk<disk# from diskutil>
  • Setup wifi:
    • in /boot/wpa_supplicant.conf
    • network={
      ssid=”SSID”
      psk=”password”
      key_mgmt=WPA-PSK
      }
  • Enable ssh:
    • create /boot/ssh

File conversion

sudo pat-get install libav-tools

SystemD

makkelijk om logs te bekijken: tail -f /var/log/syslog

Directories

Create /home/pi/downloadedFiles and /home/pi/convertedFiles

Firebase

Copy key file

Basics

nmap -sn 192.168.1.0/24
sudo apt-get install git vim screen

screen bash

detach: ctrl + a; d

reattach: screen -r

close: ctrl + d

Node.js

git clone https://github.com/creationix/nvm.git ~/.nvm

sudo vim ~/.bashrc and sudo vim ~/.profile

add source ~/.nvm/nvm.sh

nvm install 8

Redis

  • sudo apt-get install redis-server
  • sudo systemctl status redid-server

Mopidy

RabbitMQ

  • sudo apt-get install rabbitmq-server
  • sudo systemctl status rabbitmq-server
  • sudo apt-get install python3pip
  • pip install pika

pHat DAC

PN-532

Apps

CardReader

sudo apt-get install python-pip

sudo pip install pika

 

 

Links

https://github.com/bfred-it/object-fit-images/

https://raspberrypi.stackexchange.com/questions/37131/change-volume-via-single-command

https://unix.stackexchange.com/questions/32206/set-volume-from-terminal/201969

https://learn.pimoroni.com/tutorial/phat/raspberry-pi-phat-dac-install

https://volumio.org/forum/volume-control-issues-volumio1-rpi-zero-dac-phat-t4319.html

https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/i2s-tweaks

https://support.hifiberry.com/hc/en-us/articles/207397665-Mixing-different-audio-sources

https://www.w3schools.com/howto/howto_css_modal_images.asp

Advertisements
Birthday Jukebox

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s