Skip to content

Instantly share code, notes, and snippets.

View hletrd's full-sized avatar
❤️
Working from home

Jiyong Youn hletrd

❤️
Working from home
View GitHub Profile
@hletrd
hletrd / itunesmusic.py
Created December 23, 2018 19:33
iTunes music library duplication remove & cleanup
path = './MUSIC'
path_out = './OUTPUT'
import os
from mutagen import easyid3, mp4, flac, mp3
from shutil import copy2
@hletrd
hletrd / sdvx.ino
Created October 4, 2016 08:23
SDVX con for Arduino Leonardo/Micro
#define BT0_INP 10
#define BT1_INP 11
#define BT2_INP 12
#define BT3_INP 13
#define FX0_INP 8
#define FX1_INP 9
#define VOL0_INPL 6
#define VOL0_INPR 7
#define VOL1_INPL 4
@hletrd
hletrd / ollehCaptchaFuck.js
Created August 18, 2016 09:57
Removing CAPTCHA from olleh.com
// ==UserScript==
// @name Olleh Captcha Remover
// @namespace olleh
// @version 0.1
// @description Removed Captcha
// @author HLETRD
// @match login.olleh.com/*
// @grant none
// ==/UserScript==
@hletrd
hletrd / kyohak.py
Created April 7, 2016 14:43
Kyohaksa textbook fetcher
# -*- coding: utf-8 -*-
import httplib
import re
import urllib
import os
for i in range(418,1000):
conn = httplib.HTTPConnection('www.kyohak.co.kr')
conn.request('GET', '/textbook/microsite/microsite_board_list.asp?tch_div=1&sub_det_idx=%03d' % i)
res = conn.getresponse()
/************************************************************
* Arduino Controlled Refrigerator
* For Arduino Mega Only
*
* Code written on 2013-07-05, modified on 2016-03-31 by HLETRD
************************************************************/
#include <EEPROM.h>
#include <LiquidCrystal.h>
@hletrd
hletrd / Allname.py
Last active August 18, 2022 15:25
#-*- coding: utf-8 -*-
a = list('ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅌㅍㅎ'.decode('utf-8'))
b = list('ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎ'.decode('utf-8'))
e = list('ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎ'.decode('utf-8'))
f = ['ㄱㅈ', 'ㄴㄱ', 'ㄷㄱ', 'ㄷㅂ', 'ㅁㅈ', 'ㅅㄱ', 'ㅅㅁ', 'ㅅㅂ', 'ㅅㅇ', 'ㅇㄱ', 'ㅈㄱ', 'ㅎㅂ']
f = map(lambda x: x.decode('utf-8'), f)
e.insert(0, '')
c = []