« Previous : 1 : 2 : 3 : 4 : 5 : ... 36 : Next »

K9 쿠킹호일 사고 사진.

전후 사정을 모른다 .

하지만 휀다부분이 저렇게 그냥 찟어지는건

아반떼와 같은 강성인거 같다는 생각이 든다 .

논쟁을 만들려는 것도 아니라 .

각자 사람들이 생각해 보면 좋을꺼 같다 .

사용자 삽입 이미지



ps.  기아자동차야 논쟁을 만들려는건 아니다 . 국민들 알권리다.

Posted by 웅쓰

2012/04/27 13:54 2012/04/27 13:54
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/437

화영 인기가요 노출 사진.

헐 대박

노출잉 이렇게 심할줄이야 -_-

여친이랑 보는데 이건 정말 아니자나어....

대박 너무하군.

가슴이랑 인기가요 최고^^
사용자 삽입 이미지

Posted by 웅쓰

2012/01/29 22:18 2012/01/29 22:18
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/436

C++ Cstring -> char * 변환

VS 2010 에서 ATL 프로젝트로 만들어서
Cstring 쓰는데 char 변환할려고 하니짜증나는 코드들이많아

걍 만듬..

char* CstringToChar(CString Cstr)
{  
 char *charBuffer = (char *)malloc(Cstr.GetLength() * sizeof(char));
 sprintf_s(charBuffer, (Cstr.GetLength()+1) * sizeof(char), "%S", (char*)(LPCTSTR)Cstr);

 return charBuffer;
}

Posted by 웅쓰

2011/04/22 14:06 2011/04/22 14:06
Response
No Trackback , 2 Comments
RSS :
http://comefeel.com/tt/comefeel/rss/response/434

아무리 my.cnf 의 dir 를 바꿔준다고 해도

바뀐 mysqld 에서는 속수무책이었다

-_-;

vi /etc/apparmor.d/usr.sbin.mysqld

의 권한 속성 중에

예전 mysql db경로가 붙어있다.
 
즉시 수정해주고

:~# /etc/init.d/apparmor restart

후에 mysql 를 부팅시켜주자..

끗.

Posted by 웅쓰

2011/04/12 15:20 2011/04/12 15:20
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/433

우분투(ubuntu)에서 mod_url 사용

http://bada.kldp.net/projects/modurl/

가서 최신 버젼을 받고

shell> apxs -i -c mod_url.c

또는 소스 디렉토리에 GNUMakefile 이 존재 한다면

shell> make
를 한다.


apxs 가 없을때는 아래에 링크를 따라가라.
http://comefeel.com/tt/comefeel/entry/%EC%9A%B0%EB%B6%84%ED%88%AC%EC%97%90%EC%84%9C-apxs-%EC%93%B0%EB%8A%94%EB%B2%95?category=14



그리고

vi /etc/apache2/mods-enabled/url.conf 해주고 아래 내용 기입
<IfModule mod_url.c>
   CheckURL On
   ServerEncoding EUC-KR
   ClientEncoding UTF-8
</IfModule>

vi /etc/apache2/mods-enabled/url.load 해주고 아래 내용 기입
LoadModule  userdir_module   /usr/lib/apache2/modules/mod_userdir.so
LoadModule  redurl_module    /usr/lib/apache2/modules/mod_url.so

아파치 리스타트

끗.

Posted by 웅쓰

2011/02/15 12:23 2011/02/15 12:23
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/432

우분투에서 apxs 쓰는법.

dpkg -l |grep apache2

해보고

apache2-threaded-dev 있으면
sudo apt-get remove apache2-threaded-dev 제거 해주고

sudo apt-get install apache2-prefork-dev 설치로 마무리.


끗 -_-;

Posted by 웅쓰

2011/02/15 10:59 2011/02/15 10:59
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/431

어셈블리 서명

어셈블리 인증 때문에 컴파일은 정상적으로 이루어지나,  MSB3073 오류 가 발생하는 것은

MSRDS 2008을 설치 하면 어셈블리 인증에 필요한 key 파일(mrisamples.snk)이  

\Microsoft Robotics Dev Studio 2008\samples 에 mrisamples.snk이 자동 위치해 있다.

samples 폴더 밑에 있는 mrisamples.snk를 다음의 경로에 옮겨 놓자.

\Microsoft Robotics Dev Studio 2008\bin

그리고 Properties에서 mrisamples.snk의 경로를 지정해 주자.

Posted by 웅쓰

2011/01/07 11:36 2011/01/07 11:36
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/430

xp 모드 용량 넘칠때 ..


최저 20기가(20기가 이하는 설정하더라도 resize버튼이 활성화 되지 않습니다.) 최대 4테라바이트까지 줄이거나 늘릴 수 있습니다.

Dynamic과 Fixed로 타입을 정할 수 있고, 용량을 설정할 수 있습니다.

Dynamic(동적)은 VHD의 사용용량만큼만 사용해서 파일로 존재하다가 마운트 및 부팅 시 최대용량으로 동작하는 것이고, Fixed(고정)은 VHD의 실 사용용량과는 별개로 전체용량으로 항상 존재하게 하는 방법입니다.

일반적인 VHD를 생성해서 사용할 때는 상관없지만, VHD형태로 배포되는 파일의 최대용량을 줄일 수 있는 유용한 유틸입니다.


Posted by 웅쓰

2010/12/15 16:41 2010/12/15 16:41
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/429

We've added to ChartServer a few chart types to let you easily draw advanced map pins. You can use these with the Google Maps API to add pins to your maps, or for any other application. The rotated map pins can be useful for indicating clusters of locations.

ChartServer에 지도 마커의 핀 이미지를 그리게 하는 몇 가지 차트 타입을 추가해 왔다. 이것들을 통하여 Google Maps API를 이용한 지도나, 다른 어떤 어플리케이션에 핀 이미지를 추가할 수 있다. 기울여진 맵 핀은 장소들의 클러스터링 된 것을 인지시켜줄 때 유용하다.

Standard map pin with a letter inside

글씨가 들어가 있는 기본적인 맵 핀


To get a standard map pin with a letter inside, use an URL like

http://www.google.com/chart?chst=d_map_pin_letter&chld=A|FF0000|000000 

The chld URL argument contains several components separated by "|". The meaning of each component is:

chld URL인자는 "|"로 분리된 여러 개의 인자를 포함한다. 각각의 컴포넌트의 의미는 다음과 같다.

  1. letter to put in the map pin, for example A, b, or 9. This must be in UTF-8, and then URL-escaped, so, for example, to get a space you must type +, to get a plus sign you must type %2B, to get љ you must type %D1%99, and to get 駅 you must type %E9%A7%85.
    맵 핀에 넣어질 글씨  A, b, 또는 9. 이것은 반드시 UTF-8로 인코딩 되어야 하고, URL-escape되어져야 한다. 따라서 예를 들면 공백을 넣으려면 + 를 타이핑해라, 플러스 기호를 얻으려면  %2B,  љ 는 %D1%99,  駅 는 %E9%A7%85를 타이핑 해라.
    이 그림과 같이 a와 공백 그리고  +를 넣으려면
    http://www.google.com/chart?chst=d_map_pin_letter&chld=a+%2B|FF0000|000000
  2. pin fill color, as a 6-digit hexadecimal number, for example 000000 for black, FF0000 for red, FFFFFF for white, or FFFF00 for yellow.
    핀을 채울 컬러. 6자리 핵사 코드 
  3. text color, also as a 6-digit hexadecimal number.
    글자의 색깔, 6자리 핵사 코드

Standard map pin with an icon inside
아이콘이 들어가 있는 기본 맵 핀

To get a standard map pin with an icon inside, use an URL like
아이콘이 들어가 있는 기본 맵 핀을 얻으려면 URL을 다음과 같이 사용해라.

http://www.google.com/chart?chst=d_map_pin_icon&chld=home|FFFF00

The chld URL argument contains several components separated by "|". The meaning of each component is:
chld URL 인자는 "|"로 분리된 몇개의 인자를 포한한다. 각각의 컴포넌트의 의미는

  1. icon to put in the map pin. See here for the list of valid icon names.
    맵 핀에 넣을 icon . 여기에 가능한 아이콘 이름 리스트가 있다.
  2. pin fill color, as a 6-digit hexadecimal number, for example 000000 for black, FF0000 for red, FFFFFF for white, or FFFF00 for yellow.
    핀을 채울 컬러. 6자리 핵사 코드

Map pin with advanced shape and a letter inside
문자와 추가 쉐이프를 가진 맵핀

To get a map pin with an advanced shape and a letter inside, use an URL like
문자와 추가 쉐이프를 가진 맵핀을 생성하는 URL은 다음과 같다.

http://www.google.com/chart?chst=d_map_xpin_letter&chld=pin_star|A|00FFFF|000000|FF0000

The chld URL argument contains several components separated by "|". The meaning of each component is:
chld URL 인자는 "|"로 분리된 몇개의 인자를 포한한다. 각각의 컴포넌트의 의미는

  1. shape to use for the map pin. The valid shape names are: pin for a normal pin, pin_star for a pin with a star, pin_sleft for a left-leaning pin, and pin_sright for a right-leaning pin.
    맵핀에 사용되어질 shape. 가능한 쉐이프 이름은 pin 기본 핀, pin_star 별모양 핀, pin_sleft 왼쪽으로 기울여진 핀,  pin_sright 오른쪽으로 기울여진 핀.
  2. letter to put in the map pin, for example A, b, or 9. This must be in UTF-8, and then URL-escaped, so, for example, to get a space you must type +, to get a plus sign you must type %2B, to get љ you must type %D1%99, and to get 駅 you must type %E9%A7%85.
    맵 핀에 넣어질 글씨  A, b, 또는 9. 이것은 반드시 UTF-8로 인코딩 되어야 하고, URL-escape되어져야 한다. 따라서 예를 들면 공백을 넣으려면 + 를 타이핑해라, 플러스 기호를 얻으려면  %2B,  љ 는 %D1%99,  駅 는 %E9%A7%85를 타이핑 해라
  3. pin fill color, as a 6-digit hexadecimal number, for example 000000 for black, FF0000 for red, FFFFFF for white, or FFFF00 for yellow.
    핀을 채울 컬러. 6자리 핵사 코드 
  4. text color, also as a 6-digit hexadecimal number.
    문자를 채울 컬러. 6자리 핵사 코드 
  5. star fill color, also as a 6-digit hexadecimal number. This is only used for the pin_star pin shape. For other shapes, just use 0.
    별 모양을 채울 컬러, 6자리 핵사 코드. 이것은  핀 모양 옵션이 pin_star 일 때만 사용, 다른 모양을 위해서는 그냥  0을 사용

Map pin with advanced shape and an icon inside
추가 쉐이프와 아이콘을 가진 맵핀

To get a map pin with an advanced shape and a letter inside, use an URL like
추가 쉐이프와 글자를 가진 맵 핀을 생성하려면 URL은 다음과 같다.

http://www.google.com/chart?chst=d_map_xpin_icon&chld=pin_star|home|00FFFF|FF0000

The chld URL argument contains several components separated by "|". The meaning of each component is:
chld URL 인자는 "|"로 분리된 몇개의 인자를 포한한다. 각각의 컴포넌트의 의미는

  1. shape to use for the map pin. The valid shape names are: pin for a normal pin, pin_star for a pin with a star, pin_sleft for a left-leaning pin, and pin_sright for a right-leaning pin.
    맵핀에 사용되어질 shape. 가능한 쉐이프 이름은 pin 기본 핀, pin_star 별모양 핀, pin_sleft 왼쪽으로 기울여진 핀,  pin_sright 오른쪽으로 기울여진 핀. 
  2. icon to put in the map pin. See here for the list of valid icon names.
    맵 핀에 넣을 icon . 여기에 가능한 아이콘 이름 리스트가 있다. 
  3. pin fill color, as a 6-digit hexadecimal number, for example 000000 for black, FF0000 for red, FFFFFF for white, or FFFF00 for yellow.
    핀을 채울 컬러. 6자리 핵사 코드
  4. star fill color, also as a 6-digit hexadecimal number. This is only used for the pin_star pin shape. For other shapes, just use 0.
    별 모양을 채울 컬러, 6자리 핵사 코드. 이것은  핀 모양 옵션이 pin_star 일 때만 사용, 다른 모양을 위해서는 그냥  0을 사용

Map pin with text inside, scaling, and rotation
텍스트와 , 스케일, 회전각을 가진 맵핀

To get a map pin with text inside, scaling, and rotation, use an URL like
텍스트오 , 스케일, 회전각을 가진 맵 핀을 얻으려면 URL은 다음과 같다.

http://www.google.com/chart?chst=d_map_spin&chld=1.2|30|FFFF88|10|_|foo|bar

The chld URL argument contains several components separated by "|". The meaning of each component is:
chld URL 인자는 "|"로 분리된 몇개의 인자를 포한한다. 각각의 컴포넌트의 의미는

  1. scale factor for the map pin. A positive decimal number; the larger it is, the larger the map pin will be. For example, 0.5, 1, or 2.2. 스케일 값이 0.5 이면 스케일 되지 않은 핀의 will give you a map pin of the same size as the non-scaled pins, in case you only want to have rotation.
    맵 핀을 위한 scale factor . 양수의 decimal 숫자. 숫자가 클수록 맵 핀이 커질 것이다. 예를 들어 0.5, 12.2. scale factor 0.5  값은 스케일 되지 않은 기본 핀의 크기와 같다.(1이 아니라는 것을 주의 ), 이 때는 단지 너가 회전만을 원한다고 생각한다.
  2. rotation for the map pin, in degrees, counting counter-clockwise; you can use negative or positive numbers. For example, 30, -45, or 270. If you don't want any rotation, use 0.
    맵 핀의  rotation , 각도 단위, 반시계 방향. 양수 음수 모두 사용가능. 예를 들면  30, -45, or 270. 회전각을 원하지 않으면 0을 사용. 
  3. pin fill color, as a 6-digit hexadecimal number, for example 000000 for black, FF0000 for red, FFFFFF for white, or FFFF00 for yellow.
    핀을 채울 컬러. 6자리 핵사 코드
  4. font size for the text in the map pin, in pixels. For example, 10, 12, or 16.
    맵 핀의 font size . 예를 들어 10, 12, 16.
  5. font style for the text in the map pin: _ for normal text and b for boldface.
    맵 핀 텍스트의 font style: _ 는 기본 텍스트 b 는 굵은 글씨체.  
  6. text, one or more "|"-separated component in the URL. Each component will be written as a different line, from top to bottom. Each component must be in UTF-8, and then URL-escaped, so, for example, to get a space you must type +, to get a plus sign you must type %2B, to get љ you must type %D1%99, and to get 駅 you must type %E9%A7%85.
    맵 핀에 넣어질 글씨  A, b, 또는 9. 이것은 반드시 UTF-8로 인코딩 되어야 하고, URL-escape되어져야 한다. 따라서 예를 들면 공백을 넣으려면 + 를 타이핑해라, 플러스 기호를 얻으려면  %2B,  љ 는 %D1%99,  駅 는 %E9%A7%85를 타이핑 해라

Shadow of a map pin
맵 핀의 그림자

If you want to use these images with the Maps API, you will need to be able to draw their shadows, too.
Maps API와 이미지를 사용할 경우, 맵 핀의 그림자도 필요할 것이다.

Standard map pins
기본 맵 핀

To get the shadow of a standard map pin, i.e. a pin with d_map_pin_letter or d_map_pin_icon, use an URL like
기본 맵핀의 그림자를 얻기 위해서는 , 예를 들어 d_map_pin_letter 혹은 d_map_pin_icon의 URL은 다음과 같다.

http://www.google.com/chart?chst=d_map_pin_shadow

There is no chld URL argument.
chld URL 인자가 없다.

Map pins with an advanced shape

To get the shadow of a map pin with an advanced shape, i.e. a pin with d_map_xpin_letter or d_map_xpin_icon, use an URL like
추가 쉐이프를 가진 맵 핀의 그림자를 얻기 위해서는 , 예를 들어 d_map_xpin_letter 혹은 d_map_xpin_icon,의 URL은 다음과 같다.

http://www.google.com/chart?chst=d_map_xpin_shadow&chld=pin_star

The chld URL argument contains one component:
chld URL 인자는 하나의 컴포넌트를 포함한다.

  1. shape to use for the map pin. The valid shape names are: pin for a normal pin, pin_star for a pin with a star, pin_sleft for a left-leaning pin, and pin_sright for a right-leaning pin.
    맵핀에 사용되어질 shape. 가능한 쉐이프 이름은 pin 기본 핀, pin_star 별모양 핀, pin_sleft 왼쪽으로 기울여진 핀,  pin_sright 오른쪽으로 기울여진 핀. 

Map pins with scaling and rotation

It is not possible to get the shape of a scaled and rotated map pin, i.e. a pin with d_map_spin.

List of valid pin icon names
유효한 핀 아이콘 이름의 목록

These are the icon names that you can use instead of home for the map pins with d_map_pin_icon and d_map_xpin_icon:

WC
WCfemale
WCmale
accomm
airport
baby
bar
bicycle
bus
cafe
camping
car
caution
cinema
computer
corporate
dollar
euro
fire
flag
floral
helicopter
home
info
landslide
legal
location
locomotive
medical
mobile
motorcycle
music
parking
pet
petrol
phone
picnic
postal
pound
repair
restaurant
sail
school
scissors
ship
shoppingbag
shoppingcart
ski
snack
snow
sport
swim
taxi
train
truck
wheelchair
yen

Posted by 웅쓰

2010/08/25 02:23 2010/08/25 02:23
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/428

Binding 방법 통일

proc : 프로시저
  • oracle
BEGIND 프로시저명(:name, :name2, :name3); END;
  • mssql
자동으로 prepare 적용 
  • mysqli (since mysql 5.0)
call proc_php_test(?, @out); 

select @out;
  • cubrid
select 1 into a from db_root;  -- output 변수 설정 

call proc_php_test(?, ?, ?, a);

select a from db_root; -- output 변수 출력

[편집] select : 조회

  • oracle
select * from 테이블;
  • mssql
select * from 테이블;
  • mysql
select * from 테이블;
set @age := 10;

select @name1 := name1, @name2 := name2 from 테이블 where age = @age;
  • mysqli
select * from 테이블;
  • postgres
select * from 테이블; 
  • cubrid
select * from 테이블;

[편집] insert : 입력

insert 구문을 DB에 따라 다르게 생성한다.

  • oracle
insert into 테이블 values (:name1, :name2, :name3);
  • mssql (자체 구현) - sp_executesql 을 사용하여 구현
insert into 테이블 values (@name1, @name2, @name3);
declare @sql nvarchar(1000)
declare @param nvarchar(1000)

set @sql = N'insert into 테이블 values (@name1, @name2, @name3) '
set @param = N'@name1 varchar(30), @name2 varchar(30), @name3 varchar(30)'

exec sp_executesql @sql, @param, @name1 = '안녕', @name2 = '하세요', @name3 = '호박'
declare @name1 varchar(30) 
declare @name2 varchar(30)
declare @name3 varchar(30)

set @name1 = '안녕'
set @name2 = '하세요'
set @name3 = '호박'

insert into 테이블 values (@name1, @name2, @name3);
  • mysql (자체 구현)
set @name1 := '안녕';
set @name2 := '하세요';
set @name3 := '호박';

insert into 테이블 values (@name1, @name2, @name3);
  • mysqli (mysql은 지원하지 않음)
insert into 테이블 values (?, ?, ?);
  • postgres
insert into 테이블 values ($1, $2);
  • cubrid
insert into 테이블 values (?, ?);

[편집] delete

  • oracle
delete from 테이블 where name = :value or name = :value2;
  • mssql (자체 구현) - sp_executesql 을 사용해서 구현
delete from 테이블 where name = @name1 or name = @name2;
declare @sql nvarchar(1000)
declare @param nvarchar(1000)

set @sql = N'delete from 테이블 where name = @name1 or name = @name2; '
set @param = N'@name1 varchar(30), @name2 varchar(30)'

exec sp_executesql @sql, @param, @name1 = '안녕', @name2 = '하세요'
  • mysql (자체 구현)
set @name1 := '안녕';
set @name2 := '하세요';

delete from 테이블 where name = @name1 or name = @name2;
  • mysqli (mysql은 지원하지 않음)
delete from 테이블 where name = ? or name = ?;
  • postgres
delete from 테이블 where name = $1 or name = $2;
  • cubrid
delete from 테이블 where name = ? or name = ?;

[편집] update

  • oracle
update 테이블 set name = :value where name2 = :value2 or name2 = :value3;
  • mssql (자체 구현) - sp_executesql 을 사용하여 구현
update 테이블 set name = @name1 where name2 = @name2 or name2 = @name3;
declare @sql nvarchar(1000)
declare @param nvarchar(1000)

set @sql = N'update 테이블 set name = @name1 where name2 = @name2 or name2 = @name3;'
set @param = N'@name1 varchar(30), @name2 varchar(30), @name3 varchar(30)'

exec sp_executesql @sql, @param, @name1 = '안녕', @name2 = '하세요', @name3 = '메롱'


  • mysql (자체 구현)
set @name1 := '안녕';
set @name2 := '하세요';
set @name3 := '메롱';

update 테이블 set name = @name1 where name2 = @name2 or name2 = @name3;
  • mysqli (mysql 지원하지 않음)
update 테이블 set name = ? where name2 = ? or name2 = ?;
  • postgres
update 테이블 set name = $1 where name2 = $2 or name2 = $3;
  • cubrid
update 테이블 set name = ? where name2 = ? or name2 = ?;

Posted by 웅쓰

2010/02/22 23:49 2010/02/22 23:49
Response
No Trackback , No Comment
RSS :
http://comefeel.com/tt/comefeel/rss/response/427

« Previous : 1 : 2 : 3 : 4 : 5 : ... 36 : Next »

블로그 이미지

웅자의 상상플러스

- 웅쓰

Archives

Authors

  1. 웅쓰

Recent Trackbacks

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
317183
Today:
96
Yesterday:
199