Skip to content

Instantly share code, notes, and snippets.

@jsavko
jsavko / README.md
Created May 13, 2025 14:16 — forked from cannikin/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"
@jsavko
jsavko / move.ps1
Created May 2, 2025 20:41 — forked from yamgarcia/move.ps1
Auto Mouse Mover - AntiscreenSaver
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Mouse {
[DllImport("user32.dll")]
public static extern bool SetCursorPos(int x, int y);
}
"@
function Start-AntiscreenSaver {

Rhale Darkstar

Attributes [table] [tr][td]Intelligence:[/td][td] 17[/td][/tr] [tr][td]Perception:[/td][td] 17[/td][/tr] [tr][td]Charisma:[/td][td] 27[/td][/tr] [tr][td]Willpower:[/td][td] 17[/td][/tr] [tr][td]Memory:[/td][td] 21[/td][/tr] [/table]