Skip to content

Instantly share code, notes, and snippets.

View steveseguin's full-sized avatar
🎯
Focusing

Steve Seguin steveseguin

🎯
Focusing
View GitHub Profile
class Gstreamer < Formula
desc "Development framework for multimedia applications - modified to include WebRTC support"
homepage "https://gstreamer.freedesktop.org/"
license all_of: ["LGPL-2.0-or-later", "LGPL-2.1-or-later", "MIT"]
revision 2
stable do
url "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/archive/1.22.8/gstreamer-1.22.8.tar.gz"
sha256 "ebe085820a32f135d9a5a3442b2cb2238d8ce1d3bc66f4d6bfbc11d0873dbecc"

compile the klipper firmware, making the changes to the config as needed first: https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller

run the nano convert python script in the script folder on the generated bin file; rename to Robin_nano_v3.bin

put it on a fat32 16gb uSD card and put it into the MKS baord and boot it up; give it 15 minutes

check the uSD content's after; the bin should be renamed to .cur, otherwise it didn't work.

If it did't work download source for openocd; build/install

EXHIBIT D
GIUFFRE VS. MAXWELL
Deposition
VIRGINIA GIUFFRE
05/03/2016
Agren Blando Court Reporting & Video, Inc.
216 16th Street, Suite 600
Denver Colorado, 80202
303-296-0017
Page 1
@steveseguin
steveseguin / run.py
Created December 21, 2023 18:25
Blogger to Markdown (github)
# pip install xmltodict markdownify
import xmltodict
import markdownify
import os
import requests
from urllib.parse import urlparse
import re
import time
Here is a recipe for a dish called "faux-rogies" that is inspired by pierogies but uses a few different ingredients:
Faux-rogies
Ingredients:
1 cup all-purpose flour
1/2 cup water
1/2 tsp salt
1/4 cup grated cheddar cheese
@steveseguin
steveseguin / gist:412e5c5087e5d4d03a1c157bb103ee19
Created January 5, 2023 08:42
How to connect to MongoDB with Python
To connect to MongoDB with Python, you will need to use a third-party library such as PyMongo. PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
Here's an example of how you can use PyMongo to connect to a MongoDB database and perform some basic operations:
Copy code
import pymongo
# Connect to the database
client = pymongo.MongoClient("mongodb://localhost:27017/")
@steveseguin
steveseguin / UPDATES
Last active May 5, 2024 03:10
Discord #update channel mirrored output
Daily progress updates and nightly new features for VDO.Ninja can be view at:
https://updates.vdo.ninja
You can also Join the Discord server at https://discord.vdo.ninja and follow the channel #updates
<html>
<body>
<div id="results" style="overflow:scroll;max-height:300px;">
starting...
</div>
<script> // https://jsfiddle.net/steveseguin/0t3ayvk8/31/
var connectionID = Math.random()*100000001; // we need to create a stream ID; it needs to be secure/unique, up to ~50 chars.
function RecvDataWindow(){
var iframe = document.createElement("iframe");
iframe.src = "https://vdo.ninja/?view="+connectionID+"&cleanoutput"; // See the info at docs.vdo.ninja for options
@steveseguin
steveseguin / janusvideoroom.py
Created August 7, 2021 18:07 — forked from saket424/janusvideoroom.py
to publish to videoroom 1234 as user gstwebrtcdemo use 'python3 janusvideoroom.py --server wss://janus.example.com:8989 gstwebrtcdemo'
import random
import ssl
import websockets
import asyncio
import os
import sys
import json
import argparse
import string
from websockets.exceptions import ConnectionClosed
@steveseguin
steveseguin / Dockerfile
Created August 7, 2021 16:48 — forked from tobiasfriden/Dockerfile
Gstreamer WebRTC python demo working Dockerfile
FROM maxmcd/gstreamer:1.14-buster
WORKDIR /usr/src
RUN apt-get update && apt-get install -y python3-pip \
pkg-config \
libcairo2-dev \
gcc \
python3-dev \
libgirepository1.0-dev \