Skip to content

Instantly share code, notes, and snippets.

View sungjunyoung's full-sized avatar
πŸ”₯

Junyoung, Sung sungjunyoung

πŸ”₯
View GitHub Profile
var errorResponse = function (statusCode, errorCode, detailMessage) {
var messageMap = {
400: 'Bad Request',
401: 'Unauthonized',
403: 'Forbidden',
404: 'Not Found',
405: 'Method Not Allowd',
406: 'Not Acceptable',
409: 'Conflict',
500: 'Internal Server Error'
exports.handler = (event, context, callback) => {
// TODO implement
var returnObj = {
type : "buttons",
"buttons": ["Very","Sorry","Line"]
}
callback(null, returnObj);
return;
package sungjunyoung.github.io;
import org.apache.beam.sdk.Pipeline;
import org.apache.beam.sdk.coders.TextualIntegerCoder;
import org.apache.beam.sdk.io.TextIO;
import org.apache.beam.sdk.options.PipelineOptions;
import org.apache.beam.sdk.options.PipelineOptionsFactory;
import org.apache.beam.sdk.transforms.Create;
import org.apache.beam.sdk.transforms.DoFn;
import org.apache.beam.sdk.transforms.ParDo;

μ†Œν”„νŠΈμ›¨μ–΄μ  μ‚¬μœ 

μ•„μŠ€ν‚€ / μœ λ‹ˆμ½”λ“œ

  • 컴퓨터 μ‹œμŠ€ν…œ 간에 미리 μ •ν•œ κ·œμ•½μœΌλ‘œ 문자λ₯Ό ν‘œν˜„ν•œλ‹€.
    • μ½”λ“œλ₯Ό 받은 μ»΄ν“¨ν„°λŠ” λ³€ν™˜ ν”„λ‘œκ·Έλž¨μ„ 톡해 μ½”λ“œμ— ν•΄λ‹Ήν•˜λŠ” 문자λ₯Ό μƒμ„±ν•œλ‹€.
  • ASCII : American Standard Code for Information Interchange / μ •λ³΄κ΅ν™˜μ„ μœ„ν•œ λ―Έκ΅­ ν‘œμ€€μ½”λ“œ
    • 문자λ₯Ό 7λΉ„νŠΈλ‘œ ν‘œν˜„ - 2^7 : 128 개의 문자λ₯Ό ν‘œν˜„ν•  수 μžˆλ‹€.
    • Extended ASCII : 8λΉ„νŠΈλ₯Ό μ‚¬μš©ν•˜λŠ” μ½”λ“œ 체계
  • μœ λ‹ˆμ½”λ“œ(Unicode)
    • ν•œ 문자λ₯Ό 16λΉ„νŠΈλ‘œ ν‘œν˜„ν•¨, μ•„μŠ€ν‚€μ½”λ“œλ₯Ό 포함
from IPython.display import clear_output, Image, display, HTML
import numpy as np
def strip_consts(graph_def, max_const_size=32):
"""Strip large constant values from graph_def."""
strip_def = tf.GraphDef()
for n0 in graph_def.node:
n = strip_def.node.add()
n.MergeFrom(n0)
if n.op == 'Const':
let hello = "hi"
🌞 Morning 125 commits β–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.1%
πŸŒ† Daytime 535 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 34.7%
πŸŒƒ Evening 574 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 37.2%
πŸŒ™ Night 309 commits β–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 20.0%