Skip to content

Instantly share code, notes, and snippets.

@romeoh
romeoh / md5.js
Created August 9, 2012 08:12
md5.js
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
/*
@romeoh
romeoh / md4.js
Created August 9, 2012 08:14
md4.js
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD4 Message
* Digest Algorithm, as defined in RFC 1320.
* Version 2.1 Copyright (C) Jerrad Pierce, Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
/*
@romeoh
romeoh / sha1.js
Created August 9, 2012 08:15
sha1.js
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS PUB 180-1
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*
@romeoh
romeoh / oauth.js
Created August 9, 2012 08:16
oauth.js
/*
* Copyright 2008 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@romeoh
romeoh / MPTween.js
Created August 28, 2012 23:44
MPTween.js
/**********************************************************************
MPTween.js
모피어스 프레임웍의 모션 에니메이션 구현 스크립트
Author : 백국경 (romeoh@uracle.co.kr)
Copyright (c) 2001-2011 Uracle Co., Ltd.
166 Samseong-dong, Gangnam-gu, Seoul, 135-090, Korea All Rights Reserved.
모피어스 프레임웍의 모션 에니메이션 구현을 위한 스크립스 함수들을 정의한다.
************************************************************************/
function MPTween(obj, param){
@romeoh
romeoh / Javascript MVC model
Created August 28, 2012 23:46
Javascript MVC model
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi"/>
<title></title>
<style type="text/css">
</style>
</head>
@romeoh
romeoh / knockout.js sample coding
Created August 28, 2012 23:47
knockout.js sample coding
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi"/>
<title></title>
<style type="text/css">
</style>
</head>
@romeoh
romeoh / resort
Created August 28, 2012 23:48
resort
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<style type="text/css">
</style>
</head>
<body>
@romeoh
romeoh / Video API
Created August 29, 2012 01:05
Video API
<video width="320" height="240" controls="controls">
<source src="http://www.w3schools.com/html5/movie.mp4" type="video/mp4"></source>
<source src="http://www.w3schools.com/html5/movie.ogg" type="video/ogg"></source>
지원하지 않음..
</video>
@romeoh
romeoh / XMLHttpRequest
Created August 29, 2012 01:09
XMLHttpRequest
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head></head>
<body>
</body>
<script type="text/javascript">
window.addEventListener("load", init, false);