Skip to content

Instantly share code, notes, and snippets.

View lethee's full-sized avatar

lethee lethee

  • Weaveus
  • Seoul, South Korea
View GitHub Profile
@lethee
lethee / run_pipeline.py
Created February 7, 2024 07:00
run a pipeline inside the pipeline
import kfp
exp_name = "anonymous-1"
pipe_name = "ad-tpl-test"
params = {
"git_ref":'master',
"model":'',
"data":'',
}
@lethee
lethee / Dockerfile
Last active August 6, 2023 18:52
progit2-ko-build-docker
FROM ubuntu:14.04
MAINTAINER Seonghwan Lee <lethee@gmail.com>
RUN cd /etc/apt && \
sed -i 's/archive.ubuntu.com/kr.archive.ubuntu.com/g' sources.list
RUN apt-get update
RUN apt-get install -y git curl python
RUN apt-get install -y ruby2.0 ruby2.0-dev
@lethee
lethee / get_active_window_and_exec.py
Last active June 14, 2023 01:51
Get a active window title and its executable path
# pywin32 must be installed
# pip install wmi
import win32gui
import win32process
import win32pdhutil
import wmi
procs = wmi.WMI().Win32_Process()
@lethee
lethee / README.md
Created January 25, 2023 02:03
ffmpeg, ffprobe

ffmpeg, ffprobe

Get Source Information

ffprobe -v quiet -print_format json -show_streams -count_packets SOURCE

-count_packets 옵션으로 header에 정보가 없더라도 frame count(nb_read_packets)를 셀 수 있음.

@lethee
lethee / pkg-config-guide.md
Last active December 27, 2022 00:52
Guide to pkg-config 한글 번역
@lethee
lethee / kfp.py
Last active July 12, 2022 02:38
python test
import sys
print(sys.version)
print(sys.argv)
@lethee
lethee / env.py
Created March 21, 2016 07:53
Sublime Text 3: Apply NVM environment
# Save this file
# mac - "~/Library/Application Support/Sublime Text 3/Packages/"
# linux - "~/.config/sublime-text-3/Packages/"
# NOTE!
# ~/.nvm/alias/default must contain full version name.
# $ nvm alias default v4.3.5
import os
@lethee
lethee / style.css
Last active August 18, 2021 01:45
confluence-ui
/* my workspace css for stylus */
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
/* common font-family */
body.aui-layout { font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; }
/* common layout */
#LGE_header_container { display: none; }
#announcement-banner { display: none; }
@lethee
lethee / untitle.py
Created February 25, 2021 09:50
dataframe from_dict, join, concat, update
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
# In[69]:

Keybase proof

I hereby claim:

  • I am lethee on github.
  • I am lethee (https://keybase.io/lethee) on keybase.
  • I have a public key ASAJCcY491ZtKGxPFGsxpXhVjYx1wQ1SnGcFu7k0TPFD8go

To claim this, I am signing this object: