Skip to content

Instantly share code, notes, and snippets.

Avatar

Yeongseon Choe yeongseon

View GitHub Profile
@yeongseon
yeongseon / flash_win10IoT_onto_sdcard_OSX.sh
Created Jun 6, 2020 — forked from copyfun/flash_win10IoT_onto_sdcard_OSX.sh
Install Windows 10 IoT core on Raspberry Pi 2 using OS X
View flash_win10IoT_onto_sdcard_OSX.sh
# 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 Apr 11, 2020
docker-compose for kaggle/python
View docker-compose.yml
version: '2'
services:
kaggle:
image: kaggle/python
container_name: kaggle
user: root
ports:
- "8888:8888"
volumes:
- .:/notebooks
@yeongseon
yeongseon / docker-compose.yml
Last active Apr 12, 2020
docker-compose.yml for kaggle/python-gpu-build
View docker-compose.yml
version: '2.3'
services:
kaggle:
image: kaggle/python-gpu-build
runtime: nvidia
container_name: kaggle
user: root
ports:
- "8888:8888"
volumes:
View run_hanaexpress.sh
#! /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
View Ignite the Tour Seoul materials.md

Ignite the Tour - Seoul: 자료 모음

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

@yeongseon
yeongseon / README-Template.md
Created Mar 6, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.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 Sep 4, 2017 — forked from bbengfort/Makefile
Basic Python Project files - my Makefile and the dependencies that I have in everything.
View Makefile
# 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 Aug 29, 2017 — forked from shoveller/gist:b4d2e1e6d33906f2a667
왜 파이썬 데코레이터를 만들때, @wraps어노테이션을 쓰는 것을 권장하는 걸까?
View gist:5f2f46dbf6456d16f3454a72db91d249
__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
'''
View .screenrc-main-example
# 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'
@yeongseon
yeongseon / Makefile
Created Jul 6, 2017 — forked from lumengxi/Makefile
Makefile for Python projects
View Makefile
.PHONY: clean-pyc clean-build docs clean
define BROWSER_PYSCRIPT
import os, webbrowser, sys
try:
from urllib import pathname2url
except:
from urllib.request import pathname2url
webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
endef
You can’t perform that action at this time.