Skip to content

Instantly share code, notes, and snippets.

View naturalkei's full-sized avatar
πŸ“…
Planning

Natural Kei naturalkei

πŸ“…
Planning
View GitHub Profile
@naturalkei
naturalkei / .gitconfig
Created July 19, 2021 01:05 — forked from shawndumas/.gitconfig
Using WinMerge as the git Diff/Merge Tool on Windows 64bit
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge
@naturalkei
naturalkei / build.js
Created December 1, 2022 00:06 — forked from AndrewHenderson/build.js
Rollup, Gulp, and Babel (ES6)
// Gulp
import gulp from 'gulp';
import plumber from 'gulp-plumber';
import file from 'gulp-file';
import filter from 'gulp-filter';
import rename from 'gulp-rename';
import sourcemaps from 'gulp-sourcemaps';
import uglify from 'gulp-uglify';
// Rollup
import { rollup } from 'rollup';
import { useState } from 'react';
function Square({ value, onSquareClick }) {
return (
<button className="square" onClick={onSquareClick}>
{value}
</button>
);
}
name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
# Recommended if you intend to make multiple deployments in quick succession.
@naturalkei
naturalkei / gist:93e6c770d270c12a49c412f9bb8826f9
Created February 22, 2024 19:33 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@naturalkei
naturalkei / ANSI.md
Created January 14, 2025 05:59 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@naturalkei
naturalkei / unorm
Last active April 1, 2025 07:21
check unicode normalize
#/usr/bin/env bash
# author: [email protected]
# date: 2025-03-24
# description: check normalize unicode string
# gist: https://gist.github.com/naturalkei/59eadfe3dd3e808c6faef5941e6b711b
main() {
local string
local color_opt=false

ν•œκΈ€κ³Ό μœ λ‹ˆμ½”λ“œ

μœ λ‹ˆμ½”λ“œμ—μ„œ ν•œκΈ€μ„ μ–΄λ–»κ²Œ λ‹€λ£¨λŠ”μ§€λ₯Ό μ •λ¦¬ν•˜μ˜€λ‹€.

μœ λ‹ˆμ½”λ“œ

  • μœ λ‹ˆμ½”λ“œ(Unicode)λŠ” μ „ μ„Έκ³„μ˜ λͺ¨λ“  문자λ₯Ό μ»΄ν“¨ν„°μ—μ„œ μΌκ΄€λ˜κ²Œ ν‘œν˜„ν•˜κ³  λ‹€λ£° 수 μžˆλ„λ‘ μ„€κ³„λœ μ‚°μ—… ν‘œμ€€ (μœ„ν‚€ λ°±κ³Ό)
  • λ‹¨μˆœνžˆ λ¬Έμžλ§ˆλ‹€ 번호λ₯Ό λΆ™μž„
  • 계속 μ—…λ°μ΄νŠΈλ˜λ©° ν˜„μž¬λŠ” Unicode Version 9.0.0 이 μ΅œμ‹ μ΄λ‹€.

UTF

  • μœ λ‹ˆμ½”λ“œλ₯Ό μ‹€μ œ 파일 등에 μ–΄λ–»κ²Œ 기둝할 것인지λ₯Ό ν‘œμ€€ν™”ν•œ 것이닀.