본문 바로가기

기타16

[AE] After Effects 폰트 추가 Creative Cloud 를 연다. 왼쪽 메뉴에서 글꼴 관리 클릭. Creative Cloud에 글꼴 추가 클릭. 폰트 파일 추가 후 완료. affter effect 실행. (열려있다면 종료 후 다시 연다.) 2020. 12. 31.
[Python][Error] urlretrieve 호출 시 encode_chunked=req.has_header('Transfer-encoding') 에러 urlretrieve('주소', '이름.jpg') 위 명령어 실행시 line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) 위 에러 뿐만 아니라 request.py 여기에서 에러가 쫙 발생했다. $ /Applications/Python\ 3.7/Install\ Certificates.command 위 명령어로 해결했다. /Applications/Python 3.7 폴더에 있는 Install Certificates.command 더블 클릭해도 된다. 참고 https://github.com/tensorflow/tensorflow/issues/10779 2019. 7. 1.
[C++] STL pair를 sort 함수로 내림차순 정렬하기 sort 함수를 알고리즘 문제를 풀다가 정렬할 때 마다 쓰는데 내림차순을 원하거나 second 값으로 오름차순을 하길 원할 때 compare 함수를 어떻게 짜야하는지 맨날 헷갈린다. ​그래서 포스팅해둠. sort 함수는 algorithm 헤더파일을 필요로 한다. sort(시작 주소, 종료 주소, [비교함수]) 비교함수는 생략이 가능하다. 생략시에는 오름차순으로 정렬된다. ​ sort 함수 compare 함수대신 greater(), less(int>() 들도 사용한다고 하는데 아직 한 번도 안 써봤다... 이 때, sort(&arr[0], &arr[N], compare); 이렇게 써주어도 된다. 정렬되는 범위가 시작 주소는 포함하고 종료 주소는 포함이 되지 않는다고 한다. 즉, 위 함수 정렬의 범위는 ar.. 2019. 5. 31.
[Gradle] :compileQuerydsl task error Problem Task ':compileQuerydsl' is not up-to-date because: Task has failed previously. Custom actions are attached to task ':compileQuerydsl'. All input files are considered out-of-date for incremental task ':compileQuerydsl'. Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. Compiling wit.. 2019. 5. 10.
[Error][Intellij] available for offline mode No cached version of ~~~ available for offline mode. availiable for offline mode. 에러. Preferences > Build, Execution, Devployment > Build Tools > Gradle Offline work 체크 해제 + 19.06.12 Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.3.31'] was not found in any of the following sources: 빌드 중 이런 에러가 나타났었는데 이런 경우도 Offline work 체크 해제 하면 된다. 2019. 4. 26.
[Intellij] Macro(매크로) 등록 Edit > Macros > Start Macro Recording누르면 매크로 등록 촬영이 시작됨. 원하는 작업들을 차례대로 진행한다.포매터를 적용한 뒤 저장하는 매크로를 등록하고 싶으면포매터 적용(Alt + F8) 누르고 저장(Ctrl + s)을 눌러준다. Edit > Macros > Stop Macro Recording 매크로 이름 적어주고 OK 매크로 단축키 등록방법 File > Settings > keymap > Macros > 등록한 매크로 클릭 > Add Keyboard Shortcut 클릭 매크로를 실행하기 위한 단축키를 눌러준다. 등록하는 단축키에 이미 작동하는 actions이 있다면 위와 같이기존에 저장되어 있는 단축키를 어떻게 할 거냐고 알림창이 뜬다.나는 저장 시 내가 등록하고 싶은.. 2019. 1. 15.