I hereby claim:
- I am tamanobi on github.
- I am tamanobi (https://keybase.io/tamanobi) on keybase.
- I have a public key ASCnK2TyB23ieP_TMncckI-5HcS5rqFu4z6qW_kjPqHFLQo
To claim this, I am signing this object:
# /// script | |
# requires-python = ">=3.11" | |
# dependencies = [ | |
# "httpx", | |
# "websocket-client", | |
# "pillow", | |
# "typing-extensions", | |
# ] | |
# /// |
{ | |
"ldsr_steps": 100, | |
"ldsr_cached": false, | |
"SCUNET_tile": 256, | |
"SCUNET_tile_overlap": 8, | |
"SWIN_tile": 192, | |
"SWIN_tile_overlap": 8, | |
"SWIN_torch_compile": false, | |
"control_net_detectedmap_dir": "detected_maps", | |
"control_net_models_path": "", |
import subprocess | |
import json | |
url = 'URL_YOU_WANTED_TO_ADD_NOTEBOOK_LM' | |
notebook_id = 'YOUR_NOTEBOOK_ID' | |
at = "YOUR_AT" | |
cookie_str = """ | |
YOUR_COOKIE | |
""".strip() |
#!/bin/bash | |
set -e | |
FILEPATH=$1 | |
FILENAME=${FILEPATH##*/} | |
UUID=$2 | |
# UUIDが未指定の場合、uuidgenで生成 | |
if [ -z "$UUID" ]; then |
import requests | |
from requests.exceptions import HTTPError | |
from pathlib import Path | |
import re | |
import boto3 | |
from typing import List | |
import json | |
from libxmp import XMPFiles, XMPMeta, consts | |
import tempfile |
SHELL=/bin/bash | |
USER=$(shell whoami) | |
NOW:=$(shell date +%H:%M:%S) | |
BIN_NAME:=isuports | |
P_LANGUAGE=rust | |
SERVICE_NAME:=$(BIN_NAME).$(P_LANGUAGE).service | |
DB_PATH:=/etc/mysql | |
NGINX_PATH:=/etc/nginx |
import threading | |
import time | |
import requests | |
import queue | |
threads: list[threading.Thread] = [] | |
stop_cue = queue.Queue(maxsize=1) | |
# coding: utf-8 | |
from dataclasses import dataclass | |
class Result: | |
def __str__(self): | |
return f"<{self.__class__.__name__}: {self._value}>" | |
def is_ok(self) -> bool: | |
... | |
def ok(self): |
from typing import Protocol | |
import injector | |
import os | |
class Repository(Protocol): | |
def get(id_: str) -> str: pass | |
def create(id_: str) -> str: pass | |
class RepoImpl(Repository): |
I hereby claim:
To claim this, I am signing this object: