개소리 왈왈2012. 2. 24. 22:32
지하철/버스 900 -> 1050원
빨간버스 1700 -> 1850원
마을버스 600 -> 750원

결론 150원 +

근데 현금으로 낼때도 150이면 귀찮겠는디?

[링크 : http://media.daum.net/society/others/view.html?cateid=1067&newsid=20120224213009304&p=hani]

'개소리 왈왈' 카테고리의 다른 글

3.1절  (0) 2012.03.01
피곤하다 ㅠㅠ  (0) 2012.02.29
작은하마 이야기 / Ain't no one  (6) 2012.02.22
아 컴퓨터 사고 싶어 ㅠ.ㅠ  (2) 2012.02.18
모든 사람들이 모든걸 다 알고 살아야 할까?  (2) 2012.02.13
Posted by 구차니
Microsoft/Windows2012. 2. 24. 14:46
C:\> cacls "System Volume Information" /E /G:userid:F
C:\> cacls "System Volume Information" /E /R:userid

C:\>cacls
파일의 액세스 제어 목록(ACL)을 화면에 표시하거나 수정합니다.

CACLS 파일 이름 [/T] [/E] [/C] [/G사용자:perm] [/R 사용자 [...]] [/P사용자:perm
[...]] [/D 사용자 [...]]
    파일 이름       지정된 파일의 ACL을 화면에 표시합니다.
    /T              현재 디렉터리와 모든 하위 디렉터리에서 지정한
                    파일을 찾아서 ACL을 바꿉니다.
    /E              ACL을 대체하지 않고 편집합니다.
    /C              오류를 무시하고 ACL을 계속 바꿉니다.
    /G 사용자:perm  지정된 사용자의 사용 권한을 부여합니다.
                    Perm은 다음과 같습니다:
                              R    읽기
                              W    쓰기
                              C    바꾸기(쓰기)
                              F    모든 권한
    /R 사용자       지정된 사용자의 사용 권한을 철회합니다.
    /P 사용자:perm  지정된 사용자의 사용 권한을 바꿉니다.
                    Perm은 다음과 같습니다:
                              N    없음
                              R    읽기
                              W    쓰기
                              C    바꾸기(쓰기)
                              F    모든 권한
    /D 사용자       지정된 사용자의 액세스를 거부합니다.
한 명령에 하나 이상의 파일을 지정하는 대표 문자를 사용할 수 있습니다.
한 명령에 하나 이상의 사용자를 지정할 수 있습니다.

약어:
   CI - Container Inherit.
        ACE가 디렉터리에 의해 상속됩니다.
   OI - Object Inherit.
        ACE가 파일에 의해 상속됩니다.
   IO - Inherit Only.
        ACE가 현재 파일/디렉터리에 적용되지 않습니다. 

[링크 : http://www.youtube.com/watch?v=md1J-tiBqNs]

그런데 이 폴더의 권한을 얻어야 할 이유가 멀까?

'Microsoft > Windows' 카테고리의 다른 글

win7 설치를 위한 최소 하드 크기  (0) 2012.03.28
win7 SATA 하드 AHCI로 설정하기  (0) 2012.03.08
LFH  (0) 2012.02.13
windows media center edition 관련 프로세스 목록  (0) 2011.12.25
ntpasswd 주의점  (0) 2011.12.06
Posted by 구차니
프로그램 사용/antlr2012. 2. 23. 21:25
lexer(어휘분석기)는 token을 구분해내고
paser(구문분석기)는 lexer가 구분해낸 token의 문법구조를 분석한다.
아래예제에서 startRule()은 .g(rule)파일에서 가장 처음 규칙을 지칭한다.

int main(int argc,char** argv)
{
  try {
    std::ifstream inputstream("test.c", std::ifstream::in);
    MLexer* mainLexer = new MLexer(inputstream);
    mainLexer->setFilename("test.c");
    
    parser = new PParser(*mainLexer);
    parser->setFilename("test.c");
    gCurrentInputStream = &inputstream;
    parser->startRule();
  }
  catch(exception& e) {
    cerr << "exception: " << e.what() << endl;
  }
return 0;
}


int main(int argc,char** argv)
{
  try {
    … // 어휘 분석기/구문 분석기를 설정하기 위한 코드
    parser->startRule();
  }
  catch(ANTLR_USE_NAMESPACE(antlr)RecognitionException& e) {
    // 필요한 작업 수행
  }
  catch(ANTLR_USE_NAMESPACE(antlr)TokenStreamException& e) { 
    // 필요한 작업 수행
  }
return 0;
}

[링크 : http://www.ibm.com/developerworks/kr/library/tutorial/au-parsingwithantlr/index.html]
     [링크 : http://www.ibm.com/developerworks/kr/library/tutorial/au-parsingwithantlr/section5.html]

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

java를 이용한 antlr AST 탐색하기(AST navigation)  (0) 2011.11.02
ANTLR IDE 2.1.2 for ANTLR 3.0 above  (0) 2011.11.02
antlrworks  (0) 2011.11.02
antlr + eclipse & java  (0) 2011.10.30
antlr / pccts package  (0) 2011.10.24
Posted by 구차니
하드웨어/Display 장비2012. 2. 22. 22:52
Intel 내장형 그래픽 카드와 Nvidia의 그래픽 코어를 선택적으로 사용하는 기술이다.
이런 기술이 있는건 알았지만 이름은 또 처음 알았네 -_-


[링크 : http://www.nvidia.com/object/optimus_technology.html]
[링크 : http://www.nvidia.co.kr/object/optimus_technology_kr.html]
[링크 : http://en.wikipedia.org/wiki/Nvidia_Optimus]
Posted by 구차니
개소리 왈왈/컴퓨터2012. 2. 22. 19:42
노트북이 느려져서 어떻게 해야 하냐는 글에 유품인데.. 라는 말의 여운 




나도 컴퓨터를 오래만져왔지만
이리저리 심각하게 업그레이드를 해본건 아니지만
그래도 cpu / 메인보드 / 하드를 교체 하면서 어디까지가 기존의 그 컴퓨터일까? 라는 의문이 들곤한다.
cpu 정도는 성능에 영향을 주긴 하지만 덩치가 작은 부품이고
메인보드는 완전 다 뽑아내고 갈아야 하지만 cpu 만한건 아닌거 같고
하드는 웬지 소모품으로서 갈아도 갈아도 별 차이는 없는거 같고
램은 대개 추가되는 녀석이니 또 다른 느낌이고..

정말..
이렇게 업그레이드 하다 보면 어디까지가 처음의 그 녀석일까? 라는 의문이 들곤한다.





그 변화해온 모습도 전부 그 녀석이다 라는게 정답이겠지만.
그래도 가끔은 정말 살아있는 생명체 같은 컴퓨터를 보면서 어디까지가 너였을까? 라는 생각이 드는건 왜일까? 

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

고장난 파워는 어떻게 할까나~  (0) 2012.03.01
불안불안  (2) 2012.02.28
Xnote LW20 Express  (4) 2011.09.27
으헝헝 노트북 배터리 단종이라니!!!!  (0) 2011.04.18
배터리야 잘가~  (2) 2011.04.16
Posted by 구차니
개소리 왈왈2012. 2. 22. 13:19
한글버전은 완벽 100% 싱크로율 초월번역임
근데 Ain't no one이 무슨 뜻이지?




[링크 : http://clien.career.co.kr/cs2/bbs/board.php?bo_table=park&wr_id=10741414]
[링크 : http://imgur.com/gallery/dF00m]

'개소리 왈왈' 카테고리의 다른 글

피곤하다 ㅠㅠ  (0) 2012.02.29
서울버스요금 인상  (0) 2012.02.24
아 컴퓨터 사고 싶어 ㅠ.ㅠ  (2) 2012.02.18
모든 사람들이 모든걸 다 알고 살아야 할까?  (2) 2012.02.13
집, 유리컵, 돌  (2) 2012.02.09
Posted by 구차니
분류가 모호한 글2012. 2. 22. 10:06
구글 로고가 희안하게 변해서 눌러봤더니


하인리히 루돌프 헤르츠 탄신일(1857년 2월 22일 - 1894년 1월 1일)
이름에 루돌프가 들어가니 웬지 헤르츠 단위가 큐티해보이는데 -_-?
[링크 : http://ko.wikipedia.org/wiki/하인리히_루돌프_헤르츠

누가 머래도 2012년 2월 22일은 콩님데이!!!!

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

랙돌 효과 / 랙돌 물리  (0) 2012.07.12
gocr  (0) 2012.04.19
영문표기사전  (0) 2012.02.15
크롬 user-agent 변경으로 모바일 페이지로 속이기  (0) 2012.01.07
google map api 관련 링크  (0) 2012.01.07
Posted by 구차니
Programming/openCV2012. 2. 21. 21:37
iplImage는 c 시절에 쓰던 이미지를 담수 변수이고
c++로 옮겨온 이후로는 Mat를 쓴다고 한다.

tutorial을 보다 보니
cvLoadImage() 이런게 나오는데 이건 C버전이고
imread() 요게 c++ 버전인듯. 


대충 눈에 띄는 함수 정리

imread()
imwrite()
namedWindow()
imshow()

line()
rectangle()
circle()
ellipse()
fillpoly()
putText() 

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

Interoperability with OpenCV 1  (0) 2014.02.08
opencv2 on ubuntu  (2) 2013.11.10
openCV 글씨 쓰기 예제  (2) 2012.02.12
Cmake로 openCV 컴파일 설정 및 설치하기  (0) 2012.02.12
ubuntu opencv 패키지 버전 정보  (0) 2012.02.12
Posted by 구차니
아이디어!2012. 2. 21. 16:54
웬지.. 조선족이 하는거 보다 억양이 부드러운데
이걸로 피싱을 하면 피싱률이 올라가지 않을까? 

'아이디어!' 카테고리의 다른 글

지능형 카메라  (0) 2012.09.07
가운데서 만나기 어플?  (6) 2012.06.13
디카에 108Mbps 무선랜을 달면?  (2) 2011.10.20
inverse - synergy  (0) 2011.10.09
CTRL-C,V 키보드 / 마우스  (2) 2011.08.16
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2012. 2. 20. 23:20
AVR 에서도 I2C는 open drain으로 구성되는데
i2c 기능을 사용하지 않고,  GPIO로 구성해서 i2c 통신을 할 경우에는
i2c 버스 풀업과 avr pin 내장 풀업으로 인해 모종의 문제가 발생하는 듯하다.

• INT1/SDA – Port D, Bit 1
INT1, External Interrupt source 1. The PD1 pin can serve as an external interrupt source to the MCU.
SDA, Two-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to enable the
Two-wire Serial Interface, pin PD1 is disconnected from the port and becomes the Serial Data
I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to sup-
press spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver
with slew-rate limitation.
 
•INT0/SCL – Port D, Bit 0
INT0, External Interrupt source 0. The PD0 pin can serve as an external interrupt source to the MCU.
SCL, Two-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the
Two-wire Serial Interface, pin PD0 is disconnected from the port and becomes the Serial Clock
I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to sup-
press spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver
with slew-rate limitation. 

Electrical Interconnection
As depicted in Figure 86, both bus lines are connected to the positive supply voltage through
pull-up resistors. The bus drivers of all TWI-compliant devices are open-drain or open-collector.
This implements a wired-AND function which is essential to the operation of the interface. A low
level on a TWI bus line is generated when one or more TWI devices output a zero. A high level
is output when all TWI devices tri-state their outputs, allowing the pull-up resistors to pull the line
high. Note that all AVR devices connected to the TWI bus must be powered in order to allow any bus operation. 
The number of devices that can be connected to the bus is only limited by the bus capacitance
limit of 400 pF and the 7-bit slave address space. A detailed specification of the electrical char-
acteristics of the TWI is given in “Two-wire Serial Interface Characteristics” on page 322. Two
different sets of specifications are presented there, one relevant for bus speeds below 100 kHz,
and one valid for bus speeds up to 400 kHz. 

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

attiny2313과 함께하는 지랄같은 주말 -_-  (0) 2013.06.29
0으로 나누면 어떻게 될까?  (0) 2012.07.04
AVR ISP 핀 순서  (0) 2012.01.22
AVT FFT + DAC = 보청기?  (0) 2012.01.18
AVR TWI 예제  (0) 2012.01.11
Posted by 구차니