일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- non parametic softmax
- remove outliers
- Inorder Traversal
- objective functions for machine learning
- domain adaptation
- loss functions
- Policy Gradient
- clip intensity values
- noise contrast estimation
- normalization
- Actor-Critic
- rest-api
- fastapi
- freebooze
- straightup
- sidleup
- Excel
- scowl
- 자료구조
- sample rows
- MRI
- thresholding
- pulloff
- model-free control
- resample
- checkitout
- Knowledge Distillation
- REINFORCE
- shadowing
- 3d medical image
- Today
- Total
목록Programming/Web (7)
Let's Run Jinyeah
HTTP library - requests make and send HTTP request to interact with APIs GET / POST / PUT / DELETE import requests # GET : url에 특정 id api_url = "https://jsonplaceholder.typicode.com/todos/10" response = requests.get(api_url) print(response.json()) print(response.status_code) print(response.headers["Content-Type"]) #metatdata about the response # POST: 전체 todos url 사용 api_url = "https://jsonplace..
FastAPI uses Python type hints and has built-in support for async operations designed to build APIs with modern Python features built on top of Starlette and Pydantic Preparation install fastapi and uvicorn(server that can run FastAPI applications) with pip $ python -m pip install fastapi $ python -m pip install uvicorn[standard] save the code in a file called app.py Run $ uvicorn app:app --relo..
Steps to build APIs identify the resources in web service define the API endpoints pick a data format in REST API XML: elements, each element has an opening and closing tag JSON: key-value pairs similar to a Python dictionary format your API responses to HTTP requests HTTP requests HTTP method, API endpoint, HTTP version, API host HTTP responses Success Content-Type header to define how to purse..
REST Architecture software architecture style that defines a pattern for client and server communications over a network REST APIs and Web Services REST web service web service that adheres to REST architecture contstraints expose their data to the ouside world through an API REST APIs provide access to web service data through public web URLs listen for HTTP methods to know which operations to ..
html이나 css 코드를 변경 후에 웹페이지를 새로고침해도 반영이 안될 때가 있다. 코드의 에러가 없는데 이런 일이 발생했다면 browser cache가 원인일 가능성이 있다. 이때는 웹브라우저를 hard refresh해줘야 한다. [해결책] Chrome: Ctrl+Shift+R 실행 다른 웹브라우저의 경우: www.getfilecloud.com/blog/2015/03/tech-tip-how-to-do-hard-refresh-in-browsers/#.YAFbZdgzZPZ

웹 서버가 무엇인지 알아보기 위해 웹 브라우저와 웹 서버의 개념을 알고 내 컴퓨터에 직접 웹 서버를 설치하여 실행해보았다. Web Browser vs Web Server Web Browser(client) - 웹페이지(HTML 문서)를 요청하고 출력하는 응용 소프트웨어 ex. Internet Explorer, Chrome Web Server(server) - Internet을 통해 요청된 웹페이지(HTML 문서)를 응답하는 서버 소프트웨어 Web Server를 통해 내 컴퓨터에 있는 HTML 문서를 다른 컴퓨터에서 볼 수 있다!! 웹 서버 설치 후 실행 실행 환경 내 컴퓨터(Window 10)에 웹 서버를 포함하는 XAMPP설치 후 Apache 실행 다른 컴퓨터(아이폰)는 내 컴퓨터와 같은 무선 LAN을..
html을 공부하면서 제작년에 데이테베이스 강의를 들으면서 깔아놓은 xampp의 웹서버인 apache를 실행해보았다. 하지만 Attemping to start Apache app..이라고만 뜬 채 시작되지 않거나 에러가 발생했다. (환경: Window 10) Error1. Problem detected! Port 80 in use by "Unable to open process" with PID 4!...(생략) apache가 port 80을 사용하도록 설정되어 있는데 PID가 4인 프로세스가 사용중이라는 에러이다. 작업 관리자에서 PID가 4인 프로세스를 종료하려고 했지만 System에 관한 프로세스라 불가능했다. 그래서 xampp contorl-panel >> Config >> Service and ..