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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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; |