I hereby claim:
- I am lukasgabriel on github.
- I am lukasgab (https://keybase.io/lukasgab) on keybase.
- I have a public key ASDbOuU6jaflVrWJ2COevQsfxkkCSMqDDpxSOa6HVig5-Qo
To claim this, I am signing this object:
# atbash.py | |
from typing import Optional, Dict, List | |
from ciphey.iface import Config, T, U, Decoder, registry | |
@registry.register | |
class Atbash(Decoder[T, U]): | |
def decode(self, ctext: T) -> Optional[U]: |
# community | |
# by https://github.com/lukasgabriel | |
from distutils import util | |
from typing import Optional, Dict, Union, Set, List | |
from ciphey.iface import ParamSpec, Cracker, CrackResult, CrackInfo, T, registry, Config | |
@registry.register |
# sortfilenames.py | |
# Run this command first to get the LongName.txt: dir Y:\ /s /b | sort /+143 /r > LongName.txt | |
from pathlib import WindowsPath | |
paths = [] | |
# Make sure to (re-)save the text file as UTF-8 ! | |
with open("LongName.txt", "r", encoding="utf-8") as infile: |
# group_files.py | |
from pathlib import WindowsPath | |
import os | |
THRESHOLD_MODE = True | |
THRESHOLD = 32 | |
MAX_LEVELS = 4 |
import img2pdf | |
import pathlib | |
import os | |
ROOT_FOLDER = pathlib.WindowsPath("C:/Users/lukas/Desktop/sample/") | |
DEST_FOLDER = "C:/Users/lukas/Desktop/artbooks/" | |
FORMATS = [".jpg", ".jpeg", ".png", ".tif", ".tiff"] | |
def correlation_coefficient(y_true, y_pred): | |
''' | |
This function is for singleduration model. | |
''' | |
max_y_pred = K.repeat_elements(K.expand_dims(K.repeat_elements(K.expand_dims(K.max(K.max(y_pred, axis=1), axis=1), axis=1), | |
shape_r_out, axis=1), axis=2), shape_c_out, axis=2) | |
y_pred /= max_y_pred | |
sum_y_true = K.repeat_elements(K.expand_dims(K.repeat_elements(K.expand_dims(K.sum(K.sum(y_true, axis=1), axis=1), axis=1), | |
shape_r_out, axis=1), axis=2), shape_c_out, axis=2) |
I hereby claim:
To claim this, I am signing this object:
This is the metadata and OpenAPI spec I created for a custom ChatGPT plugin (or GPT, as OpenAI calls them) that can search your Raindrop.io bookmark library for you. It is tested and working, albeit with mixed results when dealing with large amounts of tags and collections. With further tuning of the system prompt and OpenAPI spec, it could be vastly improved.
Here is the unpublished plugin: https://chat.openai.com/g/g-uNdVJh9vu-raindrop-io-search-assistant
I will update it if I ever get the OAuth to work, until then, it won't work unfortunately.
I decided against publishing on the 'GPT Store' because I could not get the OAuth login to work despite following Raindrop.io and OpenAI documentation closely. Also, such an integration should probably be provided by the Raindrop.io devs anyways.
2025-03-26T03:15:17Z [2025-03-26 04:15:17,034] [INFO] [celery.beat] beat: Starting... | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,046] [CRITICAL] [celery.beat] beat raised exception <class '_dbm.error'>: error('cannot add item to database') | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,048] [WARNING] [celery.redirected] File "/usr/lib/python3.12/shelve.py", line 111, in __getitem__ | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,048] [WARNING] [celery.redirected] Traceback (most recent call last): | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] | |
2025-03-26T03:15:17Z [2025-03-26 04:15:17,049] [WARNING] [celery.redirected] value = self.cache[key] |