Skip to content

Instantly share code, notes, and snippets.

View steveseguin's full-sized avatar
🎯
Focusing

Steve Seguin steveseguin

🎯
Focusing
View GitHub Profile
@steveseguin
steveseguin / UPDATES
Last active April 26, 2024 04:57
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
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 / vimrc
Last active December 24, 2023 18:30
VIM configuration
" place at the end of ~/.vimrc ; create if not already there
" Also, "brew install vim", to install VIM if not already installed on mac. The default VI on MacOS sucks btw
set mouse-=a
set mouse=v
syntax on
set bs=2
set ruler
set paste
@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
<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
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 / install_gstreamer.sh
Last active November 3, 2022 17:21
gstreamer install script
#!/bin/bash
VERSION=1.12.4
mkdir ~/gstreamer_$VERSION
cd ~/gstreamer_$VERSION
wget https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$VERSION.tar.xz
wget https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$VERSION.tar.xz
wget https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$VERSION.tar.xz