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
/* | |
* 제로베이스 백엔드 스쿨 15기 | |
* 한새롬 | |
* 미니과제 7. 로또당첨 프로그램 | |
* | |
* Scanner의 입력함수와 조건문 및 반복문과 배열을 통한 로또 당첨 로직 작성 | |
* 1. 로또 구매 수량 입력 | |
* 2. 입력한 개수만큼의 로또 개수 생성 | |
* 3. 로또 당첨 번호 생성(숫자값은 중복 배제 및 정렬해서 표시) | |
* 4. 당첨 번호와 구매 로또 비교하여 숫자 일치 여부 판단 |
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
// void main() { | |
// greetName(name: 'ras', message: 'hello'); | |
// } | |
// void greetName({String name, String message}) { | |
// print('$name, $message'); | |
// } | |
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 java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.StringTokenizer; | |
/** | |
* 기타 레슨 문제 | |
* 해당 문제는 이분 탐색 문제이다 | |
* 처음에는 문제의 갈피를 못 잡았다. 어떤 것을 기준으로 비교해야 될지 모르기 때문이다. | |
* 여기서는 카운트를 통해서 문제를 해결해 나갈 수 있다. | |
* 즁간값을 뽑고 블루레이 최소 크기 후보가 된다. 각 레슨의 길이가 저장된 배열을 차례대로 탐색하여 한 블루레이 길이의 합이 mid보다 작도록 레슨 그룹으로 분리한다. |
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 os | |
import json | |
import base64 | |
import io | |
import requests | |
import torch | |
from torchvision.models.segmentation import fcn_resnet50, FCN_ResNet50_Weights | |
from torchvision import transforms | |
from torchvision.io.image import read_image |
This file has been truncated, but you can view the full file.
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
<html> | |
<head><meta charset="utf-8" /></head> | |
<body> | |
<div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script> | |
<script type="text/javascript">/** | |
* plotly.js v2.24.1 | |
* Copyright 2012-2023, Plotly, Inc. | |
* All rights reserved. | |
* Licensed under the MIT license | |
*/ |
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
aarch64-darwin python311Packages.gpib-ctypes | |
x86_64-darwin python310Packages.gpib-ctypes | |
x86_64-darwin python311Packages.gpib-ctypes | |
x86_64-linux python311Packages.gpib-ctypes | |
aarch64-linux python310Packages.gpib-ctypes | |
x86_64-linux python310Packages.gpib-ctypes | |
aarch64-darwin python310Packages.gpib-ctypes | |
aarch64-linux python311Packages.gpib-ctypes |
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 std::{net::SocketAddr, sync::Arc}; | |
use axum::{ | |
debug_handler, | |
extract::{ws::WebSocket, ConnectInfo, Path, Query, State, WebSocketUpgrade}, | |
response::{IntoResponse, Json}, | |
}; | |
use cloudevents::{AttributesReader, Event}; | |
use serde::Deserialize; | |
use tokio::sync::broadcast::Receiver; |