Skip to content

Instantly share code, notes, and snippets.

View nemorize's full-sized avatar

Ji Yong, Kim nemorize

View GitHub Profile
@nemorize
nemorize / rn-reanimated-keyboard-height.ts
Last active January 25, 2025 15:56
[RN] Get a proper animated keyboard height even if the user starts back gesture in iOS
import { clamp, interpolate, useAnimatedKeyboard, useAnimatedReaction, useSharedValue } from 'react-native-reanimated'
import { useSafeAreaInsets } from 'react-native-safe-area-context'
/**
* useAnimatedKeyboard() returns 0 height when back gesture has been started.
* This function handles not to return 0 even user starts the back gesture.
*
* @param {number} safeAreaPad Add a bottom safe area padding value, depends on keyboard state.
*/
export function useKeyboardHeight (safeAreaPad: number | undefined = 8) {
@nemorize
nemorize / korean-legal-dong-list.json
Last active February 24, 2025 06:54
대한민국 국내에 존재하는 법정읍/면/동/리 목록
@nemorize
nemorize / korean-subway-station-list.json5
Last active March 28, 2025 04:53
대한민국 국내에 존재하는 지하철역 정보(역명, 지역구, 노선, 위/경도) 목록
[
// =======================================================
// 본 자료는 CC0-1.0 라이선스를 따릅니다.
// https://creativecommons.org/publicdomain/zero/1.0/deed
// 저작권자의 허락을 구하지 않아도 상업적인 목적을 포함한 어떠한 목적으로든
// 자유롭게 복사, 수정, 배포, 실연할 수 있습니다.
// =======================================================
// 모든 정보는 직접 수집하여 정리한 정보입니다.
// 일부 정보가 오기되었거나, 위/경도 좌표가 부정확할 수 있습니다.
// Gist 댓글을 통해 오류를 제보해주세요.
@nemorize
nemorize / korean-mvno-list.csv
Created November 26, 2023 21:18
대한민국 국내에 존재하는 MVNO(알뜰폰) 사업자 목록
operator brand corporation
sk 티플러스 한국케이블텔레콤
sk 아이즈모바일 아이즈비전
sk 모빙 유니컴즈
sk 스마텔 스마텔
sk SK세븐모바일 SK텔링크
sk 이마트알뜰폰 이마트
sk 조이텔 조이텔
sk 이야기모바일 큰사람이야기
sk 안심모바일 에스원
@nemorize
nemorize / rhymix-menu-helper.js
Last active November 26, 2023 21:18
라이믹스 메뉴 편집 도우미. 라이믹스 메뉴 편집 시의 절차를 간소화합니다.
// ==UserScript==
// @name 라이믹스 메뉴 편집 도우미
// @namespace https://github.com/rx-apps
// @version 0.1
// @description 라이믹스 메뉴 편집 시의 절차를 간소화합니다.
// @author rxApps
// @match *://*/*?module=admin&act=dispMenuAdminSiteMap*
// @icon https://avatars.githubusercontent.com/u/112455239?s=200&v=4
// @grant none
// ==/UserScript==