Skip to content

Instantly share code, notes, and snippets.

gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8,8))
equalized = clahe.apply(gray_image)
from telegram.ext import Application, CommandHandler, MessageHandler, filters, CallbackQueryHandler
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
from telegram.error import ChatMigrated
import logging
import requests
import re
logging.basicConfig(level=logging.INFO)
TOKEN = ''
/Users/michaelsheinberg/code/nautobot-app-floor-plan/nautobot_floor_plan/forms.py
  /Users/michaelsheinberg/code/nautobot-app-floor-plan/nautobot_floor_plan/forms.py:99:11 - error: "Meta" overrides symbol of same name in class "BaseForm"
    "nautobot_floor_plan.forms.FloorPlanForm.Meta" is not assignable to "django.forms.forms.BaseForm.Meta"
    Type "type[nautobot_floor_plan.forms.FloorPlanForm.Meta]" is not assignable to type "type[django.forms.forms.BaseForm.Meta]" (reportIncompatibleVariableOverride)
  /Users/michaelsheinberg/code/nautobot-app-floor-plan/nautobot_floor_plan/forms.py:111:13 - error: "__setitem__" method not defined on type "Mapping[str, Any]" (reportIndexIssue)
  /Users/michaelsheinberg/code/nautobot-app-floor-plan/nautobot_floor_plan/forms.py:112:13 - error: "__setitem__" method not defined on type "Mapping[str, Any]" (reportIndexIssue)
  /Users/michaelsheinberg/code/nautobot-app-floor-plan/nautobot_floor_plan/forms.py:115:13 - error: "__setitem__" method not defined on type "Map
import SwiftUI
import SwiftUINavigation
@main
struct NavigationApp: App {
var body: some Scene {
WindowGroup {
StackView()
}
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 18:19
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 3:19:03 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
from fastapi import APIRouter, Request
from opentelemetry import trace
from opentelemetry.trace import Status, StatusCode
from starlette.routing import Route
from typing import Callable
# Custom route class with OpenTelemetry instrumentation
class TracedRoute(Route):
def __init__(self, path: str, endpoint: Callable, **kwargs):
super().__init__(path, endpoint, **kwargs)
{
"scored_predictions": [
{
"concrete_prediction": "By 2022, GPT-3 will be considered obsolete due to the emergence of more advanced multimodal transformer models developed by major companies.",
"resolution_year": 2022,
"prediction_year": 2021,
"score": {
"score": 0,
"rationale": "The prediction claimed that by 2022 GPT-3 would be considered obsolete due to new, advanced multimodal transformer models from major companies. However, while multimodal models (like DALL-E 2) did emerge in 2022, GPT-3 itself remained widely used and influential. It continued to serve as a foundational model for many applications, and its derivatives (such as the models behind ChatGPT) built upon its architecture rather than rendering it obsolete."
}
@Schoolads
Schoolads / gist:033f99d4d9a388de8461a089074aaecc
Created February 11, 2025 18:18
School of Nursing, Bowen University Teaching Hospital, Ogbomosho 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery fo…
School of Nursing, Bowen University Teaching Hospital, Ogbomosho 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery form, post-basic nursing form and internship form are still on sale for more information on purchase of the form and admission assistance call Admin Officer{O8125777035}
<!DOCTYPE html>
<html>
<head>
<body>صفحة نكلم بين شخصين مجهولين