저장소 생성

# svnadmin create /data/reponame

 

저장소 백업

# svnadmin dump /data/reponame > ~/reponame.dump

 

저장소 복원

# svnadmin load /data/reponame < ~/reponame.dump

 

계정 인증 설정

/data/reponame/conf/passwd 파일 수정

 

[users]

id = password

 

익명 액세스 거부 설정

/data/reponame/conf/svnserve.conf

 

anon-access = none

password-db = passwd

 

http://martinfowler.com/articles/nosql-intro.pdf

 

NoSQL의 정의

http://martinfowler.com/bliki/NosqlDefinition.html

먼저 코드를 간단하게 구현하기 위해 jQuery를 injection한다.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

 

그후 다음과 같은 코드로 간단히 도메인 등록 여부를 확인할 수 있다. (간단한 예제를 보여주기 위해 코드상에 문제가 있긴 하지만 무시했다.)

 

$.ajax({

url: 'http://www.whoisxmlapi.com/whoisserver/WhoisService',

dataType: 'jsonp',

data: {

domainName: 'yourdomain.com',

outputFormat: 'json'

},

success: function(data) {

    if(!data.WhoisRecord) {

        alert("도메인 형식 오류");

    }else if(data.WhoisRecord.dataError &&

        data.WhoisRecord.dataError == "MISSING_WHOIS_DATA") {

        alert("등록안됨");

    }else {

        alert("등록됨");

    }

}

});

http://www.featureblend.com/javascript-flash-detection-library.html

위 라이브러리를 이용하면 현재 브라우저에 플래시가 설치되어 있는지를 쉽게 확인할 수 있다. 지원하는 Property와 Method는 다음과 같다.

 

Properties:

FlashDetect.installed: true

FlashDetect.raw: Shockwave Flash 11.5 r31

FlashDetect.major: 11

FlashDetect.minor: 5

FlashDetect.revision: 31

FlashDetect.revisionStr: r31

FlashDetect.JS_RELEASE: 1.0.4

 

Method(s):

FlashDetect.versionAtLeast(9): true

FlashDetect.versionAtLeast(9, 0): true

FlashDetect.versionAtLeast(9, 0, 124): true

FlashDetect.majorAtLeast(9): true

FlashDetect.minorAtLeast(0): true

FlashDetect.revisionAtLeast(124): false

 

 

예제코드는 다음과 같다.

 

<script type="text/javascript">

if(!FlashDetect.installed){

    alert("Flash is required to enjoy this site.");     

}else{

    alert("Flash is insalled on your Web browser.");

}

</script>    

미국 당국이 사이버 범죄를 예방하기 위해 컴퓨터 프로그래밍 언어인 자바 소프트웨어를 사용하지 말라는 권고를 내놨다. (단 7 버전에 한함)

http://news.donga.com/Inter/3/02/20130114/52303829/1

mysql에서는 사용자, 디비, 접속ip별로 권한이 따로 관리되므로 설정 작업이 필요하다. 매번 할때마다 까먹어서 적어둔다. ㅎㅎ

   

CREATE USER `USER`@`HOST` IDENTIFIED BY PASSWORD;

GRANT ALL PRIVILEGES on `DBNAME`.* to `USER`@`HOST` identified by PASSWORD;

GRANT EXECUTE ON PROCEDURE `DBNAME` TO `USER`@`HOST`;

.md 확장자란?

 

sourceforge나 기타 오픈 소스 프로젝트 사이트에서 파일을 받아보면 README.md처럼 md의 확장자 파일을 본적이 있는데 무슨 의미인지 몰랐었다. 오늘 궁금해서 찾아봤는데 md 확장자는 Markdown을 의미한다는 것을 알게되었다. Markdown은 인터넷 작성자에게 text와 HTML사이의 변환을 해주는 툴이다. Markdown으로 작성하면 읽고 쓰기 쉽게 해줄 뿐만 아니라 XHTML이나 HTML로 변환도 가능하게 해준다. 추가로 Markdown 툴은 Movable Type(MT)의 plugin, Blosxom, BBEdit에도 포함되어 있는 듯 하다.

 

아래 링크를 참고해서 자세한 설명을 보자. Perl로 만들어진 변환 스크립트도 받을 수 있다.

http://daringfireball.net/projects/markdown/

 

아래는 CORDOVA의 README.md 파일 예제이다. 확인해보자.

 

APACHE CORDOVA

===================

 

What is it?

-------------------

Apache Cordova is a web platform that exposes native mobile device apis and

data to JavaScript. Previously known as PhoneGap, the name changed

happened when PhoneGap was donated to the Apache foundation.

 

Currently Apache Cordova is a top level project at The

Apache Software Foundation (ASF).

 

Why?

-------------------

Mobile development is a mess. Building applications for each

device--iPhone, Android, Windows Mobile and more--requires different

frameworks and languages. One day, the big players in mobile may decide

to work together and unify third-party app development processes. Until

then, Cordova will use standards-based web technologies to bridge web

applications and mobile devices. Plus, because Cordova apps are

standards compliant, they're future-proofed to work with browsers as

they evolve. Cordova is an open source implementation of open

standards. That means developers and companies can use Cordova for

mobile applications that are free, commercial, open source, or any

combination of these.

 

Get started

-------------------

[Docs](http://docs.cordova.io/guide_getting-started_index.md.html)

 

Community

-------------------

- [Website](http://cordova.io)

- [Twitter](http://twitter.com/apachecordova)

- [Wiki](http://wiki.cordova.io)

- [Mailing List](http://cordova.io/#mailing-list)

- [Issue Tracker](https://issues.apache.org/jira/browse/CB)

 

How to build from src

-------------------

To build for a particular platform, please change directories to the

platform that you wish to build for and read the README file.

Node.js가 이슈가 되었던 때가 벌써 몇 년이 지났는데 아직도 계속 주목 받고 있는듯하다. 물론 그 동안 버전 업데이트도 많이 되었다. Node.js는 경량화된 웹 서버로 높은 가용성JavaScript 언어(Chrome V8엔진)을 사용하여 쉬운 개발을 자랑하는 듯하다. Apache나 다른 일반적인 아키텍처의 웹 서버와는 달리 이벤트 드리븐 방식이므로 필요할 때 필요한 자원을 요청하기 때문인 것 같다.


보다 자세한 내용은 아래 링크와 Node.js 홈페이지(http://nodejs.org/) 에서도 확인할 수 있다.
http://www.ibm.com/developerworks/kr/library/os-nodejs/


다음은 웹 서버를 만들기 위한 코드이다. 엄청 간단하다.

var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');


+ Recent posts