Skip to content

Instantly share code, notes, and snippets.

View emiling's full-sized avatar
👀
Talk is cheap, Show me the code

Eugene Lee emiling

👀
Talk is cheap, Show me the code
View GitHub Profile
@emiling
emiling / api.js
Created January 30, 2020 17:31
ausg-seminar
const express = require('express')
const serverless = require('serverless-http')
const createRouter = require('./routes/createURL')
/* TODO: delete module 구현하기*/
// const deleteRouter = require('./routes/redirectURL')
const app = express()
@emiling
emiling / heap.c
Created June 14, 2018 02:04
heapsort
#include "library.h"
//중복없는 랜덤 숫자 생성 및 초기화
heap_t * initHeap() {
heap_t * heap = (heap_t *)malloc(sizeof(heap_t));
bool checkExist[MAX_NUM+1] = { false, };
int i,temp;
@emiling
emiling / Encryptor.java
Last active January 18, 2019 03:20
get_info by java
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
//HMAC 인코딩 및 Hex로 변환하는 함수 정의
public class Encryptor {
private static final String HMAC_SHA512 = "HmacSHA512";
public static String getHmacSha512(String key, String data) {
Mac sha512_HMAC;
String result = null;