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

  1. 2017.04.19 미세먼지 보는 사이트
  2. 2017.04.19 avr pwm 관련
  3. 2017.04.19 영상처리 관련 링크 기술
  4. 2017.04.18 create view (phpmyadmin)
  5. 2017.04.18 MFC 시간측정(msec)
  6. 2017.04.17 wget 로그인 정보 설정
  7. 2017.04.16 잉여템 득템?
  8. 2017.04.15 php static과 변수 유효범위
  9. 2017.04.15 php 상수 선언 - define
  10. 2017.04.14 노트2 S펜 / 2710p 펜 2
분류가 모호한 글2017. 4. 19. 10:14


서울기준?

[링크 : https://earth.nullschool.net/.../loc=127.025,37.513] 3d로 지구본 + 바람방향

[링크 : http://aqicn.org/map/world/kr/#@g/31.3466/122.4756/5z] 세계 지도

'분류가 모호한 글' 카테고리의 다른 글

blvd  (0) 2017.05.29
럭스블럭 luxblock  (0) 2017.05.25
카라비너 (독일어)  (0) 2017.04.01
샘플 pcb 5만원!  (0) 2017.02.24
크롬 주소표시줄 한글 강제 인코딩 관련  (0) 2017.01.02
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2017. 4. 19. 10:02

캐리어 주파수가 도대체 머지...


[링크 : http://blog.naver.com/sigsaly/220556597729]

[링크 : http://cafe.naver.com/circuitsmanual/162950]

[링크 : http://blog.naver.com/realutopia/120013694779]

[링크 : http://blog.naver.com/ecima/80014298773]


In PWM, the frequency is usually fixed to a value. For analog servos the frequency is 30-50 Hz, and for digital servos it is 300 to 400 Hz.

[링크 : http://pcbheaven.com/wikipages/How_RC_Servos_Works/]



+

2017.05.20

캐리어는 모르겠고 PWM 주파수는 간단하게 말해서 PWM 파형에 대한 주파수 임(응?)

PWM duty 비의 정밀도랑은 상관없이 "PWM 명령어 주기"를 의미하므로

다르게 해석하면, 얼마나 명령어를 자주 보낼수 있냐에 가까운 개념

높은 응답성을 필요로 한다면 높은 PWM 주파수가 필요하고 반대급부로 pwm 하나의 명령 자체의 길이는 짧아진다.

Posted by 구차니

예전에 보고 우와! 했던 것들

지금은 당연한거라던가.. 멀 저정도로? 가 될려나?


PatchMatch : A Randomized Correspondence Algorithm for Structural Image Editing

건물 무너진거 자동 복원해주거나 건물 모양 마음대로 변형가능

[링크 : https://www.youtube.com/watch?v=vVKaKw0F7hA]


blur 복구

[링크 : http://prodesigntools.com/photoshop-sneak-peek-image-deblurring-adobe-max.html]


'이론 관련 > 2D 그래픽 관련' 카테고리의 다른 글

retinex 알고리즘  (0) 2022.01.20
jpeg 헤더  (0) 2020.12.01
HDRi / HDRI (High dynamic range imaging)  (0) 2011.04.29
BDF - Bitmap Distribution Format  (0) 2011.04.28
pbm pgm - Netpbm format  (2) 2010.06.09
Posted by 구차니

생성하니 이렇게 뷰라고 따로 생기는데

보는건

select * from organization;

으로 그냥 테이블 보는 느낌으로 하게 된다.


일단은.. join을 써서 만들었는데, idx 값이 양쪽에서 다 와서 합쳐지다 보니

그런 중복 항목에 대해서 이름을 바꾸어 주거나, 제외해주어야지 뷰가 생성된다.



[링크 : https://dev.mysql.com/doc/refman/5.7/en/create-view.html]

Posted by 구차니
Programming/C Win32 MFC2017. 4. 18. 09:39

여러가지 함수들이 있는데 msec 단위라면 이정도로 충분할 듯

typedef long clock_t;

#define CLOCKS_PER_SEC  1000 

_Check_return_ _CRTIMP clock_t __cdecl clock(void);


[링크 : http://ohpotato.tistory.com/30]


다른건 lib 링크해주고 별별 이상한걸 include 해야 하니 귀찮...

'Programming > C Win32 MFC' 카테고리의 다른 글

win32 외부 프로그램 실행  (0) 2017.05.29
cstring 'null' append 문제?  (0) 2017.05.18
MFC 다이얼로그 자세히(접기)  (0) 2017.04.14
mfc ccombobox 문자열 받아오기  (0) 2017.04.05
MFC 라디오버튼 사용하기  (0) 2017.04.05
Posted by 구차니
Linux2017. 4. 17. 16:39

세션 쿠키를 정보를 저장해서 하는 것도 있겠지만

[링크 : http://damduc.tistory.com/254]


       --load-cookies file

           Load cookies from file before the first HTTP retrieval.  file is a

           textual file in the format originally used by Netscape's

           cookies.txt file.


       --save-cookies file
           Save cookies to file before exiting.  This will not save cookies
           that have expired or that have no expiry time (so-called "session
           cookies"), but also see --keep-session-cookies.

       --keep-session-cookies

           When specified, causes --save-cookies to also save session cookies.

           Session cookies are normally not saved because they are meant to be

           kept in memory and forgotten when you exit the browser.  Saving

           them is useful on sites that require you to log in or to visit the

           home page before you can access some pages.  With this option,

           multiple Wget runs are considered a single browser session as far

           as the site is concerned.

           Since the cookie file format does not normally carry session

           cookies, Wget marks them with an expiry timestamp of 0.  Wget's

           --load-cookies recognizes those as session cookies, but it might

           confuse other browsers.  Also note that cookies so loaded will be

           treated as other session cookies, which means that if you want

           --save-cookies to preserve them again, you must use

           --keep-session-cookies again. 


로그인 정보 넘겨서 매번 하는것도 머 방법이니까?


       --user=user

       --password=password

           Specify the username user and password password for both FTP and

           HTTP file retrieval.  These parameters can be overridden using the

           --ftp-user and --ftp-password options for FTP connections and the

           --http-user and --http-password options for HTTP connections. 

[링크 : https://linux.die.net/man/1/wget]

'Linux' 카테고리의 다른 글

top VIRT?  (0) 2017.05.10
cpulimit 백그라운드 실행 이유  (0) 2017.05.10
원격지 mac address 얻기  (0) 2017.03.13
리눅스 쉘에서 시리얼 포트로 쓰기  (0) 2017.02.15
리눅스 파일 시간관련  (0) 2017.01.01
Posted by 구차니
개소리 왈왈/컴퓨터2017. 4. 16. 23:15

작동이 될진 모르겠지만

USB FDD 하나 얻음 ㅋㅋㅋ


집에 굴러 다니는 플로피 디스트 3.5인치 짜리가 있던가? ㅋㅋㅋ

Posted by 구차니
Programming/php2017. 4. 15. 10:50

static은 파일내에서 유효하지만

망할(?) php 특성상 script가 끝나면 자동으로 변수가 파기 되기에,

C 처럼 파일을 건너서 라던가 사용중에 계속 값이 유지 되진 않는다.


<?php

    static $a;

    $a++;

    echo $a;

?> 


즉, 얘 실행하면 100번을 하던 1000번을 하던 0이 나온다.


[링크 : http://php.net/manual/kr/language.variables.scope.php]



어떻게 보면.. include를 통해서 다른 변수에 꺼를 쓰던

class를 해서 쓰던, 파일을 벗어 나면 모든 값이 날아 가니까

그리고 db connection 자체도 자동 close 될테니

매 페이지 마다 매번 db connection을 해야 되는거고.. 어떻게 하던 상관이 없을려나?

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

망할 php define()  (0) 2017.04.25
php hidef?  (0) 2017.04.24
php 상수 선언 - define  (0) 2017.04.15
php 세션주의사항(?)  (0) 2017.04.13
php mvc 구현(+ PDO)  (2) 2017.04.07
Posted by 구차니
Programming/php2017. 4. 15. 10:47

define에 의해서 선언된 값은 상수로 변경이 불가능하며(상수니까)

$로 변수 식별자 없이 바로 사용이 가능하다.


<?php

  define ('YEAR',  3000);

  echo YEAR;

?>

[링크 : http://php.net/manual/kr/language.constants.php]


+

Performance results

Test performedTime spentMemory consumed
Using define()100%32.6%
Using class constants30.2%100%
Using apc_define_constants()24.2%32.0%
Using hidef13.9%13.5% (*)

(*) hidef consumes memory during initialization, but this was not taken into account for this test

[링크 : http://shwup.blogspot.com/2010/04/about-constants.html]

    [링크 : http://stackoverflow.com/questions/148185/how-efficient-is-define-in-php]

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

php hidef?  (0) 2017.04.24
php static과 변수 유효범위  (0) 2017.04.15
php 세션주의사항(?)  (0) 2017.04.13
php mvc 구현(+ PDO)  (2) 2017.04.07
php mysql 자동증가값 받기  (0) 2017.03.14
Posted by 구차니

혹해서 S펜 심을 교체 해볼수 있나 찾아 봤더니

노트3용 밖에 안나와서 혹시나 했는데 역시나...

노트1,2는 펜심 교체 불가 ㅠㅠ


[링크 : http://underkg.co.kr/QnA/1009179]



노트2에 2710p용 펜으로 써보니 필압이

노트2는 1024

2710p는 256 단계라 좀더 얇게 만 써진다 ㅠㅠ

게다가 위치가 극성(?)이 다른가.. 2710p 펜을 9시 방향으로 써야지 화면에 나오는거랑 동일한 위치로 나온다


그래도 잡는 느낌이라던가 지우개 기능은 2710p꺼가 더 낫긴한데 끄응...

미친척 TC1100 펜을 한번 테스트 해볼까. 근데 얘는 지우개가 안되잖아? ㅠㅠ

Posted by 구차니