Skip to content

Instantly share code, notes, and snippets.

View matudelatower's full-sized avatar
:octocat:

Matias Solis de la Torre matudelatower

:octocat:
  • Posadas, Misiones, Argentina
View GitHub Profile
@matudelatower
matudelatower / pi3config
Last active October 31, 2017 22:04
enable webcam raspberry pi3
Chrome has a bug and the rpi needs a few extra flags set. This solved it for me:
Add Drivers:
```sudo nano /etc/modules```
```i2c-dev```
```snd-bcm2835```
```bcm2835-v4l2```
Add extra V4l2 video driver flag (for Chromium to pick up the camera):
@matudelatower
matudelatower / test.project.com
Last active November 28, 2019 21:13
NGINX, Laravel, Laravel WebSocket, angular front configuration
map $http_upgrade $type {
default "frontend";
websocket "ws";
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name test.project.com;
root /var/www/html/frontend/dist/project-frontend;