This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"3": { | |
"inputs": { | |
"seed": 220034537643483, | |
"steps": 13, | |
"cfg": 1, | |
"sampler_name": "euler", | |
"scheduler": "normal", | |
"denoise": 1, | |
"model": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"6": { | |
"inputs": { | |
"text": "", | |
"clip": [ | |
"38", | |
0 | |
] | |
}, | |
"class_type": "CLIPTextEncode", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://liverydesignerwithamex.com/?id=eyJzdGF0ZSI6eyJCT0RZLjAwMSI6IiMzODE4NDkiLCJCT0RZLjAwMiI6IiMzODE4NDkiLCJGTE9PUi4wMDEiOiIjMzgxODQ5IiwiRlJPTlRXSU5HLjAwMSI6IiMzODE4NDkiLCJJTlRBS0UuMDAxIjoiIzM4MTg0OSIsIlJFQVJXSU5HLjAwMSI6IiMzODE4NDkiLCJXSEVFTFMuMDAxIjoiIzAwMDAwMCJ9LCJwYXR0ZXJuU3RhdGUiOjMsImxvY2FsZSI6ImVuIiwicHJpbnRlckZpbGVuYW1lIjoiRDMiLCJldmVudCI6Im1leGljb19jaXR5In0= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import torch | |
from sam2.build_sam import build_sam2 | |
from sam2.sam2_image_predictor import SAM2ImagePredictor | |
from ultralytics import YOLO | |
import supervision as sv | |
# Constants | |
CONF_THRESHOLD = 0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Turn on Jet Recirculators when Dust Collector kicks on, set speed to high, set timer to 2 hours | |
Need pulldown resistor 10kOhms | |
*/ | |
const int DLIpin = 2; //pin the DLI is connected to | |
const int speed = 3; //pin for Speed button | |
const int timer = 4; //pin for Time button | |
const int onoff = 5; //pin for on/off button |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const net = require('net'); | |
const http = require('http'); | |
const tcpServer = require('./server'); | |
const PORT = 2424; | |
tcpServer(net.createServer, { port: PORT }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const PORT = 2424; | |
const HOST = 'localhost'; | |
const DATA = 'data'; | |
const CLOSE = 'close'; | |
const ERROR = 'error'; | |
const onClientConnected = (socket) => { | |
const clientName = `${socket.remoteAddress}:${socket.remotePort}`; | |
console.log(`new client connected: ${clientName}`); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const arr = [10, 12, 15, 21]; | |
for (var i = 0; i < arr.length; i++) { | |
setTimeout(function(_i) { | |
return function() { | |
console.log('The index of this number is: ' + _i); | |
} | |
}(i), 3000); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define ROOF 2 | |
#define FENCE_RIGHT 3 | |
#define FENCE_LEFT 4 | |
#define WINDOW 5 | |
#define WALKWAY 6 | |
#define PANEL1 7 | |
#define PANEL2 8 | |
#define PANEL3 9 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define ROOF 2 | |
#define WINDOW 3 | |
#define PANEL1 4 | |
#define PANEL2 5 | |
#define PANEL3 9 | |
#define WALKWAY 10 | |
#define FENCE_LEFT 11 | |
#define FENCE_RIGHT 12 | |
#define RANDOM_PIN A4 |
NewerOlder