Skip to content

Instantly share code, notes, and snippets.

View anpigon's full-sized avatar
👨‍💻

anpigon

👨‍💻
View GitHub Profile
@anpigon
anpigon / 한국어 임베딩 테스트.md
Created June 4, 2024 16:16
한국어 임베딩 테스트.md
module_name module_params execution_time retrieval_f1 retrieval_recall retrieval_precision is_best
vectordb {'top_k': 3, 'embedding_model': 'bge-m3'} 0.21 0.35 0.7 0.23 True
vectordb {'top_k': 3, 'embedding_model': 'ko-sroberta-multitask'} 0.13 0.14 0.28 0.09 False
vectordb {'top_k': 3, 'embedding_model': 'ko-sbert-nli'} 0.03 0.08 0.16 0.05 False
bm25 {'top_k': 3, 'bm25_tokenizer': 'ko_kiwi'} 1.02 0.13 0.26 0.09 False
vectordb {'top_k': 3, 'embedding_
@anpigon
anpigon / steem_incoming.js
Last active January 14, 2024 01:24
obsidian 노트앱의 Tamplater 플러그인용 스팀 수익 자동 조회 스크립트
'use strict';
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if ((from && typeof from === 'object') || typeof from === 'function') {
@anpigon
anpigon / 바이낸스 비트코인 이동평균선 그리기.ipynb
Last active January 31, 2023 14:08
바이낸스 비트코인 이동평균선 그리기
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anpigon
anpigon / 옵시디언 독서 기록 대시보드 노트
Last active January 30, 2023 12:39
옵시디언 독서 기록 대시보드 노트
---
banner: "https://images.unsplash.com/photo-1481627834876-b7833e8f5570?&fit=crop&w=1828&q=80"
banner_y: 0.1
obsidianUIMode: preview
obsidianEditingMode: live
cssClasses: row-alt, table-small, col-lines, row-lines
---
```button
name 책 추가하기
type command
@anpigon
anpigon / 옵시디언 독서 노트 템플릿
Last active July 23, 2023 16:12
옵시디언 독서 노트 템플릿
---
tag: [📚Book]
category: "{{VALUE:category}}"
title: "{{VALUE:title}}"
author: {{VALUE:author}}
authors: [{{VALUE:authors}}]
publisher: {{VALUE:publisher}}
publishedDate: {{VALUE:publishedDate}}
totalPage: {{VALUE:totalPage}}
created: {{DATE:YYYY-MM-DD HH:mm:ss}}
@anpigon
anpigon / 알라딘 도서 템플릿.md
Created September 2, 2022 09:09
옵시디언 quickAdd 플러그인: 알라딘 도서 검색 매크로 템플릿

tag: [📚Book] category: "{{VALUE:category}}" categories: [{{VALUE:categories}}] title: "{{VALUE:title}}" author: {{VALUE:author}} authors: [{{VALUE:authors}}] publisher: {{VALUE:publisher}} publishedDate: {{VALUE:publishedDate}} totalPage: {{VALUE:totalPage}}

@anpigon
anpigon / obsidian_quickAdd_macro_search_books_aladin.js
Last active June 16, 2024 17:57
옵시디언 quickAdd 플러그인: 알라딘 도서 검색 매크로
const notice = (msg) => new Notice(msg, 5000);
const parseDOMFormString = (html) => {
return new DOMParser().parseFromString(html, "text/html");
};
const requestHtmlDoc = async (url) => {
const response = await request({ url });
return parseDOMFormString(response);
};
@anpigon
anpigon / 옵시디언 quickAdd 플러그인 독서 템플릿.md
Last active September 2, 2022 03:27
옵시디언 quickAdd 플러그인: yes24 도서 검색 매크로 템플릿

tag: [📚Book] category: "{{VALUE:category}}" categories: [{{VALUE:categories}}] title: "{{VALUE:title}}" author: {{VALUE:author}} authors: [{{VALUE:authors}}] publisher: {{VALUE:publisher}} publishedDate: {{VALUE:publishedDate}} totalPage: {{VALUE:totalPage}}

@anpigon
anpigon / obsidian_quickAdd_macro_search_books_yes24.js
Last active July 1, 2024 12:43
옵시디언 quickAdd 플러그인: yes24 도서 검색 매크로
const notice = (msg) => new Notice(msg, 5000);
const parseDOMFormString = (html) => {
return new DOMParser().parseFromString(html, "text/html");
};
const requestHtmlDoc = async (url) => {
const response = await request({ url });
return parseDOMFormString(response);
};
@anpigon
anpigon / script_youtube_quickAdd.js
Last active June 29, 2023 19:14
Script YouTube Metadata for Obsidian QuickAdd
const notice = (msg) => new Notice(msg, 5000);
const YOUTUBE_URL = "https://m.youtube.com/watch";
const youtubeIdRegExp = /(?:(?:youtube.com\/watch\?v=)|(?:youtu.be\/)|(?:youtube.com\/embed\/))([A-Za-z0-9\_\-]+)/i;
let QuickAdd;
let Settings;
module.exports = async function start(params, settings) {