Skip to content

Instantly share code, notes, and snippets.

View dahlia's full-sized avatar

Hong Minhee (洪 民憙) dahlia

View GitHub Profile
# A Python port of:
# https://github.com/tevador/RandomX/blob/v1.1.8/src/tests/api-example1.c
#
# You can build librandomx.{so,dylib} by the following command:
# cmake -DARCH=native -DBUILD_SHARED_LIBS=ON
from ctypes import *
from ctypes.util import find_library
librandomx = cdll.LoadLibrary(find_library('librandomx'))
@dahlia
dahlia / opensearch.xml
Last active September 20, 2020 08:19
알라딘 OpenSearch
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription
xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>알라딘</ShortName>
<Description>알라딘 통합 검색</Description>
<Url
type="text/html"
method="get"
template="https://www.aladin.co.kr/search/wsearchresult.aspx?SearchTarget=All&amp;SearchWord={searchTerms}"
@dahlia
dahlia / install-pythons.sh
Last active February 15, 2021 16:56
My Python installer using pyenv
#!/usr/bin/env bash
set -e
versions=(
2.7.18
3.7.9
3.8.7
3.9.1
pypy3.6-7.3.1
)
@dahlia
dahlia / count_keys.py
Last active February 4, 2020 05:10
Count keys from multiple Bencodex data files
#!/usr/bin/env python3
"""Count keys from multiple Bencodex data files."""
import collections
import collections.abc
import pathlib
import sys
from typing import Counter, Union
from bencodex import BValue, load
@dahlia
dahlia / README.md
Last active December 11, 2019 07:46
.NET Environment.GetFolderPath()

.NET Environment.GetFolderPath()

macOS

Environment.GetFolderPath() Path
Desktop "/Users/USER/Desktop"
Programs ""
@dahlia
dahlia / pycon-kr-2019-sprint.md
Last active August 21, 2019 21:05
Libplanet 파이콘 한국 2019 스프린트 안내

Libplanet 파이콘 한국 2019 스프린트 안내

안녕하세요. 오는 파이콘 한국 2019에서 Libplanet 프로젝트의 스프린트를 진행하게 된 홍민희입니다. 스프린트 진행에 앞서 미리 안내드릴 내용들이 있으니 읽어주시기 바랍니다. 스프린트는 서울 코엑스 그랜드볼룸 컨퍼런스룸 201호에서 8월 15일(광복절) 및 16일(금) 이틀 진행하며, 이틀 모두 나오셔도 되고 하루만 나오셔도 됩니다.

@dahlia
dahlia / README.rst
Last active July 14, 2019 19:58
minify-json

minify-json

Takes a JSON document through standard input, and then prints its minified version into standard output.

minify-json < sameple.json > sample.min.json
@dahlia
dahlia / AGREE.md
Last active September 20, 2024 14:50
Nine Corporation Individual Contributor Assignment Agreement

Nine Corporation Individual Contributor Assignment Agreement

Thank you for your interest in contributing to Nine Corporation ("We" or "Us").

This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please follow the instructions at the end. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.

1. Definitions

"You" means the individual who Submits a Contribution to Us.

@dahlia
dahlia / rider.md
Last active March 23, 2022 10:04 — forked from earlbread/rider.md
Libplanet 개발환경 설정 - Rider

Libplanet 개발 환경 설정 (Rider)

[Libplanet]은 널리 쓰이는 게임 엔진인 Unity를 염두에 두어, C#으로 작성되었습니다. 따라서 C# 개발 환경이 필요합니다. 다행히 .NET은 요 몇 년 사이 여러 플랫폼에서 두루 개발할 수 있는 여건이 마련되었습니다. 이 문서는 Linux, macOS, Windows 모두에서 Libplanet 개발을 하는 데에 필요한 환경을 설정하고 빌드하는 방법을 설명합니다.

따라 하면서 잘 안되는 게 있으시면 [저희 Discord 서버][1]에 있는

@dahlia
dahlia / sprintseoul.md
Last active April 17, 2019 14:39
Libplanet 스프린트 안내

Libplanet 스프린트 안내

이 문서는 스프린트서울에서 진행되는 Libplanet 스프린트를 안내합니다.

개발 환경