Webcam parts:
- Raspberry Pi 4
- Raspberry Pi High Quality Camera (12.3-megapixel)
- Raspbian Buster Lite 2021-01-11
Webcam works with:
- Windows 10
- Windows 10 "Camera" app
- Google Hangouts via Chrome
import csv | |
import requests | |
import glob | |
# Quick and dirty script to convert a CSV file of album names to a Spotify playlist | |
SEARCH = "https://api.spotify.com/v1/search" | |
ALBUMS = "https://api.spotify.com/v1/albums" | |
AUTH = "Bearer xxxxxxxx" # Fill in with OAUTH token | |
PLAYLIST = "https://api.spotify.com/v1/users/xxxx/playlists/xxxxxxxx/tracks" # fill in |
import base64 | |
from http.server import HTTPServer | |
from http.server import SimpleHTTPRequestHandler | |
import socket | |
key = base64.b64encode(b"user:password") | |
class HTTPServerV6(HTTPServer): | |
address_family = socket.AF_INET6 |
@echo off | |
SET st3Path=c:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
pause |