Skip to content

Instantly share code, notes, and snippets.

View j2doll's full-sized avatar
๐Ÿ’ญ
1๏ธโƒฃ ๐Ÿ˜„ 2๏ธโƒฃ ๐Ÿ˜ญ

Jay Two j2doll

๐Ÿ’ญ
1๏ธโƒฃ ๐Ÿ˜„ 2๏ธโƒฃ ๐Ÿ˜ญ
View GitHub Profile
@j2doll
j2doll / excelapp.py
Created March 30, 2023 06:48 — forked from msuryaprakash/excelapp.py
Interacting with Microsoft Excel from Python using the Win32 COM API (Example Python Code)
"""
An example of using PyWin32 and the win32com library to interact
Microsoft Excel from Python.
This can be used instead of Visual Basic for Applications (VBA)
(c) Michael Papasimeon
"""
import win32com.client
@j2doll
j2doll / .licrc
Created March 16, 2023 05:41 — forked from robertohuertasm/.licrc
Simple .licrc config file for Licensebat
# IMPORTANT!: ALL SECTIONS ARE MANDATORY
[licenses]
# This indicates which are the only licenses that Licensebat will accept.
# The rest will be flagged as not allowed.
accepted = ["MIT", "MSC", "BSD"]
# This will indicate which licenses are not accepted.
# The rest will be accepted, except for the unknown licenses or dependencies without licenses.
# unaccepted = ["LGPL"]
# Note that only one of the previous options can be enabled at once.
# If both of them are informed, only accepted will be considered.
@j2doll
j2doll / Feel-the-Rhythm-of-Korea-SEOUL.md
Last active September 22, 2021 13:24
Feel the Rhythm of Korea: SEOUL

Feel the Rhythm of Korea: SEOUL

Feel the Rhythm of Korea: SEOUL

@j2doll
j2doll / get_gists.py
Created December 29, 2020 16:36 — forked from leoloobeek/get_gists.py
Download all gists for a specific user
# first: mkdir user && cd user && cp /path/to/get_gists.py .
# python3 get_gists.py user
import requests
import sys
from subprocess import call
user = sys.argv[1]
r = requests.get('https://api.github.com/users/{0}/gists'.format(user))
@j2doll
j2doll / please-love.her.md
Last active March 7, 2020 13:22
๊ทธ๋…€๋ฅผ ์‚ฌ๋ž‘ํ•ด์ค˜์š”

๊ทธ๋…€๋ฅผ ์‚ฌ๋ž‘ํ•ด์ค˜์š”

  • ๋…ธ๋ž˜ : ํ•˜๋™๊ท 
    • ์ž‘์‚ฌ : ์ตœ๊ฐ‘์›
    • ์ž‘๊ณก : PJ
    • ํŽธ๊ณก : ๋‚˜์›์ฃผ

์ž ๊น ๊ธฐ๋‹ค๋ ค์ค„๋ž˜ ์ง€๊ธˆ ๋ฐ๋ฆฌ๋Ÿฌ ๊ฐˆ๊ฒŒ
์™œ ์ž๊พธ ์šธ๊ธฐ๋งŒ ํ•˜๋‹ˆ ๋งํ•ด ๋งํ•ด ์–ด๋””์— ์žˆ๋‹ˆ
๋‹ˆ๊ฐ€ ์‚ฌ๋ž‘ํ•˜๋Š” ์‚ฌ๋žŒ์ด ๋„ˆ๋ฅผ ๋‘๊ณ  ๊ฐ„ ๊ฑฐ๋‹ˆ

@j2doll
j2doll / dh.jpg
Last active March 3, 2020 12:43
image1
dh.jpg
@j2doll
j2doll / Diffe-Hellman-KR.md
Last active March 3, 2020 12:44
๋””ํ”ผ ํ—ฌ๋งŒ(Diffe-Hellman) ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์ดํ•ดํ•˜๊ธฐ

๋””ํ”ผ ํ—ฌ๋งŒ(Diffe-Hellman) ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์ดํ•ดํ•˜๊ธฐ

๋””ํ”ผ-ํ—ฌ๋งŒ(Diffieโ€“Hellman) ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ์™ ์ง€ ํ˜ธ๊ฐ์ด ๊ฐ€๋Š”(?) ์ธ์ƒ์˜

์•„์ €์”จ๋“ค์ด 1976๋…„์— ๋งŒ๋“  ์•Œ๊ณ ๋ฆฌ์ฆ˜์ž…๋‹ˆ๋‹ค.

@j2doll
j2doll / rhinoceros.md
Created February 25, 2020 13:06
๐Ÿ‡ฐ๐Ÿ‡ท Wander alone like a rhinoceros

๋ฌด์†Œ์˜ ๋ฟ”์ฒ˜๋Ÿผ ํ˜ผ์ž์„œ ๊ฐ€๋ผ.

์„œ๋กœ ์‚ฌ๊ท„ ์‚ฌ๋žŒ์—๊ฒŒ๋Š” ์‚ฌ๋ž‘๊ณผ ๊ทธ๋ฆฌ์›€์ด ์ƒ๊ธด๋‹ค. ์‚ฌ๋ž‘๊ณผ ๊ทธ๋ฆฌ์›€์—๋Š” ๊ดด๋กœ์›€์ด ๋”ฐ๋ฅด๋Š” ๋ฒ• ์—ฐ์ •์—์„œ ๊ทผ์‹ฌ ๊ฑฑ์ •์ด ์ƒ๊ธฐ๋Š” ์ค„ ์•Œ๊ณ  ๋ฌด์†Œ์˜ ๋ฟ”์ฒ˜๋Ÿผ ํ˜ผ์ž์„œ ๊ฐ€๋ผ.

์ˆฒ์†์— ๋ฌถ์—ฌ ์žˆ์ง€ ์•Š์€ ์‚ฌ์Šด์ด ๋จน์ด๋ฅผ ์ฐพ์•„ ์—ฌ๊ธฐ์ €๊ธฐ ๋‹ค๋‹ˆ๋“ฏ์ด ์ง€ํ˜œ๋กœ์šด ์ด๋Š” ๋…๋ฆฝ๊ณผ ์ž์œ ๋ฅผ ์ฐพ์•„ ๋ฌด์†Œ์˜ ๋ฟ”์ฒ˜๋Ÿผ ํ˜ผ์ž์„œ ๊ฐ€๋ผ.

@j2doll
j2doll / My-Inner-Battle-with-Static-Typing-KR.md
Last active February 8, 2020 14:12
์ •์  ํƒ€์ดํ•‘์„ ๋‘˜๋Ÿฌ์‹ผ ๋‚˜์˜ ๋‚ด์  ๊ฐˆ๋“ฑ

์ •์  ํƒ€์ดํ•‘(Static Typing)์„ ๋‘˜๋Ÿฌ์‹ผ ๋‚˜์˜ ๋‚ด์  ๊ฐˆ๋“ฑ

ใ€Ž...์ „๋žต...ใ€

์ดˆ๋ณด์ž๋“ค์€ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด์—์„œ ๊ฐ•ํ•œ ํƒ€์ดํ•‘(strong typing)๊ณผ ์ •์  ํƒ€์ดํ•‘(static typing)์„ ํ˜ผ๋™ํ•œ๋‹ค. ๊ฑฐ์น ๊ฒŒ ๋งํ•ด์„œ ๊ฐ•ํ•œ ํƒ€์ดํ•‘(strong typing)์ด๋ž€ ์–ธ์–ด๊ฐ€ ๋‘ ๊ฐœ์˜ ์ž๋ฃŒํ˜•(type)์ด ์„œ๋กœ ํ˜ธํ™˜๋˜๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์‚ฌํ•˜๊ณ , ๋งŒ์•ฝ ํ˜ธํ™˜๋˜์ง€ ์•Š์œผ๋ฉด ์—๋Ÿฌ๋ฅผ ๋ฐœ์ƒ์‹œํ‚ค๊ฑฐ๋‚˜ ๊ฐ•์ œ๋กœ ์ž๋ฃŒํ˜•์„ ๋ณ€ํ™˜ํ•จ์„ ๋œปํ•œ๋‹ค.

๊ฒ‰์œผ๋กœ ๋ณด๊ธฐ์— ์ž๋ฐ”(Java)์™€ ๋ฃจ๋น„(Ruby)๋Š” ๋ชจ๋‘ ๊ฐ•ํ•œ ํƒ€์ดํ•‘์„ ์‚ฌ์šฉํ•œ๋‹ค(strongly typed). ์ด๊ฒŒ ๊ณผ๋„ํ•œ ๋‹จ์ˆœํ™”๋ผ๋Š” ์‚ฌ์‹ค์€ ๋‚˜๋„ ์•ˆ๋‹ค. ์ด์— ๋ฐ˜ํ•ด์„œ ์–ด์…ˆ๋ธ”๋ฆฌ(Assembly)์™€ C ์ปดํŒŒ์ผ๋Ÿฌ๋Š” ์•ฝํ•œ ํƒ€์ดํ•‘์„ ์‚ฌ์šฉํ•œ๋‹ค(weakly typed).

@j2doll
j2doll / gist:1b12da2063115b6f4f9e60e3827c3251
Last active February 8, 2020 14:04
๋…ผ์–ด(๏ฅ่ชž) ํ•™์ด(ๅญธ่€Œ)

๋…ผ์–ด(๏ฅ่ชž) ํ•™์ด(ๅญธ่€Œ)

  • ๅญๆ›ฐ ๏ฅงๆ‚ฃไบบไน‹๏ฅงๅทฑ็Ÿฅ ๆ‚ฃไธ็ŸฅไบบไนŸ.

  • ๊ณต์ž๋‹˜๊ป˜์„œ ๋ง์”€ํ•˜์…จ๋‹ค. "๋‚จ์ด ๋‚˜๋ฅผ ์•Œ์•„์ฃผ์ง€ ์•Š์Œ์„ ๊ฑฑ์ •ํ•˜์ง€ ๋ง๊ณ , ๋‚ด๊ฐ€ ๋‚จ์„ ์•Œ์ง€ ๋ชปํ•จ์„ ๊ฑฑ์ •ํ•˜๋ผ."