전체 글(833)
-
to부정사 부사
목적: ~ 하기 위해서He used science to help many people형용사 수식: ~하기에This problem is difficult to solve감정의 원인: ~하니, ~하게 되어I'm glad to see you결과: ~해서 (결국) ~하다My grandfather lived to be 80 years oldShe grew up to be a doctor
2024.11.03 -
명제 정의
정의명제란 **참** 또는 **거짓**을 명확히 구분할 수 있는 문장이나 수학적 표현을 말합니다. 즉, 어떤 진리값(참 또는 거짓)을 갖는 문장이며, 논리학과 수학에서 주로 사용됩니다. 예를 들어, - "2는 짝수이다."는 참인 명제입니다. - "3은 5의 배수이다."는 거짓인 명제입니다. 명제가 되기 위해서는 반드시 참이나 거짓 중 하나의 값으로 평가될 수 있어야 하며, 평가할 수 없는 모호한 문장은 명제가 아닙니다. 예를 들어, - "이 식당 음식은 맛있다."는 개인의 주관이 포함된 표현이므로 명제가 아닙니다. 예제"x는 12의 약수이거나 10의 약수이다"라는 표현은 논리적으로 참이나 거짓으로 평가할 수 있는 명제입니다. 이 명제는 특정 조건(즉, "x가 12의 약수이거나 10의 약수이다")이 성립..
2024.11.02 -
삼각형의 둘레 최소값 구하기(대칭 이동) 2024.10.21
-
Sencha Ext.Msg.alert에서 클릭시 특정 페이지로 redirect
Ext.Msg.alert('Warning', 'Session is expired!!', function() { // Redirect to a specific page after the user clicks 'OK' window.location.href = 'https://example.com/login'; // Change the URL to your desired page});
2024.10.20 -
Spring Boot에서 이미지 가져오기
Binary를 직접 가져오는 경우buttons: [ { text: 'Generate QR Code', handler: function(button) { const urlToEncode = 'https://example.com'; // Directly set the src of the image to the FastAPI or Spring Boot endpoint that returns the image const qrCodeUrl = '/qrcode?url=' + encodeURIComponent(urlToEncode); // Add the image component to ..
2024.10.19 -
FastAPI에서 이미지 가져오기
Binary를 직접 가져오기pom.xml org.apache.httpcomponents.client5 httpclient5 5.1Spring Boot Codeimport org.springframework.core.io.InputStreamResource;import org.springframework.http.HttpHeaders;import org.springframework.http.MediaType;import org.springframework.http.ResponseEntity;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestParam;impo..
2024.10.19