View template.json
{
"builders": [{
"type": "docker",
"image": "ubuntu:14.04",
"export_path": "nacyot-ubuntu-wget.tar"
}],
"provisioners": [{
"type": "shell",
"inline": [
"apt-get update",
View saenaru.js
/**
* Saenaru Javascript Hangul Input Method by wkpark at gmail.com
* 2013/03/25
* License: GPLv2
*/
var Saenaru = function() {};
Saenaru.prototype = {
_q: [],
View split-hangul.js
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 = [];
View p5-korean.js
// p5.js 한글 API
//
// http://codepen.io/nacyot/pen/Nrdjrd 에서 사용 가능
//
// 아래는 예제 코드
// 반드시,
// function setup(){
// //... 사이에 작성되어야함.
// }
//
View javascript_magic.py
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):
View processing_magic.py
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
View devonthink_search_window.applescript
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
View devonthink_search.applescript
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
View ipython_config.py
# Configuration file for ipython.
c = get_config()
#------------------------------------------------------------------------------
# InteractiveShellApp configuration
#------------------------------------------------------------------------------
# A Mixin for applications that start InteractiveShell instances.
#
View d3js_magic.py
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 = """