{"id":23051535,"url":"https://github.com/averissimo/cool-tricks","last_synced_at":"2026-03-20T00:22:13.368Z","repository":{"id":147521323,"uuid":"260465321","full_name":"averissimo/cool-tricks","owner":"averissimo","description":"Cool tricks to remember","archived":false,"fork":false,"pushed_at":"2020-05-13T17:57:36.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-14T20:47:29.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/averissimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-01T13:26:36.000Z","updated_at":"2023-04-21T20:17:06.000Z","dependencies_parsed_at":"2024-07-07T04:01:13.356Z","dependency_job_id":null,"html_url":"https://github.com/averissimo/cool-tricks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/averissimo/cool-tricks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averissimo%2Fcool-tricks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averissimo%2Fcool-tricks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averissimo%2Fcool-tricks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averissimo%2Fcool-tricks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/averissimo","download_url":"https://codeload.github.com/averissimo/cool-tricks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averissimo%2Fcool-tricks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29361818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T23:46:17.928Z","updated_at":"2026-02-12T08:31:49.890Z","avatar_url":"https://github.com/averissimo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e cool tricks to remember\n\n## General settings\n\nSee [averissimo/linux-config](https://github.com/averissimo/linux-config)\n\n## Use DSLR as webcam\n\n[from stackoverflow](https://askubuntu.com/questions/856460/using-a-digital-camera-canon-as-webcam)\n\nRequirements:\n\n```\n$ sudo apt install gphoto2 v4l2loopback-utils ffmpeg\n```\n\nUse it *(after plugging in camera via usb cable)*\n\n```\n#!/bin/bash\n\n# killall gphoto processes\nps -aux | grep gphoto | grep -v grep | awk '{ print $2 }' | xargs kill -9 \n\n# add video loopbackd device\nsudo modprobe v4l2loopback\n\n# Use gphoto to capture and pipe it to loopback device (that can be used by skype, zoom, etc..)\ngphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2\n```\n\nnote: `/dev/video2` might be different *(depending on computer)*, use `v4l2-ctl --list-devices` to see which one is the loopback *(dummy)*\n\n## RStudio links\n\n[Current version](https://rstudio.com/products/rstudio/download/) and [Preview](https://rstudio.com/products/rstudio/download/preview/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faverissimo%2Fcool-tricks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faverissimo%2Fcool-tricks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faverissimo%2Fcool-tricks/lists"}