Skip to content

Instantly share code, notes, and snippets.

Avatar

Taejun tae-jun

View GitHub Profile
@tae-jun
tae-jun / Dockerfile
Last active Feb 3, 2021
Deploy NVIDIA+PyTorch container using Dockerfile & docker-compose
View Dockerfile
ARG UBUNTU_VERSION=18.04
ARG CUDA_VERSION=10.2
FROM nvidia/cuda:${CUDA_VERSION}-base-ubuntu${UBUNTU_VERSION}
# An ARG declared before a FROM is outside of a build stage,
# so it can’t be used in any instruction after a FROM
ARG USER=reasearch_monster
ARG PASSWORD=${USER}123$
ARG PYTHON_VERSION=3.8
# To use the default value of an ARG declared before the first FROM,
# use an ARG instruction without a value inside of a build stage:
@tae-jun
tae-jun / PrintZeppelinNotebookLanguageStatictics.sql
Created Sep 21, 2016
제플린 걸음마 서울시립대학교 데이터마이닝 활용사례 제플린 노트북 통계 추출 코드
View PrintZeppelinNotebookLanguageStatictics.sql
%sql
SELECT COALESCE(lang, "Total") AS language, COUNT(*) AS cnt
FROM lang
GROUP BY lang WITH ROLLUP
ORDER BY cnt DESC