나를 위해 저장하는 읽어볼 만한 글들 모음
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
🌞 Morning 167 commits ██▊░░░░░░░░░░░░░░░░░░ 13.4% | |
🌆 Daytime 380 commits ██████▍░░░░░░░░░░░░░░ 30.6% | |
🌃 Evening 453 commits ███████▋░░░░░░░░░░░░░ 36.4% | |
🌙 Night 243 commits ████░░░░░░░░░░░░░░░░░ 19.5% |
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
'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 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 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 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 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 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
동물원(X) :- | |
척추(X). | |
포유류(X) :- | |
척추(X), | |
not(알깜(X)). | |
조류(X) :- | |
척추(X), | |
알깜(X), |
NewerOlder