λλ₯Ό μν΄ μ μ₯νλ μ½μ΄λ³Ό λ§ν κΈλ€ λͺ¨μ
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
<!-- | |
file upload client | |
@author shj | |
--> | |
<input type="file" /> | |
<button>μ λ‘λ</button> | |
<script> | |
// append event handler |
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
'use strict'; | |
// import modules | |
const _ = require('lodash'); | |
const aws = require('aws-sdk'); | |
const randomEmoji = require('random-emoji'); | |
// aws lambda | |
const lambda = new aws.Lambda({ | |
region: 'ap-northeast-2', |
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
const express = require('express'); | |
// Constants | |
const PORT = 8000; | |
// App | |
const app = express(); | |
app.get('/', function (req, res) { | |
res.send('Master'); | |
}); |
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
# import module | |
import numpy as np | |
# datas | |
# 0 1 2 3 4 | |
y = np.array([0.13, 0.64, 0.0, 0.05, 0.52]) # Prediction Label | |
t = np.array([0 , 1 , 0 , 0 , 0 ]) # Correction Label | |
w = np.array([0 , 0 , 1 , 0 , 0 ]) # Wrong Label | |
""" |
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
'use strict'; | |
const axios = require('axios'); | |
module.exports.papago = async ({ body }) => { | |
const { text } = JSON.parse(body); | |
console.log(text); | |
const { data } = await axios.post('https://openapi.naver.com/v1/papago/n2mt', { // data |
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
π Morning 167 commits βββββββββββββββββββββ 13.4% | |
π Daytime 380 commits βββββββββββββββββββββ 30.6% | |
π Evening 453 commits βββββββββββββββββββββ 36.4% | |
π Night 243 commits βββββββββββββββββββββ 19.5% |
OlderNewer