λλ₯Ό μν΄ μ μ₯νλ μ½μ΄λ³Ό λ§ν κΈλ€ λͺ¨μ
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% |
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
# 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
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
'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
<!-- | |
file upload client | |
@author shj | |
--> | |
<input type="file" /> | |
<button>μ λ‘λ</button> | |
<script> | |
// append event handler |
-
Shape
ν΄λμ€- μμμ μν ν΄λμ€
private
μ κ·Όμλ₯Ό κ°λname
νλκ° μ‘΄μ¬Shape
ν΄λμ€λ₯Ό μμλ°λ ν΄λμ€λgetArea
λ©μλλ₯Ό λ°λμ ꡬνν΄μΌλ§ ν¨getArea
λ©μλλ λνμ λμ΄λ₯Ό λ°ν
-
Rect
ν΄λμ€
-
νμ
- μνκ³΅κ° λ΄μμ
- μμμνμμ λͺ©νμνκΉμ§μ κ²½λ‘λ₯Ό μ°Ύλ κ²
- κ° μνλ₯Ό μμ±νλ κ²μ μ°μ°μ λΌκ³ ν¨
-
μν, μ°μ°μ, κ·Έλ¦¬κ³ μν νΈλ¦¬λ₯Ό μ΄μ©ν΄ λ΅μ μ°Ύμλκ°λ κ²
- λ¬Όλ‘ μ΄λ₯Ό μ§μ νλ‘κ·Έλλ° νμ§λ μμΌλ©°, DFS/BFS λ₯Ό μ¬μ©ν΄ νμ΄λκ°
-
μκ³ λ¦¬μ¦
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
λλ¬Όμ(X) :- | |
μ²μΆ(X). | |
ν¬μ λ₯(X) :- | |
μ²μΆ(X), | |
not(μκΉ(X)). | |
μ‘°λ₯(X) :- | |
μ²μΆ(X), | |
μκΉ(X), |
NewerOlder