Skip to content

Instantly share code, notes, and snippets.

View imtaehyun's full-sized avatar

nezz imtaehyun

  • Amazon
  • Vancouver, Canada
View GitHub Profile
@imtaehyun
imtaehyun / libre-link-up-http-dump.md
Created May 10, 2024 16:03 — forked from khskekec/libre-link-up-http-dump.md
HTTP dump of Libre Link Up used in combination with FreeStyle Libre 3
@imtaehyun
imtaehyun / aws-study-resource.md
Created February 11, 2022 18:00 — forked from serithemage/aws-study-resource.md
AWS 학습 자료집

AWS 학습 링크집 시리즈

@imtaehyun
imtaehyun / GeekNews Helper.user.js
Last active December 13, 2019 10:58
GeekNews 기사 링크를 새탭열기로 바꿔주는 Greasemonkey script 입니다.
// ==UserScript==
// @name GeekNews Helper
// @namespace https://news.hada.io/
// @version 0.2
// @description GeekNews helper
// @author nezz
// @include https://news.hada.io/*
// @grant none
// ==/UserScript==
@imtaehyun
imtaehyun / joonggonara.py
Created November 30, 2018 07:49
중고나라 크롤링
import requests
from bs4 import BeautifulSoup
def get_recent_article(menuid, page=1):
"""
search.menuid: 게시판 별 아이디
search.page: 게시판 페이지 번호
articleid: 게시글 아이디
"""
url = f'https://cafe.naver.com/joonggonara/ArticleList.nhn?search.clubid=10050146&search.menuid={menuid}&search.boardtype=L&search.page={page}&userDisplay=50'
import requests
from bs4 import BeautifulSoup
from pprint import pprint
import json
import time
def get_list():
"""메인 -> 식품,생활,유아동 -> 유아동,출산 -> 기저귀"""
# TODO infinite scroll 처리
@imtaehyun
imtaehyun / technical-analysis-indicators-without-talib-code.py
Last active September 18, 2024 11:37
Technical analysis Indicators without Talib (code)
# https://www.quantopian.com/posts/technical-analysis-indicators-without-talib-code
import numpy
import pandas as pd
import math as m
#Moving Average
def MA(df, n):
MA = pd.Series(pd.rolling_mean(df['Close'], n), name = 'MA_' + str(n))
df = df.join(MA)
@imtaehyun
imtaehyun / isocalendar.py
Created November 6, 2017 08:59
python 몇주차인지 알수있는 방법
import datetime
n = datetime.datetime.now()
n.isocalendar()
# (2017, 45, 1)
n = datetime.datetime(2017, 11, 5)
n.isocalendar()
# (2017, 44, 7)
소인
소생
저희