Skip to content

Instantly share code, notes, and snippets.

View wonhyeongseo's full-sized avatar
🐳
Learning

Wonhyeong Seo wonhyeongseo

🐳
Learning
View GitHub Profile
@wonhyeongseo
wonhyeongseo / sort_yaml.py
Created October 10, 2022 03:10
Sort yaml alphabetically
# pip install pyyaml
import yaml
# raw file: https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/website/data/menu/main.yml
with open('main.yml', 'rt', encoding='utf8') as f:
content = yaml.safe_load(f.read())
content = content['main'][0]
def sort_nested(l: list):
result = []
@wonhyeongseo
wonhyeongseo / pr-template.md
Last active August 8, 2023 13:52
PR Template for PseudoLab/OSSCA's HF-transformers Korean Initiative

What does this PR do?

Translated the <your_file>.md file of the documentation to Korean. Thank you in advance for your review.

Part of huggingface/transformers#20179

Before reviewing

  • Check for missing / redundant translations (번역 누락/중복 검사)
@wonhyeongseo
wonhyeongseo / korean_name_gender.py
Created June 22, 2023 15:47
Using namechart.kr to deduce gender of a Korean name
import requests
url = 'https://api.namechart.kr/search?query='
def gender(name) -> tuple:
response = requests.get(f"{url}{name}", verify=False)
if response.status_code == 200:
data = response.json()
@wonhyeongseo
wonhyeongseo / README.md
Created July 7, 2023 11:49
GitHub Resume Template

Hello, I'm [Your Name] 👋

🚀 About Me

I'm a [Your Job Title], currently working at [Your Company Name]. I have [Number of Years of Experience] years of experience in [Your Field of Expertise].

🛠 Skills

  • Programming Languages: [List of Programming Languages]
  • Tools/Frameworks: [List of Tools/Frameworks]
  • Databases: [List of Databases]
  • Other Skills: [List of Other Skills]
@wonhyeongseo
wonhyeongseo / startup.bat
Created August 25, 2023 06:13
tomcat startup
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "License"); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem