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
| #!/usr/bin/env python3 | |
| """ | |
| Test script for optimized S3 upload (direct for small files, parallel multipart for large files). | |
| Tests uploading ComfyUI_0001_.png using the optimized upload function. | |
| """ | |
| import os | |
| import sys | |
| import boto3 | |
| from botocore.config import Config |
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 runpod | |
| import json | |
| import urllib.request | |
| import urllib.parse | |
| import time | |
| import os | |
| import requests | |
| import base64 | |
| from io import BytesIO | |
| import websocket |
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
| """ | |
| GeminiImageDirectNode - Direct Gemini API Integration for ComfyUI | |
| Clean implementation using google-genai SDK 1.55.0+ with no fallbacks or retries. | |
| """ | |
| import os | |
| import base64 | |
| import time | |
| import traceback | |
| from io import BytesIO |
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
| curl -X POST -H "Content-Type: application/json" -d '{"data": ["data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAoHCAkIBgoJCAkLCwoMDxkQDw4ODx8WFxIZJCAmJiQgIyIoLToxKCs2KyIjMkQzNjs9QEFAJzBHTEY/Szo/QD7/2wBDAQsLCw8NDx0QEB0+KSMpPj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj7/xAAfAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/wAARCADwAUADASEAAhEBAxEB/9oADAMBAAIRAxEAPwDy5M4x3pXX5c1vKNndDvoRKPWp+/y96ynfYcY9QI7bRn601+OpqXde6V11IOetHWrjZWE2O/izRQ9ShONwpNvvS1SJeod6QdOapPoKwfjS |
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 '/backend/api_requests/api_calls.dart'; | |
| import '/flutter_flow/flutter_flow_animations.dart'; | |
| import '/flutter_flow/flutter_flow_theme.dart'; | |
| import '/flutter_flow/flutter_flow_util.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/scheduler.dart'; | |
| import 'package:flutter_animate/flutter_animate.dart'; | |
| import 'package:google_fonts/google_fonts.dart'; | |
| import 'package:percent_indicator/percent_indicator.dart'; | |
| import 'package:provider/provider.dart'; |
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 tkinter as tk | |
| from tkinter import messagebox | |
| import re | |
| def playfair_encrypt(plainText, key): | |
| # Remove non-alphabetic characters from plaintext and key | |
| plainText = re.sub("[^a-z]", "", plainText.lower().replace('j', 'i')) | |
| key = re.sub("[^a-z]", "", key.lower().replace('j', 'i')) | |
| # Check if plaintext and key are empty after removing non-alphabetic characters |
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
| pip install tf-nightly |
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
| omar@ubuntu-s-4vcpu-8gb-fra1-01:~/call-booking-application/user-api$ npm start | |
| > user-api@1.0.0 start | |
| > node server.js | |
| Server started on PORT 1004 | |
| events.js:291 | |
| throw er; // Unhandled 'error' event | |
| ^ |