반응형

전체 글 662

스프링 부트 애플리케이션을 실행하기 위한 "gradle boot Run"과 "gradle run"의 차이점은 무엇입니까?

스프링 부트 애플리케이션을 실행하기 위한 "gradle boot Run"과 "gradle run"의 차이점은 무엇입니까? Spring Boot 응용 프로그램을 실행하려면 다음 두 가지 그래들 작업이 있습니다. gradle bootRun gradle run 두 작업 모두 Spring Boot 응용 프로그램을 실행하는 데 사용할 수 있습니다. 이러한 작업 간의 주요 차이점은 무엇입니까? gradle bootRun- 스프링 부트 기능이 추가된 표준 gradle'run' 태스크. 예를 들어 다음과 같이 입력할 수 있습니다.bootRun {addResources = false}체크 기트허브 gradle run표준 그래들 '실행' 태스크 언급URL : https://stackoverflow.com/questions..

programing 2023.03.21

워드프레스 테마 사용자 지정기 - 섹션/설정을 추가할 수 없습니다.

워드프레스 테마 사용자 지정기 - 섹션/설정을 추가할 수 없습니다. Worpdress 테마 커스터마이저를 변경하기 위해 섹션과 설정을 추가하려고 합니다만, 기능에 무엇을 추가해도 상관없습니다.php 파일은 커스터마이저에 아무것도 표시되지 않습니다. 예: function starter_customize_register( $wp_customize ) { $wp_customize->add_section( 'mytheme_new_section_name' , array( 'title' => __( 'Visible Section Name', 'starter' ), 'priority' => 30, ) ); } add_action( 'customize_register', 'starter_customize_registe..

programing 2023.03.21

컨트롤러 내에서 $setValid 사용

컨트롤러 내에서 $setValid 사용 파일 변경에 대한 검증을 하려고 합니다.코드는 다음과 같습니다. 표시/템플릿 Error Selected file is too large Unsupported File type 컨트롤러 angular.module("myapp").controller("myctrl", function($scope) { $scope.setFile = function(element) { $scope.$apply(function($scope) { var fileObject = element.files[0]; $scope.file.fileType = fileObject.type.toUpperCase().substring(fileObject.type.indexOf("/") + 1); // Val..

programing 2023.03.21

React Native의 PhaseScriptExecution [CP-User]오류

React Native의 PhaseScriptExecution [CP-User]오류 요즘은 새로운 프로젝트를 만들 때마다react-native init ProjectName에는 제가 일이 있어요.npx pod-install 다음에 또 한 번.react-native run-ios에러가 납니다.제가 새로 만드는 모든 프로젝트에서 발생합니다. 업데이트해야 하는지 잘 모르겠습니다만, 다음은 오류입니다. CompileC /Users/chaudhrytalha/Library/Developer/Xcode/DerivedData/testapp-fdikhqqgempmsagsnliemealffwv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit...

programing 2023.03.21

Woocommerce 체크 아웃필드 순서 변경

Woocommerce 체크 아웃필드 순서 변경 체크아웃 페이지의 청구 필드를 다시 주문하려고 하는데, 지금까지 시도했던 모든 것이 작동하지 않습니다. 다음은 제가 현재 시도하고 있는 단편입니다. add_filter("woocommerce_checkout_fields", "order_fields"); function order_fields($fields) { $order = array( "billing_first_name", "billing_last_name", "billing_country", "billing_state", "billing_address_1", "billing_address_2", "billing_email", "billing_phone" ); foreach($order as $field..

programing 2023.03.21

다른 옵션 파라미터는 생략한 채 옵션 파라미터를 전달하려면 어떻게 해야 합니까?

다른 옵션 파라미터는 생략한 채 옵션 파라미터를 전달하려면 어떻게 해야 합니까? 다음 시그니처가 지정됩니다. export interface INotificationService { error(message: string, title?: string, autoHideAfter?: number); } 함수를 호출하려면 어떻게 해야 합니까?error() 를 지정하지 않음title파라미터, 단 설정autoHideAfter말하다1000?매뉴얼에 기재되어 있는 바와 같이undefined: export interface INotificationService { error(message: string, title?: string, autoHideAfter? : number); } class X { error(messa..

programing 2023.03.21

Python json.loads가 'ValueError:잘못된 컨트롤 문자: 1행 33(char 33)'

Python json.loads가 'ValueError:잘못된 컨트롤 문자: 1행 33(char 33)' 나는 다음과 같은 끈이 있다. s = u"""{"desc": "\u73cd\u54c1\u7f51-\u5168\u7403\u6f6e\u6d41\u5962\u54c1\u7f51\u7edc\u96f6\u552e\u5546 \r\nhttp:\/\/www.zhenpin.com\/ \r\n\r\n200\u591a\u4e2a\u56fd\u9645\u4e00\u7ebf\u54c1\u724c\uff0c\u9876\u7ea7\u4e70\u624b\u5168\u7403\u91c7\u8d2d\uff0c100%\u6b63\u54c1\u4fdd\u969c\uff0c7\u5929\u65e0\u6761\u2026"}""" jso..

programing 2023.03.21

순환 참조가 데이터베이스에서 허용됩니까?

순환 참조가 데이터베이스에서 허용됩니까? 순환 참조는 언제 데이터베이스에서 허용됩니까? 이론적이고 실용적인 도움에 감사드립니다.도시와 주를 고려합니다.각 도시는 주 내에 존재한다.각 주는 수도를 가지고 있다. CREATE TABLE city ( city VARCHAR(32), state VARCHAR(32) NOT NULL, PRIMARY KEY (city), FOREIGN KEY (state) REFERENCES state (state) ); CREATE TABLE state ( state VARCHAR(32), capital_city VARCHAR(32), PRIMARY KEY (state), FOREIGN KEY (capital_city) REFERENCES city (city) ); 첫 번째 문제..

programing 2023.03.21

angular.copy를 사용하는 이유와 시기(Deep Copy)

angular.copy를 사용하는 이유와 시기(Deep Copy) 서비스에서 받은 모든 데이터를 로컬 변수, 컨트롤러 또는 범위에 직접 저장했습니다.얕은 복사라고 생각되는 게 맞나? Example: DataService.callFunction() .then(function(response) { $scope.example = response.data; }); 최근 딥 카피를 작성하려면 angular.copy를 사용하라는 지시를 받았습니다. $scope.example = angular.copy(response.data); 단, 딥 카피 정보는 Angular 어플리케이션에서 사용할 때와 동일하게 동작하는 것 같습니다.딥 카피(angular.copy)를 사용하면 어떤 이점이 있는지 설명해 주시겠습니까?angul..

programing 2023.03.21
반응형