목록알쓸전컴 (343)
알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
https://stackoverflow.com/questions/51279611/flutter-listview-builder-not-updating-after-insert Flutter ListView.builder not updating after insert I've got a SQLite database that I query data from. From such data I create the necessary widgets and store them in a list. Passing the list to ListView.builder I create the items from the list. stackoverflow.com Flutter 에서 Key값을 유지하고 사용하거나 설정을 하지 않으면 ..
https://www.curioustore.com/
https://color.adobe.com/ko/create https://color.adobe.com/ko/create color.adobe.com
아래와 같이 하고 Test를 실행 시켜 보았다, //아래와 같이 상속을 받고 CustomDialect 을 만들어 준다. public class CustomDialect extends MySQL56SpatialDialect { public CustomDialect() { super(); //여기에서 ?1 ?2 는 Prams 를 받는 순서이다. //StandardBasicTypes.BOOLEAN 는 해당 함수의 리턴 타입이다. //추후 where 절이나 select 절에서 사용하게 된다. this.registerFunction("match", new StandardSQLFunction ("match(?1) against (?2 in boolean mode)",StandardBasicTypes.BOOLEAN)..
생각 보다 복잡 하여 생각을 정리하고자 자료를 작성함. 기본적으로 Spring security Data Flow 의 기본을 알고 있다는 바탕하에 자료를 작성함. Principal 은 인증한 유저의 정보를 담고 있는 객체 1. Principle 을 만들어 준다. @Data public class Userinfo { private String uid; private String userName; private String groupName; private Integer role1; String jwttoken; String password; } public class UserinfoAdapter extends User { private Userinfo userinfo; public UserinfoAdapte..
@Transactional public interface FcubeScheduledSupport1In { void fcubeupdateandhistorysave(Fcube item); } @Transactional public class FcubeScheduledSupport1{ public void fcubeupdateandhistorysave(Fcube item){ //select for update 구문 } } @Transactional public void fcubeupdateandhistorysave(Fcube item){ //select for update 부분 } 해당 Transactional 어노테이션 사용시 mysql 에 select * from table where name ..
https://quicktype.io/ Convert JSON to Swift, C#, TypeScript, Objective-C, Go, Java, C++ and more • quicktype { "people": [ { "name": "Atticus", "high score": 100 }, { "name": "Cleo", "high score": 900 }, { "name": "Orly" }, { "name": "Jasper" } ] } Provide sample JSON files, URLs, JSON schemas, or GraphQL queries. quicktype.io 상당히 유용하여 올립니다.
Json을 매번 Dart 객체로 변화하는 코드를 작성하는데 어려움을 느껴 편한 방법이 있는지 찾아 보았다. 아래 사이트 에서 변환해준다 대단하다. https://javiercbk.github.io/json_to_dart/
Java Spring 작업중 RESTAPI로 받는 JSON 데이터 형태의 Dto 를 매번 작성하기 힘들어서 쉬운 방법을 찾아 보았다. 코드를 생성 해주는 Plugin 이 있는것을 체험하고 정말 편해서 강추 하며 글을 적는다. File>>Setting>>Plugins 을 들어가면 라는것을 설치 하여 줍니다. { "id": 12314234, "properties": { "nickname": "TEST", "profile_image": "", "thumbnail_image": "" }, "kakao_account": { "profile_needs_agreement": false, "profile": { "nickname": "TSET", "thumbnail_image_url": "TEST", "profile_..
open jdk 11을 이번에 사용하고 나서 리눅스에서 생긴 증상이다 java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 에러로 인해 API 를 사용하려는 https 서버에 접속이 안되는 문제가 발생 하였다. Windows 에서 사용하던 openJDK 는 https api 와 잘 통신이 되엇다. 해당 파일을 윈도우에 설치해 서 가지고 있던 파일로 교체 해주었더니 SSL로 잘 접속 되었습니다.