목록전체 글 (77)
4번독수리의 둥지
http://blog.naver.com/PostView.nhn?blogId=kmhc&logNo=208761140 host의 모처의 workspaces 디렉토리를 공유폴더로 지정 C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso # mount -t auto /dev/cdrom /mnt/cdrom # mount/dev/sr0 on /mnt/cdrom type iso9660 (ro) # /mnt/cdrom/VBoxLinuxAdditions.run $ sudo mount -t vboxsf share /home/rnd04/workspaces/sbin/mount.vboxsf: mounting failed with the error: Protocol error #..
guest port forwarding 설정프로토콜 : TCP호스트 IP : 192.168.56.1 (VirtualBox Host-Only Network IP)호스트 포트 : 8000 (django 구동 port)게스트 IP : 10.0.2.15 (guest dhcp IP)게스트 포트 : 8000 (django 구동 port) guest에서 서버 구동[rnd04@vrnd0401 mysite]$ /usr/local/bin/python3.6 manage.py runserver 10.0.2.15:8000 host 브라우저에서 접속192.168.56.1:8000 (VirtualBox Host-Only Network IP) 너무 졸려서 더이상 못쓰겠다
http://gywn.net/2012/04/mysql-covering-index/ create table usertest ( userno int(11) not null auto_increment, userid varchar(20) not null default '', nickname varchar(20) not null default '', .. 중략 .. chgdate varchar(15) not null default '', primary key (userno), key chgdate (chgdate) ) engine=innodb; 위 테이블에서select * from usertest where chgdate like '2010%' limit 100000, 100vsselect a.* from ( s..
Use var, it reduces the scope of the variable otherwise the variable looks up to the nearest closure searching for a var statement. If it cannot find a var then it is global (if you are in a strict mode, using strict, global variables throw an error). This can lead to problems like the following.function f (){ for (i=0; i