'잡동사니'에 해당되는 글 13262건

  1. 2016.07.14 php hiphop
  2. 2016.07.14 synology home / homes 차이점
  3. 2016.07.14 redmine 백업
  4. 2016.07.14 opencv stitch
  5. 2016.07.13 opencv rtsp
  6. 2016.07.12 cpp dlopen / gcc -l
  7. 2016.07.11 그러고 보니 전기가 안부족한 듯?
  8. 2016.07.11 cpp thread.... / pthread
  9. 2016.07.11 객체지향과 if문?
  10. 2016.07.11 cpp 클래스 구성
Programming/php2016. 7. 14. 20:47

페이스 북에서 먼가 한다고 듣긴했었는데..

php 를 미리 컴파일 해서 더 빠른 서비스를 위한 녀석?

zend optimzer라던가 opcache야 

서비스 재시작하면 메모리에 있던거라 날아 가지만

얘네는 파일로 아예 저장해서 적용 하는 듯?


[링크 : http://hhvm.com/blog/2027/faster-and-cheaper-the-evolution-of-the-hhvm-jit]

[링크 : http://stackoverflow.com/questions/1408417/can-you-compile-php-code]

[링크 : https://en.m.wikipedia.org/wiki/HipHop_for_PHP]

'Programming > php' 카테고리의 다른 글

php 디버그 메시지 출력하게 하기  (0) 2016.10.10
php 구버전 post 변수.  (0) 2016.10.10
php chunked encdoing  (0) 2015.02.02
PHP 웹 다국어 지원 트릭  (0) 2015.02.02
php 콘솔 디버깅  (0) 2015.01.13
Posted by 구차니
하드웨어/Storage2016. 7. 14. 17:49

home은 사용자별 디렉토리 (/var/services/homes/username)

homes는 사용자 디렉토리 자체 (/var/services/homes)


homes는 어떻게 보면 관리용이라.. 그냥 막는게 나을듯




homes is the parent folder for all user, only accessible by admin

login to the file station with admin and you 'll see the folder structure within homes.


[링크 : https://forum.synology.com/enu/viewtopic.php?t=20352]

'하드웨어 > Storage' 카테고리의 다른 글

시놀로지 https / ssl 인증서 적용하기  (0) 2017.01.25
NAND flash 관련 내용  (0) 2016.10.21
synology opensource  (0) 2016.06.23
synology ds215+ cpuinfo  (4) 2016.06.23
synology svn http access..  (0) 2016.06.20
Posted by 구차니
embeded/raspberry pi2016. 7. 14. 17:28

올려진 파일 경로

./redmine/apps/redmine/htdocs/files


db설정 파일 경로

./apps/redmine/htdocs/config/database.yml



[링크 : http://meg-anero.blogspot.com/2014/12/redmine.html]

[링크 : http://sbkyun.blogspot.com/2013/12/redmine.html]

'embeded > raspberry pi' 카테고리의 다른 글

rpicam 90fps...  (0) 2016.07.27
freeRTOS on rpi  (0) 2016.07.18
초음파 거리 + 온/습도 센서  (0) 2016.07.10
초음파 센서 wiring pi 버전  (0) 2016.07.10
초음파/온습도 센서 데이터 시트 복사  (0) 2016.07.10
Posted by 구차니
Programming/openCV2016. 7. 14. 11:38

rtsp로 받아서 stitch 한번 해볼까나

(cpu의 온기가 남아있습니다?)


[링크 : http://www.pyimagesearch.com/2016/01/11/opencv-panorama-stitching/]

[링크 : http://study.marearts.com/2013/11/opencv-stitching-example-stitcher-class.html]

[링크 : http://docs.opencv.org/2.4/modules/stitching/doc/stitching.html]

'Programming > openCV' 카테고리의 다른 글

openCV multicore support  (0) 2018.03.19
stitch / opencv / python  (0) 2016.07.18
opencv rtsp  (0) 2016.07.13
openMP + openCV 실패한 이유가..  (0) 2015.11.27
openMP + openCV 미스테리..  (0) 2015.11.09
Posted by 구차니
Programming/openCV2016. 7. 13. 18:37

예제는 mjpeg 같은데 h264 도 되려나?

다만 라즈베리 openmax 지원여부는 별개일 기분?


[링크 : http://blog.daum.net/pg365/195]

'Programming > openCV' 카테고리의 다른 글

stitch / opencv / python  (0) 2016.07.18
opencv stitch  (0) 2016.07.14
openMP + openCV 실패한 이유가..  (0) 2015.11.27
openMP + openCV 미스테리..  (0) 2015.11.09
휴 모멘트?  (0) 2015.10.20
Posted by 구차니
Programming/C++ STL2016. 7. 12. 08:41

dlopen은 c 시절의 녀석이라 class 자체를 끌어올수는 없다.

[링크 : http://www.joinc.co.kr/w/Site/C++/Documents/Dynamic_Class_Loading]


다만.. gcc 에서 컴파일시 -l 링커이름으로 주면 바로 사용가능

[링크 : http://stackoverflow.com/questions/58058/using-c-classes-in-so-libraries]




근데 문득.. 둘다 so인데

dlopen과 -l을 통한것의 차이를 모르겠네?

'Programming > C++ STL' 카테고리의 다른 글

class 기본 접근제한자  (0) 2016.07.18
cpp 매크로 __PRETTY_FUNCTION__  (0) 2016.07.18
cpp thread.... / pthread  (0) 2016.07.11
객체지향과 if문?  (0) 2016.07.11
cpp 클래스 구성  (0) 2016.07.11
Posted by 구차니

원래 이맘때면 미친듯이 전력사정이 어쩌구 하면서

에어컨 끄고 하라는 말이나오는데

조용~



원자력 발전 잘 돌아가던가

민자 화력 발전소가 많이 늘었던가

경제 파탄나서 회사들이 망해서 전기 많이 안쓰던가

가정에서도 돈이 없어서 전기 못쓰던가


아니면 다던가?

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

머 이런꿈을 다꾸게 되냐  (2) 2016.07.22
lg 에어컨(신형) 필터 교체 신청  (0) 2016.07.21
내 새끼 건드리면 빼애애애액  (0) 2016.07.01
6.25  (0) 2016.06.25
영국 브렉시트  (0) 2016.06.24
Posted by 구차니
Programming/C++ STL2016. 7. 11. 13:46

아.. 어렵다 ㅠㅠ


쓰레드 join()

[링크 : http://arer.tistory.com/45]

[링크 : http://linux.die.net/man/3/pthread_cond_wait]

[링크 : http://linux.die.net/man/3/pthread_join]

[링크 : http://www.joinc.co.kr/w/Site/Thread/Beginning/PthreadApiReference#AEN144]

[링크 : http://www.joinc.co.kr/w/man/3/pthread_create]


main()이 return 0;로 되어도

쓰레드가 종료 되기 전에는 main()이 못 죽는 신기한 현상? 이라고 해야하려나?


[링크 : http://www.cplusplus.com/reference/thread/thread/]

[링크 : http://www.cplusplus.com/reference/thread/thread/join/]


[링크 : http://www.morenice.kr/75]

[링크 : http://linux.die.net/man/3/pthread_attr_setdetachstate]


자식쓰레드를 부모쓰레드로 부터 분리하기

pthread_join의 사용으로 발생할 수 있는 문제점을 해결하기 위한, 가장 좋은 방법중의 하나는 pthread_detach 를 이용해서, 자식 쓰레드를 부모쓰레드와 완전히 분리해 버리는 방법이다. 이 경우 자식 쓰레드가 종료되면, 모든 자원이 즉시 반환된다. 반면, 자식 쓰레드의 종료상태를 알 수 없다는 문제가 발생한다. 대게의 경우 자식 쓰레드의 종료상태가 중요한 문제가 되지는 않을 것이다.

[링크 : http://www.joinc.co.kr/w/Site/system_programing/Book_LSP/ch07_Thread]

'Programming > C++ STL' 카테고리의 다른 글

cpp 매크로 __PRETTY_FUNCTION__  (0) 2016.07.18
cpp dlopen / gcc -l  (0) 2016.07.12
객체지향과 if문?  (0) 2016.07.11
cpp 클래스 구성  (0) 2016.07.11
cpp enum in class  (0) 2016.07.01
Posted by 구차니
Programming/C++ STL2016. 7. 11. 13:14

도대체 객체지향이 머길래 IF를 없앨수 있나 라고 글들을 찾아 보니..

객체 타입에 따라서 자동화 되어 버린(?) C로 치면 모델병 미친듯한 if문에서

조금은 해방될 수 있다 정도로 이해하면 되려나?


논리 조거식 조차도 없애야 한다는 줄 알았네 ㄷㄷㄷ


[링크 : https://kldp.org/node/31629]

[링크 : http://alankang.tistory.com/249]

    [링크 : http://silverktk.tistory.com/353]

[링크 : http://www.gpgstudy.com/forum/viewtopic.php?t=7803]

'Programming > C++ STL' 카테고리의 다른 글

cpp dlopen / gcc -l  (0) 2016.07.12
cpp thread.... / pthread  (0) 2016.07.11
cpp 클래스 구성  (0) 2016.07.11
cpp enum in class  (0) 2016.07.01
cpp const  (0) 2016.06.22
Posted by 구차니
Programming/C++ STL2016. 7. 11. 11:28

좋은 내용들이 있어서 저장

Shape::Shape (const Point center,

const int color)

{

_center = center;

_color = color;

}


Shape::Shape (const Pointer center,

const int color)

: _center(center)

, _color (color)

{


[링크 : http://ogoons.tistory.com/59]


상식을 깨는(!)

초기화를 위해 constructor에 너무 많은걸 넣지 말라라던가(객체 생성시 오버헤드로 인해 초기화 연산자로?)

등등?

'Programming > C++ STL' 카테고리의 다른 글

cpp thread.... / pthread  (0) 2016.07.11
객체지향과 if문?  (0) 2016.07.11
cpp enum in class  (0) 2016.07.01
cpp const  (0) 2016.06.22
const 멤버 변수 초기화(member variable initializer)  (0) 2016.06.22
Posted by 구차니