Skip to content

Instantly share code, notes, and snippets.

View suhdonghwi's full-sized avatar

서동휘 suhdonghwi

View GitHub Profile
@suhdonghwi
suhdonghwi / .hindent.yaml
Last active November 3, 2018 00:43
dotfiles
indent-size: 4
line-length: 80
force-trailing-newline: true
@suhdonghwi
suhdonghwi / init.vim
Last active November 15, 2020 05:13
neovim config file
""" General
let mapleader=" "
set number " Show absolute line number for current line
set relativenumber " Show relative line number for other lines
set linebreak " Break lines at word (requires Wrap lines)
set showbreak=+++ " Wrap-broken line prefix
set textwidth=100 " Line wrap (number of cols)
set showmatch " Highlight matching brace
set visualbell " Use visual bell (no beeping)
@suhdonghwi
suhdonghwi / main.py
Created April 6, 2020 11:42
Analyzing a paradigm relationship between programming languages by parsing wikipedia documents
import requests
from bs4 import BeautifulSoup
import re
import graph_tool.all as gt
def get_html_content(url):
r = requests.get(url)
return r.text
inf_by_regex = re.compile('Influenced by')