Skip to content

Instantly share code, notes, and snippets.

View yeongseon's full-sized avatar

Yeongseon Choe yeongseon

  • Microsoft
  • Seoul, Korea
View GitHub Profile
@yeongseon
yeongseon / .vimrc
Created March 1, 2023 14:05 — forked from miguelgrinberg/.vimrc
My .vimrc configuration for working in Python with vim
" plugins
let need_to_install_plugins = 0
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let need_to_install_plugins = 1
endif
call plug#begin()
Plug 'tpope/vim-sensible'
@yeongseon
yeongseon / flash_win10IoT_onto_sdcard_OSX.sh
Created June 6, 2020 07:36 — forked from copyfun/flash_win10IoT_onto_sdcard_OSX.sh
Install Windows 10 IoT core on Raspberry Pi 2 using OS X
# download iot core iso file
# curl http://go.microsoft.com/fwlink/?LinkId=616847
curl http://download.microsoft.com/download/8/C/B/8CBE5D09-B5C5-462B-8043-DAC64938FDAC/IOT%20Core%20RPi.ISO > IOT-Core-RPi.iso
# install p7zip for decompress *.iso and *.msi files
sudo port install p7zip
# decompress files
7z x IOT-Core-RPi.ISO
7z x Windows_10_IoT_Core_RPi2.msi
@yeongseon
yeongseon / docker-compose.yml
Created April 11, 2020 03:22
docker-compose for kaggle/python
version: '2'
services:
kaggle:
image: kaggle/python
container_name: kaggle
user: root
ports:
- "8888:8888"
volumes:
- .:/notebooks
@yeongseon
yeongseon / docker-compose.yml
Last active January 5, 2021 14:01
docker-compose.yml for kaggle/python-gpu-build
version: '2.3'
services:
kaggle:
image: kaggle/python-gpu-build
runtime: nvidia
container_name: kaggle
user: root
ports:
- "8888:8888"
volumes:
#! /bin/bash
# Remove existed docker container
sudo docker rm express_edition
# Modify the permission of /data/expression_edition
sudo rm -rf /data/express_edition
sudo mkdir -p /data/express_edition
sudo chown 12000:79 /data/express_edition
@yeongseon
yeongseon / Ignite the Tour Seoul materials.md
Created February 4, 2020 06:06 — forked from ianychoi/Ignite the Tour Seoul materials.md
Ignite the Tour - Seoul: 자료 모음

Ignite the Tour - Seoul: 자료 모음

공유된 커뮤니티 발표 자료 (한글)

@yeongseon
yeongseon / README-Template.md
Created March 6, 2018 01:48 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@yeongseon
yeongseon / Makefile
Created September 4, 2017 06:58 — forked from bbengfort/Makefile
Basic Python Project files - my Makefile and the dependencies that I have in everything.
# Shell to use with Make
SHELL := /bin/bash
# Set important Paths
PROJECT := # Set to your project name
LOCALPATH := $(CURDIR)/$(PROJECT)
PYTHONPATH := $(LOCALPATH)/
PYTHON_BIN := $(VIRTUAL_ENV)/bin
# Export targets not associated with files
@yeongseon
yeongseon / gist:5f2f46dbf6456d16f3454a72db91d249
Created August 29, 2017 04:49 — forked from shoveller/gist:b4d2e1e6d33906f2a667
왜 파이썬 데코레이터를 만들때, @wraps어노테이션을 쓰는 것을 권장하는 걸까?
__author__ = 'artemr'
'''
왜 파이썬 데코레이터를 만들때, @wraps어노테이션을 쓰는 것을 권장하는 걸까?
이유인 즉슨, 데코레이터 내부에서 인자로 전달받은 함수가 익명함수 처럼 취급되어 버리므로 디버깅이 난해해지는 단점이 있었기 때문이다.
자세한 설명은 아래의 링크에 첨부되어 있다.
원본: http://artemrudenko.wordpress.com/2013/04/15/python-why-you-need-to-use-wraps-with-decorators/
사본: https://www.evernote.com/shard/s174/sh/78eaad5f-a8f2-4496-b984-e3385fb963c0/922d9ab4b5cd23ac7b85aab42536aa4f
'''
@yeongseon
yeongseon / .screenrc-main-example
Created July 30, 2017 13:56 — forked from ChrisWills/.screenrc-main-example
A nice default screenrc
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'