Skip to content

Instantly share code, notes, and snippets.

View nicolas-lutic's full-sized avatar

LUTIC NICOLAS nicolas-lutic

  • Loxodata
  • Nantes
  • 15:13 (UTC +02:00)
View GitHub Profile
@nicolas-lutic
nicolas-lutic / obs-virtcam.md
Last active November 28, 2020 15:29
OBS + virtual CAM

Requirement :

sudo apt-get install v4l-utils v4l2loopback-dkms obs-v4l2sink
sudo modprobe v4l2loopback video_nr=10 devices=1 card_label="obs-cam" exclusive_caps=1
sudo modprobe v4l2loopback-dc video_nr=12 devices=1 card_label="droid-cam" exclusive_caps=1


cat /etc/modules-load.d/v4l2loopback.conf 
v4l2loopback
cat /etc/modprobe.d/v4l2loopback.conf 
sudo vim /etc/apt/sources.lis
deb http://ftp.debian.org/debian stretch-backports main
sudo apt-get install -t stretch-backports rsyslog-pgsql
@nicolas-lutic
nicolas-lutic / syncGitHubForkMaster.md
Last active April 19, 2018 13:12
Syncing my fork and the origin master
git clone git@github.com:nicolas-lutic/laravel.git

git remote add upstream git@github.com:laravel/laravel.git

git fetch upstream

git merge upstream/master

git push origin master
docker pull postgres
# create container
docker run --name test-db -e POSTGRES_PASSWORD=my_secret_password -d -p 5432:5432 postgres
# database test creation
docker run -it --rm --link test-db:postgres postgres psql -h postgres -U postgres -c "create database testdb"

Keybase proof

I hereby claim:

  • I am nicolas-lutic on github.
  • I am nlu (https://keybase.io/nlu) on keybase.
  • I have a public key ASDrk-OUfaHOcCofZKgMxHvA_ZMrAFe0W_lmokiN_SXiHgo

To claim this, I am signing this object: