Skip to content

Instantly share code, notes, and snippets.

cdjhlee

Block or report user

Report or block cdjhlee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cdjhlee
cdjhlee / md5_mod.js
Last active Oct 19, 2015
문자열을 MD5로 지져서 나머지 연산하는 거
View md5_mod.js
var crypto = require('crypto');
//문자열을 md5 해시하여 buffer로 리턴한다.
function getMd5Buffer(str) {
var md5sum = crypto.createHash('md5');
return md5sum.update(str).digest();
}
function getLargeMod(buffer, mod) {
@cdjhlee
cdjhlee / zeromq_install.sh
Last active Jan 15, 2020
install zeromq in ubuntu 14.04
View zeromq_install.sh
#!/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
You can’t perform that action at this time.