Skip to content

Instantly share code, notes, and snippets.

View krasder-ua's full-sized avatar

Andrew Krasder krasder-ua

View GitHub Profile
@cannikin
cannikin / README.md
Last active September 7, 2026 11:51 — forked from p123ad/README.md
Use Raspberry Pi Camera with Prusa Connect

Use Raspberry Pi and Pi Cam for Prusa Connect

I couldn't get the script from p123ad to work on my Pi Zero W 2 with Camera Module 3 (all kinds of ffmpeg errors). There are several built-in tools for working with the camera now, so I tried to figure out if I could use one of those instead.

Behold this version, which uses the built-in libcamera-still tool to actually interact with the camera and save a JPEG. That image is then uploaded to Prusa Connect, same as the original script.

Instructions

  1. Go to the Cameras section at https://connect.prusa3d.com
  2. Add a new camera by clicking "Add new other camera"
@basilalex
basilalex / index.html
Created July 11, 2017 14:16
Паттерн форматирования номера телефона для Украины.
<input
type="tel"
name="phone"
placeholder="Телефон"
pattern="[\+]\d{2}\s[\(]\d{3}[\)]\s\d{3}[\-]\d{2}[\-]\d{2}"
minlength="13"
maxlength="13"
/>