ADATA SU650 2.5" SATA 6Gb/s 240GB 두개 도착
근데 언제 포맷하지? ㅋㅋㅋ
이제 남은건.. 그래픽 카드인가?!
'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글
| 노트북 완전체 업그레이드 (8) | 2019.06.21 |
|---|---|
| 오늘의 지름! (3) | 2019.06.20 |
| 아.. 누가 미친 지름신좀 말려줘... (2) | 2019.06.06 |
| 망할 서버 지름신.. (2) | 2019.06.05 |
| 키보드 도착 (6) | 2019.06.04 |
ADATA SU650 2.5" SATA 6Gb/s 240GB 두개 도착
근데 언제 포맷하지? ㅋㅋㅋ
이제 남은건.. 그래픽 카드인가?!
| 노트북 완전체 업그레이드 (8) | 2019.06.21 |
|---|---|
| 오늘의 지름! (3) | 2019.06.20 |
| 아.. 누가 미친 지름신좀 말려줘... (2) | 2019.06.06 |
| 망할 서버 지름신.. (2) | 2019.06.05 |
| 키보드 도착 (6) | 2019.06.04 |
파싱, tokenizer
[링크 :https://psychoria.tistory.com/666]
[링크 : https://stackoverflow.com/questions/53849/how-do-i-tokenize-a-string-in-c]
string을 숫자로
[링크 : http://yotop93.blogspot.com/2015/04/string.html]
문자열 자르기
-1 식으로 끝에서 자르는건 안되는 듯
[링크 : http://www.cplusplus.com/reference/string/string/substr/]
| vector 값 비우기 (0) | 2021.10.02 |
|---|---|
| cpp 부모타입으로 업 캐스팅 된 객체의 원래 클래스 알기 (0) | 2021.09.30 |
| cpp stringstream << 연산자 (0) | 2019.05.24 |
| c++ 함수 인자 기본값 (0) | 2017.11.08 |
| cpp string compare 와 == (0) | 2017.01.31 |
여러개는 힘들거 같고, 하나의 컨테이너만 살린다면
그걸 상속받아 만든 녀석에 대해서는 검색이 가능할 듯
| docker ps -a -q --filter ancestor="image name" |
[링크 : https://stackoverflow.com/questions/32073971/stopping-docker-containers-by-image-name-ubuntu]
| docker api (0) | 2019.06.12 |
|---|---|
| docker ps 옵션 차이 (0) | 2019.06.11 |
| docker create와 docker rm (0) | 2019.05.30 |
| docker 자원 제한하기 (0) | 2019.05.17 |
| docker exited (0) | 2019.05.17 |
비온다고 해서 걱정했는데, 비한방울도 안뿌려서 다행

| 자전거 대행진은 아직 소식이 없네 (0) | 2020.05.18 |
|---|---|
| 오랫만에 자전거 (0) | 2020.05.06 |
| 점심의 자전거.. -_ㅠ (2) | 2019.05.28 |
| 2019 자전거 대행진 신청! (2) | 2019.04.24 |
| 2019 서울 자전거 대행진! (2) | 2019.04.23 |
6.1.3. Using Build ProfilesTo activate one or more build profiles from the command line, use the following option: -P, --activate-profiles <arg>Comma-delimited list of profiles to activate For more information about build profiles, see Chapter 5, Build Profiles. |
[링크 : https://books.sonatype.com/mvnref-book/reference/running-sect-options.html]
[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=14090588]
| java 메모리 관련...2? (0) | 2019.07.06 |
|---|---|
| java.lang.OutOfMemoryError: GC overhead limit exceeded (1) | 2019.07.06 |
| tomcat9 on ubuntu18.04 (0) | 2019.06.07 |
| tomcat 자동 war 배포 막기 (0) | 2019.06.07 |
| tomcat manager GUI (0) | 2019.06.07 |
$ sudo apt-get install tomcat9-admin
$ sudo vim /etc/tomcat9/tomcat-users.xml
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-status"/>
<user username="tomcat" password="password" roles="manager-gui,manager-script,manager-status"/>
war 디플로이 경로(tomcat manager 쓰면 상관없음)
/var/lib/tomcat9/webapps
+
2019.07.29
sudo vi /etc/tomcat9/tomcat-users.xml
sudo vi /usr/share/tomcat9-admin/manager/WEB-INF/web.xml
<multipart-config>
<max-file-size>152428800</max-file-size>
<max-request-size>152428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
sudo vim /usr/share/tomcat9-admin/manager/META-INF/context.xml
<Context antiResourceLocking="false" privileged="true" >
<!--
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
-->
<Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/>
</Context>| java.lang.OutOfMemoryError: GC overhead limit exceeded (1) | 2019.07.06 |
|---|---|
| mvn -P profile (0) | 2019.06.08 |
| tomcat 자동 war 배포 막기 (0) | 2019.06.07 |
| tomcat manager GUI (0) | 2019.06.07 |
| WARNING: An illegal reflective access operation has occurred (0) | 2019.06.05 |
해당 옵션이 true 라서 war 파일 넣어두고 서버 재시작 하면 배포 되어 버리는 듯
| unpackWARs Set to true if you want web applications that are placed in the appBase directory as web application archive (WAR) files to be unpacked into a corresponding disk directory structure, false to run such web applications directly from a WAR file. See Automatic Application Deployment for more information. |
[링크 : http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Standard_Implementation]
| mvn -P profile (0) | 2019.06.08 |
|---|---|
| tomcat9 on ubuntu18.04 (0) | 2019.06.07 |
| tomcat manager GUI (0) | 2019.06.07 |
| WARNING: An illegal reflective access operation has occurred (0) | 2019.06.05 |
| spring에 angluar 통합하기 (0) | 2019.06.04 |
node.js와 chromium 을 통합해 웹어플을 데스크탑 어플로 만들어 주는 녀석
크롬도 수정해서 require 쓸수 있게 하고
보안상의 문제로 별도의 express.js를 못쓰게 한다는데
아무튼 결국에는 node.js와 통신해서 웹과 무언가를 주고받는걸 찾아야 할듯
(근데 얘로 vscode를 만들었다는데 좀 쩌는 듯.. atom을 써봐야하나?)
[링크 : https://electronjs.org/docs/tutorial/application-architecture#main-and-renderer-processes]
| node.js Javascript heap out of memory (0) | 2019.06.19 |
|---|---|
| node.js 용량 제한(?) (0) | 2019.06.18 |
| electron.js (0) | 2019.06.03 |
| npm-run-all 병렬 빌드 (실패) (0) | 2019.05.29 |
| pdf 내용 추출 (0) | 2019.05.27 |
의외로 postgres 서버의 메모리 늘리는 것은 크게 영향이 없는 듯 하고
설정 파일에서 이것저것 고친거랑.. cpu 갯수 늘린게 영향을 주려나?
일단은 확실한 벤치를 한건 아니지만 ramdom_page_cost 늘린게 가장 큰 영향을 주는 듯
| work_mem As I mentioned earlier, memory allocation and management is a big part of performance-tuning PostgreSQL. If your system is doing a lot of complex sorts, increasing the sort memory can help the database optimize its configuration for your setup. This allows PostgreSQL to cache more data in memory while it performs its sorting, as opposed to making expensive calls to the disk. random_page_cost This setting essentially is the amount of time that your optimizer should spend reading memory before reaching out to your disk. You should alter this setting only when you’ve done other plan-based optimizations that we’ll cover soon, such as vacuuming, indexing, or altering your queries and schema. These are just some of the optimizations you can make for database configurations, but there are plenty more. Now that you know how to tweak your database setup, let’s look at another area for investigation: vacuuming. |
[링크 : https://stackify.com/postgresql-performance-tutorial/]
|
shared_buffers = — Editing this option is the simplest way to improve the performance of your database server. The default is pretty low for most modern hardware. General wisdom says that this should be set to roughly 25% of available RAM on the system. Like most of the options I will outline here you will simply need to try them at different levels (both up and down ) and see how well it works on your particular system. Most people find that setting it larger than a third starts to degrade performance.
|
[링크 : https://www.revsys.com/writings/postgresql-performance.html]
| postresql backup & recovery (0) | 2019.06.12 |
|---|---|
| postgresql schema (0) | 2019.06.12 |
| postgresql drop all tables (0) | 2019.06.05 |
| postgresql import from csv (0) | 2019.06.04 |
| postgresql password chg (0) | 2019.06.04 |
| tomcat9 on ubuntu18.04 (0) | 2019.06.07 |
|---|---|
| tomcat 자동 war 배포 막기 (0) | 2019.06.07 |
| WARNING: An illegal reflective access operation has occurred (0) | 2019.06.05 |
| spring에 angluar 통합하기 (0) | 2019.06.04 |
| spring war와 war.original (0) | 2019.04.23 |