word light

http://visualstudiogallery.msdn.microsoft.com/ad686131-47d4-4c13-ada2-5b1a9019fb6f/

 
ref : http://stackoverflow.com/questions/256931/how-to-highlight-occurrences-of-a-search-term-in-text-in-visual-studio

 

VS 2008
http://visualstudiogallery.msdn.microsoft.com/en-us/ad686131-47d4-4c13-ada2-5b1a9019fb6f

VS 2010
http://visualstudiogallery.msdn.microsoft.com/en-us/4b92b6ad-f563-4705-8f7b-7f85ba3cc6bb
 




ref: http://www.sysprobs.com/access-physical-disk-virtualbox-desktop-virtualization-software

** 해당 사용자 계정에서 실행 합니다.

디스크 사용하기 ( in windows )

권한 문제 발생시 관리자 권한으로 (?? 계속 관리자로 실행해야함 ㅋ )

VBoxManage internalcommands createrawvmdk -filename C:\Users\chozo99\.VirtualBox\VDI\mydrive.vmdk -rawdisk \\.\PhysicalDrive0



VBoxManage internalcommands createrawvmdk -filename C:\Users\chozo99\.VirtualBox\VDI\mysata_test.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 6


 
==> 디스크번호는 제어판의 컴퓨터관리에서 디스크 번호 확인

또는, 아래 command 

wmic diskdrive list brief

==>  파티션의 경우, 첫번째(1), 세번째(3)

VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive0



Note. 파티션 번호 체크시

VBoxManage internalcommands help

  createrawvmdk -filename <filename> -rawdisk <diskname>
                [-partitions <list of partition numbers> [-mbr <filename>] ]
                [-relative]
       Creates a new VMDK image which gives access to an entite host disk (if
       the parameter -partitions is not specified) or some partitions of a
       host disk. If access to individual partitions is granted, then the
       parameter -mbr can be used to specify an alternative MBR to be used
       (the partitioning information in the MBR file is ignored).
       The diskname is on Linux e.g. /dev/sda, and on Windows e.g.
       \\.\PhysicalDrive0).
       On Linux host the parameter -relative causes a VMDK file to be created
       which refers to individual partitions instead to the entire disk.
       The necessary partition numbers can be queried with
         VBoxManage internalcommands listpartitions


VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1



* 미디어 관리자에서 아래 옵션을 변경 ( Writethrough )



해당 파티션이 RAW 포맷인지 확인








특정 파티션 사용하기 ( in linux )


VBoxManage internalcommands createrawvmdk -filename /home/chozo99/VirtualBox\ VMs/mypartition5.vmdk -rawdisk  /dev/sda8


==> 리눅스에서는 특정 파티션의 이름을 바로 지정 가능

ps.
1. error code 80004005 발생시
 ==> sudo /etc/init.d/vboxdrv setup

2. error code 80004005 발생시 ( 권한 없을때 )
==> 사용자 계정이 disk 그룹권한을 가지고 있어야 합니다.
 sudo usermod -a -G disk <username>

체크요 )  해당 사용자가 disk 및 vboxusers 권한을 가지고 있어야 합니다.
$ id
uid=1000(chozo99) gid=1000(chozo99) 그룹들=1000(chozo99),4(adm),6(disk),24(cdrom),29(audio),46(plugdev),104(fuse),111(lpadmin),114(pulse),115(pulse-access),119(admin),122(sambashare),123(vboxusers),124(haldaemon),1004(pulse-rt)

저 같은경우 바로 적용이 안되서, gdm 로그아웃 혹은 리붓으로 했던 기억이 ㅋ


참고: http://blog.naver.com/redwave102?Redirect=Log&logNo=80115557491

ps.http://blog.naver.com/theparanbi?Redirect=Log&logNo=80115538857

1. java se 설치
   JAVA_HOME 설정 C:\Program Files\Java\jdk6
   JRE_HOME 설정 %JAVA_HOME%\jre
   PATH 에 bin 추가
  CLASSPATH 에 tools.jar 추가

2. eclipse .. java EE 버전으루..

3. android sdk 설치 PATH 에 tools 추가
4. android ADT 추가 ( in eclipse ) window >> Preference >> android 에 SDK location 지정
5. 그외 셋팅및 추가 tools download ( in eclipse )
http://linuxhelp.blogspot.com/2005/10/find-speed-of-your-ethernet-card-in.html

Find the speed of your Ethernet card in Linux

For logging on to the net or for attaching as a node on a LAN, your computer needs a network card. The network card forms the interface between your computer and the network. There are different kinds of network cards available in the market depending on its speed and other features. Here is a tip to find out the characteristics of your network card.

If you want to find what type of network card is used, its speed, on which IRQ it is listed, and the chip type used, you use the following command :

# dmesg |grep eth0
Here eth0 is the first network card. If you have additional cards, it will be named eth1, eth2 and so on. And here is the output of the above command :
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xd800, 00:80:48:34:c2:84, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
divert: freeing divert_blk for eth0
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xd800, 00:90:44:34:a5:33, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
...
The important things to note here are those highlighted in colour. As you can see from the above listing, my ethernet card is a RealTek RTL8139 chipset based card on IRQ 9 (Interrupt Request). Its speed is 100 Mbps and is a full-duplex card. And the link is up.

As is the philosophy of Linux, there is more than one way of finding the same information. Linux also comes with a cute sounding tool called mii-tool which can also be used to get the same information about your network card.
# mii-tool -v eth0
eth0: negotiated 100baseTx-FD, link ok
product info: vendor 00:00:00, model 0 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD
10baseT-HD
...
Here -v is verbose mode. From the above listed output, one can see that the ethernet card is working as a 100baseTX, FD (Full Duplex) card which can work in the following modes :
  • 100 Mbps Speed (Full duplex or half duplex ) or
  • 10 Mbps speed (Full duplex or half duplex).
And it uses autonegotiation to bring up the link. You can call the above device as a 10/100 NIC.
Another tool which also does the same thing is ethtool. Try the following command on your machine to see the output.
# ethtool eth0

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: p
Current message level: 0x00000007 (7)
Link detected: yes
Here full duplex, half duplex and auto-negotiation have the following meanings.
Full Duplex - Logic that enables concurrent sending and receiving. This is usually desirable and enabled when your computer is connected to a switch.

Half Duplex - This logic requires a card to only send or receive at a single point of time. When your machine is connected to a Hub, it auto-negotiates itself and uses half duplex to avoid collisions.

Auto-negotiation - This is the process of deciding whether to work in full duplex mode or half duplex mode. An ethernet card supporting autonegotiation will decide for itself which mode is the optimal one depending on the network it is attached to.
C:\Users\alox>sfc /?

Microsoft (R) Windows (R) Resource Checker Version 6.0
Copyright (c) Microsoft Corporation. All rights reserved.

보호된 모든 시스템 파일의 무결성을 검색하며 잘못된 버전을 올바른 Microsoft 버전으로
복원합니다.

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<파일>] [/VERIFYFILE=<파일>]
    [/OFFWINDIR=<오프라인 Windows 디렉터리> /OFFBOOTDIR=<오프라인 부팅 디렉터리>]

/SCANNOW        보호된 모든 시스템 파일의 무결성을 검색하고 가능한 경우
                문제가 있는 파일을 복구합니다.
/VERIFYONLY     보호된 모든 시스템 파일의 무결성을 검색하지만 복구하지는
                않습니다.
/SCANFILE       참조된 파일의 무결성을 검색하고 문제가 확인되면 파일을
                복구합니다. 전체 경로 <파일>을 지정합니다.
/VERIFYFILE     전체 경로 <파일>의 파일에 대한 무결성을 확인하지만
                복구하지는 않습니다.
/OFFBOOTDIR     오프라인 복구의 경우 오프라인 부팅 디렉터리의 위치를 지정합니다.
/OFFWINDIR      오프라인 복구의 경우 오프라인 Windows 디렉터리의 위치를 지정합니다.

예:

        sfc /SCANNOW
        sfc /VERIFYFILE=c:\windows\system32\kernel32.dll
        sfc /SCANFILE=d:\windows\system32\kernel32.dll /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows
        sfc /VERIFYONLY

C:\Users\alox>
word 자동 간격


서식 -> 단락 -> 들여쓰기및 간격 -> 일반 맞춤 -> 왼쪽 정렬

./configure  --enable-cscope --enable-multibyte

or

./configure  --enable-cscope --enable-multibyte  --with-features=big





  • using xterm clipboard
          install xorg-dev  xserver-xorg-dev
make distclean          <== 필요시

vim 에서
"+y
로 복사 가능



ps. 플러그인중 python 사용하는게 있을경우.
./configure  --enable-cscope --enable-multibyte  --with-features=big --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.5/config

파이썬 관련 dev 파일 필요 (header & library )



http://www.faqs.org/docs/securing/chap9sec93.html


/etc/sysconfig/network

he /etc/sysconfig/network file is used to specify information about the desired network configuration on your server. Following is a example /etc/sysconfig/network file:
           NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=deep. openna.com
GATEWAY=0.0.0.0
GATEWAYDEV=

The following values may be used:

  • NETWORKING=answer, where answer is yes or no -Configure networking or not to configure networking.

  • FORWARD_IPV4=answer, where answer is yes or no -Perform IP forwarding or not to perform IP forwarding.

  • HOSTNAME=hostname, where hostname is the hostname of your server.

  • GATEWAY=gwip, where gwip is the IP address of the remote network gateway -if available.

  • GATEWAYDEV=gwdev, where gwdev is the device name eth# you use to access the remote gateway.

Important: For compatibility with older software, the /etc/HOSTNAME file should contain the same value as HOSTNAME= hostname above. With the new version of Red Hat Linux 6.2 the FORWARD_IPV4= parameter is now specified in the /etc/sysctl.conf file instead of the /etc/sysconfig/network file.


예)
# rpm -qf /sbin/ifenslave
iputils-20000418-6
# rpm -ql iputils
/bin/ping
/sbin/ifenslave <--- 확인 사항
/usr/sbin/arping
/usr/sbin/clockdiff
/usr/sbin/ping6
/usr/sbin/rdisc
/usr/sbin/tracepath
/usr/sbin/tracepath6
/usr/sbin/traceroute6
/usr/share/doc/iputils-20000418
/usr/share/doc/iputils-20000418/README
/usr/share/doc/iputils-20000418/README.ifenslave
/usr/share/doc/iputils-20000418/RELNOTES
/usr/share/man/man8/arping.8.gz
/usr/share/man/man8/clockdiff.8.gz
/usr/share/man/man8/in.rdisc.8.gz
/usr/share/man/man8/ping.8.gz
/usr/share/man/man8/tracepath.8.gz
#
vim 설치된 곳은? ( :echo $VIMRUNTIME )

+ Recent posts