ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
javadoc { | |
options.addStringOption("locale","ko_KR"); | |
options.addStringOption("encoding","UTF-8"); | |
options.addStringOption("charset","UTF-8"); | |
options.addStringOption("docencoding","UTF-8"); | |
} |
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
var buf = new Buffer(4); | |
var num = 171; | |
buf.writeInt32BE(num, 0); | |
console.log(buf); // 00 00 00 ab | |
buf.writeInt32LE(num, 0); | |
console.log(buf); // ab 00 00 00 |
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> |
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
// redis-cli.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <stdio.h> | |
#define REDIS_PORT 6379 | |
#define REDIS_HOST "127.0.0.1" | |
#define RedisAskingPriceTable "stockrules_recently_ap" | |
#define RedisMarketPriceTable "stockrules_recently_mp" |
Why Should I Care (For Developers)
"나에게 Docker의 매력은 간단히 격리된 환경을 만들 수 있다는 것과, 그러한 환경을 재사용할 수 있다는 점이다."런타임 환경을 한 번 만들어 패키지로 만들면, 이 패키지를 다른 어떤 머신에서도 다시 사용할 수 있다. 또한 여기서 실행되는 모든 것은 마치 가상머신과 같이 호스트로부터 격리되어있다. 무엇보다도 이런 모든 일들이 빠르고 간단히 가능하다.
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
var point, pointStartX, pointStartY, deltaX, deltaY; | |
var scroller = new iScroll('scrollerId', { | |
vScroll: false, | |
vScrollbar: false, | |
hScrollbar: false, | |
snap: 'li', | |
momentum: false, | |
onBeforeScrollStart: function(e) { | |
point = e.touches[0]; | |
pointStartX = point.pageX; |
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
/** | |
* sha512 방식으로 암호화한 스트링을 리턴한다 | |
* | |
* @param target | |
* @return [encrypted string] | |
*/ | |
public final static String encryptSHA512(String target) { | |
try { | |
MessageDigest sh = MessageDigest.getInstance("SHA-512"); | |
sh.update(target.getBytes()); |
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
var data = [{ | |
title: "KOSPI", | |
jisu: "1,965", | |
change: 3.22, | |
percent: "0.22%", | |
collections: [{ | |
l: "상한", | |
v: 5 | |
}, { | |
l: "상승", |
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
var data = [ | |
{l:"개인", v:55, t:1}, | |
{l:"기관", v:343, t:2}, | |
{l:"외인", v:332, t:1} | |
]; | |
var margin = {top: 20, right: 20, bottom: 30, left: 40}; | |
var w = 500; | |
var h = 80 - margin.bottom - margin.top; | |
var barWidth = w / data.length; |