This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function splitHangul(words){ | |
if (!words){ return []; } | |
return _.chain(Hangul.disassemble(words, true)).map((char) => { | |
return splitChoJungJong(char); | |
}).value(); | |
} | |
function splitChoJungJong(jamos){ | |
let endCho = false; | |
let cho = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// p5.js 한글 API | |
// | |
// http://codepen.io/nacyot/pen/Nrdjrd 에서 사용 가능 | |
// | |
// 아래는 예제 코드 | |
// 반드시, | |
// function setup(){ | |
// //... 사이에 작성되어야함. | |
// } | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import datetime | |
import json | |
from IPython.core.magic import Magics, magics_class, cell_magic | |
from IPython.display import HTML | |
@magics_class | |
class JavascriptMagics(Magics): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.core.magic import Magics, magics_class, cell_magic | |
from IPython.display import HTML | |
import hashlib | |
import datetime | |
import os | |
import sys | |
import shutil | |
import glob | |
import base64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on alfred_script(keyword) | |
set the clipboard to keyword | |
tell application id "DNtp" | |
activate | |
end tell | |
tell application id "com.apple.systemevents" | |
tell process id "DNtp" | |
keystroke "f" using {shift down, command down} | |
keystroke "v" using {command down} | |
keystroke return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on alfred_script(keyword) | |
set the clipboard to keyword | |
tell application id "DNtp" | |
activate | |
end tell | |
tell application id "com.apple.systemevents" | |
tell process id "DNtp" | |
keystroke "f" using {option down, command down} | |
keystroke "v" using {command down} | |
keystroke return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for ipython. | |
c = get_config() | |
#------------------------------------------------------------------------------ | |
# InteractiveShellApp configuration | |
#------------------------------------------------------------------------------ | |
# A Mixin for applications that start InteractiveShell instances. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.core.magic import Magics, magics_class, cell_magic | |
from IPython.display import HTML | |
import hashlib | |
import datetime | |
@magics_class | |
class D3jsMagics(Magics): | |
TEMPLATE = """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#notebook{ | |
background-color: white; | |
} | |
#notebook-container{ | |
width: 99%; | |
} | |
div.code_cell{ | |
flex-direction: row; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.