Programming/node.js2019. 3. 25. 19:01

mocha 패키지

CUnit이니 JUnit 이니 듣긴했는데 안써봐서..

그래도 한번 서버 어플리케이션을 만드니 써봐야겠...지? ㅠㅠ


[링크 : https://www.npmjs.com/package/mocha]

[링크 : https://mochajs.org/#getting-started]

[링크 : http://blog.jeonghwan.net/mocha/]

[링크 : https://blog.outsider.ne.kr/770]

[링크 : http://webframeworks.kr/tutorials/expressjs/expressjs_test_code/]

'Programming > node.js' 카테고리의 다른 글

TypeError: Converting circular structure to JSON  (0) 2019.03.27
https proxy using node.js  (0) 2019.03.27
node.js http cache proxy  (0) 2019.03.20
node.js 사용자 모듈 만들기  (0) 2019.03.13
ckeditor 와 php, node.js 연동  (0) 2019.03.11
Posted by 구차니
프로그램 사용/qemu2019. 3. 25. 18:54

COarse-grained LOck-stepping Virtual Machines for Non-stop Service


가상머신의 논스탑 서비스를 위한 COLO 라는건데 무슨 의미인지 감이 잘 안온다..

컨셉만 보자면..

1st VM에서 Write Operation 발생시

2nd VM에도 같이 써버린다는 개념인 듯 (반대로 보면.. 램 쪽도 같이 써주는건가?)


[링크 : https://wiki.qemu.org/Features/COLO]

'프로그램 사용 > qemu' 카테고리의 다른 글

qemu arm 에뮬레이션  (0) 2024.07.19
qcow2  (0) 2019.02.01
qemu on windows  (0) 2012.04.24
qemu 사용하기  (0) 2012.04.11
qemu / qemu-launcher  (0) 2012.04.08
Posted by 구차니
Programming/Java(Spring)2019. 3. 25. 17:00

아래와 같은 에러가 발생해서 찾는 중

org.springframework.orm.jpa.JpaSystemException: Transaction was marked for rollback only; cannot commit; nested exception is org.hibernate.TransactionException: Transaction was marked for rollback only; cannot commit


먼 소리인지 눈에도 안들어 오는데 어떻게 해야하려나.. ㅠㅠ

[링크 : http://woowabros.github.io/experience/2019/01/29/exception-in-transaction.html]

'Programming > Java(Spring)' 카테고리의 다른 글

spring war와 war.original  (0) 2019.04.23
java app 메모리 상태 확인하기  (0) 2019.04.18
spring boot cassandra  (0) 2019.03.08
gradle 에 jar 추가하여 빌드하기  (0) 2019.03.08
maven 빌드하기  (0) 2019.03.08
Posted by 구차니
파일방2019. 3. 25. 16:11

주로 아래꺼 썼는데 위에것도 나쁘진 않은듯?


[링크 : https://www.nirsoft.net/utils/battery_information_view.html]

[링크 : http://users.rcn.com/tmtalpey/BattStat/]

'파일방' 카테고리의 다른 글

ups protocol  (0) 2019.04.29
열해석 프로그램(오픈소스)  (0) 2019.03.31
hdsentinel  (0) 2019.03.15
무료 웹 위지윅 에디터  (4) 2019.03.08
glusterFS  (0) 2019.02.28
Posted by 구차니
개소리 왈왈/컴퓨터2019. 3. 25. 16:07

회사 근처에 자전거 타고 가서 물어오려다가

가기 전에 웬지 느낌이 쎄~해서 전화해보니


잠시만 찾아볼게요~

하고는 어 없네요 엊그제 나갔나 봐요

(너무 뻔한 멘트 아니냐...)


아무튼 오늘 뽐뿌온김이 뿔을 뽑으라고(응?)

여기저기 뒤지다가 경매 얼마 안남은 녀석이 있어서 덥썩! 물어 보는중


일단은 도킹에(중고로 4만원에 있던데, 근데 DP 포트 하나 외엔 그리 장점이 없어서 고려 안하던 녀석)

SSD 120GB 가 있어서 다른 제품들에 비하면 상당한 메리트!

[링크 : http://itempage.auction.co.kr/DetailView.aspx?itemno=B034672561&frm3=V3]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

2760p 수리! + 상태  (2) 2019.03.27
hp 2760p 획득!  (8) 2019.03.26
노트북 지름신 -_ㅠ  (2) 2019.03.22
그래픽 카드 하나 뽑으니..  (2) 2019.03.03
i5-2500 + z68 ext3 gen3 + 모니터 설정  (0) 2019.03.02
Posted by 구차니
개소리 왈왈/블로그2019. 3. 25. 13:50

흐음.. alz로 되어있어서 얼마나 대단한게 있나 열어보려고 했더니

클릭하면 메일함으로 돌아가버리네...

alz라는 것은 함정으로, 실은 js로 짠 녀석이라 오작동 시키거나 이미 감염된건가!?!?!



전체 파일 받기로 해서 보려는데 보안에 걸려서 열어볼수도 없네 ㅠㅠ


일단은

zip -> alz -> pdf인척 하는 exe파일

Posted by 구차니
프로그램 사용/docker2019. 3. 24. 17:02

stop은 up으로 인해 생성된 이미지, 볼륨, 네트워크, 컨테이너를 삭제한다.

즉, docker-composer로 생성된 것은 서비스가 유지 안된다 라고 해야하려나?


Stops containers and removes containers, networks, volumes, and images created by up.

By default, the only things removed are:

  • Containers for services defined in the Compose file
  • Networks defined in the networks section of the Compose file
  • The default network, if one is used

Networks and volumes defined as external are never removed. 

[링크 : https://docs.docker.com/compose/reference/down/]

[링크 : https://docs.docker.com/compose/reference/up/]


[링크 : https://docs.docker.com/compose/reference/pause/]

[링크 : https://docs.docker.com/compose/reference/restart/]

'프로그램 사용 > docker' 카테고리의 다른 글

cassandra 메모리 관리  (0) 2019.05.15
docker cassandra  (0) 2019.04.22
docker 컨테이너 자동시작  (0) 2019.03.21
docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (2) 2019.03.20
Posted by 구차니

gitlab 자체의 데이터도 같이 백업해야 하는데 어떻게 해야하려나?


[링크 : https://docs.gitlab.com/ee/raketasks/backup_restore.html]

[링크 : https://docs.gitlab.com/omnibus/settings/backups.html]

[링크 : https://cdecl.net/312]

[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=19857653]

'프로그램 사용 > gitlab & github' 카테고리의 다른 글

github 의 README.md 에 이미지 넣기  (0) 2024.12.31
gitlab wiki  (2) 2019.01.28
git push rejected by remote protected branch  (2) 2018.09.04
gitlab  (2) 2018.08.13
Posted by 구차니
개소리 왈왈/컴퓨터2019. 3. 22. 21:36

2710p

집에와서 켜보니 언제 떨어트렸는지 한쪽 깨지고

먼가 상태가 기억했던 것 보다 더 안 좋은 상황


2760p로 마음이 거의 굳었는데 살 순 있으려나?




[링크 : https://cafe.naver.com/joonggonara/572385255]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

hp 2760p 획득!  (8) 2019.03.26
2760p 득템 준비?!  (2) 2019.03.25
그래픽 카드 하나 뽑으니..  (2) 2019.03.03
i5-2500 + z68 ext3 gen3 + 모니터 설정  (0) 2019.03.02
서피스 펜 배터리 도착 + 교체!  (4) 2018.12.13
Posted by 구차니
프로그램 사용/docker2019. 3. 21. 11:57

docker 의 container도 자동실행이 가능하네?


$ docker run -dit --restart unless-stopped redis 


[링크 : https://docs.docker.com/config/containers/start-containers-automatically/]



restart

no is the default restart policy, and it doesn’t restart a container under any circumstance. When always is specified, the container always restarts. The on-failure policy restarts a container if the exit code indicates an on-failure error.

  - restart: no
  - restart: always 

  - restart: on-failure 

[링크 : https://docs.docker.com/compose/compose-file/compose-file-v2/]



version: '2'

services:

  web:

    image: nginx

    restart: always 


[링크 : https://forums.docker.com/t/how-to-handle-server-reboot-when-using-docker-compose/26374/4]

[링크 : https://askubuntu.com/questions/612928/how-to-run-docker-compose-at-bootup]


+

2019.04.26

해보니 되긴하네.vim에서 restart: 뒤에 공백이 없으면 문법강조 안된다.

'프로그램 사용 > docker' 카테고리의 다른 글

docker cassandra  (0) 2019.04.22
docker-compose up/down 주의사항  (0) 2019.03.24
docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (2) 2019.03.20
docker inspect  (0) 2019.02.28
Posted by 구차니