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/bash | |
############################################## | |
#from http://zeromq.org/intro:get-the-software | |
############################################## | |
#get zeromq | |
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz | |
#unpack tarball package |
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 crypto = require('crypto'); | |
//문자열을 md5 해시하여 buffer로 리턴한다. | |
function getMd5Buffer(str) { | |
var md5sum = crypto.createHash('md5'); | |
return md5sum.update(str).digest(); | |
} | |
function getLargeMod(buffer, mod) { |