This file contains 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
/* strupr : make uppercase string. exist in win32 c includes but not in mac's one */ | |
#include <ctype.h> // for toupper() | |
void strupr(char *origin) { while(*origin != '\0') *origin = toupper(*origin++); } |
This file contains 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
"=============================================================================== | |
"FILE: myvimrc | |
"CREATED BY: sooop | |
"LAST UPDATEd: 2014. 04. 23. | |
"DESCRIPTION: | |
" my vimrc settting | |
" github repository : https://github.com/sooop/myvimrc.git | |
"=============================================================================== | |
This file contains 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
"""" remove empty lines | |
function! remove_empty_lines() | |
execute "%g/^[ \t\s]*$/normal dd" | |
endfunction | |
"" function to embrace line with tag. | |
function! embrace_tag(el) | |
call setline(line('.'), "<".a:el.">".getline('.')."</".a:el.">") | |
"""" call : call a function | |
"""" setline > set given line to text. |
This file contains 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
/* memoUtils.js */ | |
var ls = null; | |
var docs = new Array(); | |
var keys = new Array(); | |
var currentDoc = null; | |
var getStorage = function() | |
{ |
This file contains 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
javascript: | |
(function(){ | |
var v = '1.9.1'; | |
if (window.jQuery == undefined || window.jQuery.fn.jquery <; v) { | |
var done = false; | |
var script = document.createElement("script"); | |
script.src = "http://ajax.googleapis.com/ajax/libs/jquery/"+v+"/jquery.min.js"; | |
document.getElementsByTagName("head")[0].appendChild(script); | |
script.onload = script.onreadystatechange = | |
function(){ |
This file contains 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
#!/usr/bin/python | |
#-*-coding:utf-8 | |
import urllib | |
import sys | |
def printHTML(): | |
if len(sys.argv) < 2: | |
print("usage checkURL.py http://some.site.addr") | |
exit(1) |
This file contains 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
html { font-size: 88%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } | |
body{ | |
color:#444; | |
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', | |
"Hiragino Sans GB", "STXihei", "微软雅黑", "바탕체", serif; | |
font-size:88%; | |
line-height:1.5em; | |
background:#fefefe; | |
width: 45em; |
This file contains 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
/** | |
초성 중성 종성 분리 하기 | |
유니코드 한글은 0xAC00 으로부터 | |
초성 19개, 중상21개, 종성28개로 이루어지고 | |
이들을 조합한 11,172개의 문자를 갖는다. | |
한글코드의 값 = ((초성 * 21) + 중성) * 28 + 종성 + 0xAC00 | |
(0xAC00은 'ㄱ'의 코드값) |
This file contains 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
// | |
// hangulSound.h | |
// firstcode | |
// | |
// Created by sooop on 12. 1. 31.. | |
// Copyright (c) 2012년 soooprmx.com All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
#!/usr/local/bin/python | |
#filename:metaWeblog | |
''' | |
MetaWeblog API wrapper for python | |
Copyright 2013. All right reserved to sooop. | |
''' | |
import xmlrpclib |
OlderNewer