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:
{ | |
"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:
# Copyright 2021 KOHKI YAMAGIWA | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |