Skip to content

Instantly share code, notes, and snippets.

View alexabruck's full-sized avatar
🍉

Alexa Steinbrück alexabruck

🍉
View GitHub Profile
{
"application": [
"Deepfakes",
"Search algorithms",
"Speech recognition (STT)",
"Industrial robots",
"Social robots",
"Voice Recognition",
"Facial recognition",
"Emotion recognition",

This is a tutorial for Pi's like the Raspberry Pi Zero V1.3 (without "W" for Wifi). This setup is for use with a Mac computer

  1. Connect to a Raspberry Pi Zero with a USB Cable and SSH.
  1. Share Internet Between macOS and a Raspberry Pi Zero Over USB.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
ssid="Your WiFi network name"
psk="Your WiFi network password"
scan_ssid=1
key_mgmt=WPA-PSK
}
1. Check that your Raspberry Pi actually has a WiFi Module built in :-)
2. Check your wpa_supplicant.conf File in /boot directory (Here's an example file: https://gist.github.com/alexabruck/16e3f04ae1d9c883bf5b1f1b5c9d08b2)
- formatting (no whitespace around the equal signs)?
- country code correct?
- typos?
- windows line endings are problematic
3. Check your Router settings
- Is a MAC Filter active?
- 2.4GHz or 5GHz? Raspberry Pi Zero will only work with 2.4GHz
- Is the SSID hidden? If yes, then you need to add scan_ssid=1 to the network settings in wpa_supplicant.conf File
@alexabruck
alexabruck / compress-video.txt
Last active March 5, 2021 16:01
Compress Video
#Crazy strong compression
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
#Compression recommended for Vimeo, Youtube etc (Note the mkv extension)
#See: https://trac.ffmpeg.org/wiki/Encode/YouTube
ffmpeg -i input.mov -c:v libx264 -preset slow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p output.mkv