Skip to content

Instantly share code, notes, and snippets.

View kkweon's full-sized avatar

Mo Kweon kkweon

View GitHub Profile
@kkweon
kkweon / README.org
Last active November 9, 2017 09:48
Jupyter Notebook Viewer boomarklet

Jupyter Notebook Viewer

Nbviewer?

  • Vieweing ipynb files on Nbviewer is so much faster than on the Github.

No more waiting https://i.imgur.com/TnYVaVm.png

Get started

@kkweon
kkweon / style.ipynb
Last active November 11, 2017 08:38
Jupyter notebook CSS & Javascript Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Naver Movie

import requests
import bs4
from pprint import pprint
url = "http://movie.naver.com/movie/bi/mi/pointWriteFormList.nhn?code=140695&type=after&isActualPointWriteExecute=false&isMileageSubscriptionAlready=false&isMileageSubscriptionReject=false"


def find_div(bs, class_name):
@kkweon
kkweon / .cVimrc
Created February 1, 2018 00:53
my cvimrc
map F createActiveTabbedHint
let blacklists = ["https://docs.google.com/*","https://codepen.io/*"]
@kkweon
kkweon / readme.org
Last active February 1, 2018 23:53
@kkweon
kkweon / README.org
Last active February 22, 2018 06:07

Directory Structure

tree
.
├── image1
@kkweon
kkweon / codebook.json
Created December 17, 2018 00:59
KGSS codebook JSON
[
{
"var_name": "SEX",
"name": "응답자 성별",
"description": "같이 살고 있는 가족과 따로 살고 있는 가족, 가족은 아니지만 현재 귀댁에서 같이 살고 있는 사람 모두를"
},
{
"var_name": "AGE",
"name": "응답자 연령",
"description": "같이 살고 있는 가족과 따로 살고 있는 가족, 가족은 아니지만 현재 귀댁에서 같이 살고 있는 사람 모두를"
#!/usr/bin/env swipl
:- use_module(library(dcg/basics)).
:- use_module(library(main)).
:- initialization(main, main).
expression(Value) --> term(V1), whites, expression_tail([V1], Value).
expression_tail(Stack, Value) -->
term(NewValue), { NewStack = [NewValue|Stack] }, whites, expression_tail(NewStack, Value).