Skip to content

Instantly share code, notes, and snippets.

@sangwook
sangwook / housing.csv
Created July 9, 2019 04:22
housing.csv
LSTAT INDUS NOX RM MEDV
0 4.98 2.31 0.538 6.575 24.0
1 9.14 7.07 0.469 6.421 21.6
2 4.03 7.07 0.469 7.185 34.7
3 2.94 2.18 0.458 6.998 33.4
4 5.33 2.18 0.458 7.147 36.2
5 5.21 2.18 0.458 6.43 28.7
6 12.43 7.87 0.524 6.012 22.9
7 19.15 7.87 0.524 6.172 27.1
8 29.93 7.87 0.524 5.631 16.5
@sangwook
sangwook / microsoft.csv
Created July 9, 2019 03:58
microsoft.csv
Date Open High Low Close Adj Close Volume
2014-12-31 46.73 47.439999 46.450001 46.450001 42.848763 21552500
2015-01-02 46.66 47.419998 46.540001000000004 46.759997999999996 43.134731 27913900
2015-01-05 46.369999 46.73 46.25 46.330002 42.738068 39673900
2015-01-06 46.380001 46.75 45.540001000000004 45.650002 42.110783000000005 36447900
2015-01-07 45.98 46.459998999999996 45.490002000000004 46.23 42.645817 29114100
2015-01-08 46.75 47.75 46.720001 47.59 43.900375 29645200
2015-01-09 47.610001000000004 47.82 46.900002 47.189999 43.531395 23942800
2015-01-12 47.419998 47.540001000000004 46.360001000000004 46.599998 42.987128999999996 23651900
2015-01-13 46.970001 47.91 46.060001 46.360001000000004 42.765747 35270600
@sangwook
sangwook / md2wiki.vim
Created May 7, 2014 01:47
vim 정규표현식으로 Markdown 을 Confluence wiki markup 으로 변환하기
" vim 정규표현식으로 Markdown 을 Confluence wiki markup 으로 변환하기
function! MarkdownToWiki()
execute '%s%^- %* %Ig'
execute '%s%^\t- %\t** %Ig'
execute '%s%^\t\t- %\t\t*** %Ig'
execute '%s%^\t\t\t- %\t\t\t**** %Ig'
execute '%s%^\t\t\t\t- %\t\t\t\t***** %Ig'
execute '%s%^\t\t\t\t\t- %\t\t\t\t\t****** %Ig'
execute '%s%^\t\t\t\t\t\t- %\t\t\t\t\t\t******* %Ig'
execute '%s%^# %h1. %Ig'
@sangwook
sangwook / space2tab.vim
Last active August 29, 2015 13:57
space to tab in vim
execute '%s%\v^([ ]{'.a:space_size.'}){12}%\t\t\t\t\t\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){11}%\t\t\t\t\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){10}%\t\t\t\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){9}%\t\t\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){8}%\t\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){7}%\t\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){6}%\t\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){5}%\t\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){4}%\t\t\t\t%Ig'
execute '%s%\v^([ ]{'.a:space_size.'}){3}%\t\t\t%Ig'
@sangwook
sangwook / emacs titanium dictionary
Created March 23, 2012 02:16 — forked from mogya/emacs titanium dictionary
emacs titanium dictionary
Titanium
Titanium.addEventListener
Titanium.fireEvent
Titanium.include
Titanium.removeEventListener
Titanium.userAgent
Titanium.version
Titanium.API
Titanium.API.addEventListener
Titanium.API.debug