Skip to content

Instantly share code, notes, and snippets.

@Gumball12
Gumball12 / README.md
Last active June 15, 2019 05:09
c# assignment 9

CS assignment - week 9

9μ£Όμ°¨ c# 과제 λ ˆν¬νŠΈμž…λ‹ˆλ‹€.

λͺ¨λ“  μ½”λ“œλŠ” gist(https://git.io/fjGar)에 μ—…λ‘œλ“œν•˜μ˜€μŠ΅λ‹ˆλ‹€.

Problem 1

μ“°λ ˆλ“œλ₯Ό μ‚¬μš©ν•˜μ—¬ μ‹€ν–‰ 간격이 각기 λ‹€λ₯΄κ²Œ(1초, 2초, 3초) λ™μž‘ν•˜λŠ” ν”„λ‘œκ·Έλž¨μ„ μž‘μ„±ν•˜λŠ” λ¬Έμ œμž…λ‹ˆλ‹€.

λ¨Όμ € 좜λ ₯은 λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

@Gumball12
Gumball12 / ThreadTester.java
Created May 3, 2019 05:24
os assignment: java thread
// https://repl.it/@Gumball12/os-assignment-java-thread
// import modules
import java.lang.Thread;
import java.lang.Math;
import java.lang.InterruptedException;
// ThreadTester class
public class ThreadTester {
public static void main (String[] args) {
@Gumball12
Gumball12 / CGT.html
Last active May 15, 2019 17:42
for Computer Graphics Test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome file</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
@Gumball12
Gumball12 / digital-logic.md
Last active June 11, 2019 05:40
3-1 기말 μ‹œν—˜μš©
  • Thread class

    • new Thread(Runnable r)
    • start(): 인자둜 λ“€μ–΄μ˜¨ Runnable 객체의 run() λ©”μ„œλ“œ μ‹€ν–‰
    • sleep(int n): nms νœ΄μ‹
    • interrupted(): 쀑지
  • Data Stream

    • InputStream class
      • <InputStreamObject>.read(): μŠ€νŠΈλ¦Όμ—μ„œ μ½μ–΄λ“€μž„
    • OutputStream class
@Gumball12
Gumball12 / sogaeding-OT.md
Last active August 14, 2019 08:40
notes that 190804 sogaeding OT

μ†Œκ°œλ”© 정리

  • 60%: λ³΄μ•ˆλͺ©λ‘
  • 40%: λ³΄μ•ˆμ  (λͺ©λ‘ μ™Έ λ³΄μ•ˆμ‚¬ν•­λ“€)

좔가적인 가점 μš”μ†Œ

  • μ‹¬μ‚¬μœ„μ›: 10점
    • DB μ‚¬μš©: 2
    • OpenAPI μ‚¬μš©: 2
    • Azure service μ‚¬μš©: 2
  • μ„œλΉ„μŠ€ 관리(ν˜„ν™©, λ‘œκΉ…, κ΄€λ¦¬μž) κΈ°λŠ₯: 2
@Gumball12
Gumball12 / 1.py
Last active August 22, 2019 03:57
sogaeding
import azure.cosmos.cosmos_client as cosmos_client
import azure.cosmos.errors as errors
config = {
'ENDPOINT': 'https://testdatabase02.documents.azure.com:443/',
'PRIMARYKEY': 'bpYTtYyi9lEiOG1wNvg8koXq56nqyGwJgS5NEE8wZzuImRA5qFtKbkTU9tVbt4rF39XbXsQqgvuFwp977UQpJg==',
'DATABASE': 'ToDoList',
'CONTAINER': 'Items'
}
@Gumball12
Gumball12 / week-1.md
Last active September 1, 2021 08:38
practice DB
/**
 * create slave table, and then insert rows
 */

create table salves (이름 char(10) primary key, μ›”κΈ‰ number, λ‚˜μ΄ number);

insert into slaves values('규', 400000, 5);
insert into slaves values('μ„€', 5000000, 73);
insert into slaves values('μ€€', 3000000, 53);
@Gumball12
Gumball12 / README.md
Last active September 15, 2019 12:19
for traceroute assignment
@Gumball12
Gumball12 / assignment-1.c
Last active September 22, 2019 13:03
CSAPP assignments
// import modules
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
// define Stack struct
struct Stack {
int* arr;
int top;
unsigned length;
@Gumball12
Gumball12 / README.md
Last active September 24, 2019 07:52
ν•™μˆ μ •λ³΄κ²€μƒ‰ μ‹€μŠ΅
  • refλŠ” μ–Έμ œλ‚˜ κΌ­ λ‹¬μž => μ‹ λ’°μ„± 높아짐

    • κΌ­ ref 달 λ•Œ μ•„λ‹ˆλΌλ„ ꡉμž₯히 μœ μš©ν•œ 정보듀을 얻을 수 μžˆμ„λ“―
  • ref 검색방법

    • λ„μ„œκ΄€ ν™ˆνŽ˜μ΄μ§€ (μ—†μœΌλ©΄ 원문볡사신청)
      • λ„μ„œκ΄€μ˜ 톡합검색 (κ°œμ’‹μ€λ“―)
      • λ¬Όλ‘  ν•΄μ™Έ μžλ£Œλ„ κ°€λŠ₯
    • ν•™μˆ DB (RISS, NDSL, κ΅­νšŒλ„μ„œκ΄€)
      • λ„μ„œκ΄€ ν™ˆνŽ˜μ΄μ§€ ν†΅ν•΄μ„œ κ°€λ©΄ 됨. ν•™κ΅μ—μ„œ κ΅¬λ§€ν•œ 유료자료 λ³Ό 수 있기 λ•Œλ¬Έ
  • λ¬Όλ‘  κ΅¬λ§€μ•ˆν•œ μžλ£Œλ„ μžˆκΈ°μ—, 원문볡사신청