'전체'에 해당되는 글 40

  1. 2009/04/20 oot! eclipse 3.4 ganymede 언어팩 수동 설치 (0)
  2. 2009/03/24 oot! Pmac 터미널 명령으로 속도 가져오기 (0)
  3. 2009/02/13 oot! sql select문 요약 (0)
  4. 2009/02/13 oot! signpost 프로젝트 시작 (0)
  5. 2009/02/13 oot! vs2008 에서 gtkmm 사용하기 (0)
eclipse 3.4 ganymede 언어팩 수동 설치

현재 Software Updates(http://download.eclipse.org/technology/babel/update-site/ganymede) 를 통해서 3.3과 3.4 버전은 언어팩 업데이트가 안된다.

수동으로 다운 받아서 설치해야 한다.
아래 사이트에 가서 버전에 맞는 Korean 항목의 파일을 다운 받는다.
http://build.eclipse.org/technology/babel/babel_language_packs/

전부 압축을 풀자.
eclipse 폴더 안에 features, plugins 폴더를 이클립스 실행파일이 있는 곳에 그대로 복사한다.

이클립스 재시작하면, 언어팩이 설치 된것을 볼 수 있다.
태그 : eclipse
#(n)v 명령으로 velocity 를 가져올 수 있다.

단위는 cts/servo cycle

cts/mm 로 단위 변환.

초당 servo cycle count
= 1000 * 8388608 / 3915022(I10)
= 2142.6719952020703842788112046369

servo cycle time(sec)
= 1 / 2142.6719952020703842788112046369
= 0.0004667069911956787109375000000002

x cts/servo cycle
= x / 0.0004667069911956787109375000000002 cts/mm
태그 : pcomm32,pmac

sql select문 요약

Language 2009/02/13 20:03
출처 : http://www.databasedesign.co.uk/sqlselectshortsummary.htm

SQL SELECT statement - short summary

 

Function

Example

select

from

select * from customer

select c_no, sname from customer

distinct

select distinct c_no from invoice

order by

select * from customer order by sname

select * from customer order by city, balance desc

where

select * from customer where city = ‘London’ and balance <= cred_lim

between

select * from invoice where inv_date between #10-dec-99# and #14-1-00#

like

select * from customer where sname like ‘Dz*’

in

select * from customer where city in (‘London’, ‘Leeds’)

avg,count,max,

min,sum,var,

stddev

select sum(balance) from customer

select count(*) from customer

select sum(balance) as TotalBalance from customer

select sum(balance), max(cred_lim) from customer

group by

select city, sum(balance) from customer group by city

select city, max(balance) as [Highest balance for this city] from customer group by city

having

select city, sum(balance) group by city having sum(balance) > 500

top

select top 2 * from customer order by balance desc

select top 1 city, sum(balance) from customer group by city order by sum(balance) desc

select top 20 percent * from customer order by balance desc

inner join

select a.c_no, sname, inv_no, amount from customer as a inner join invoice as b on a.c_no = b.c_no where city = ‘London’ and balance > 100

left join

select a.c_no, sname, inv_no, amount from customer as a left join invoice as b on a.c_no = b.c_no where city = ‘London’ and balance > 100

subquery

select * from customer where city = (select city from customer where sname = ‘Sallaway’)

select * from customer where c_no not in (select c_no from invoice)

any, all

select * from employee where salary < any (select salary from employee)

select * from employee where salary >= all (select salary from employee)

exists, not exists

select * from customer where not exists (select * from invoice where customer.c_no = invoice.c_no)

union

select * from violinplayers union select * from pianoplayers

from a query

select * from query1 where city = ‘London’

select into

select * into temp1 from customer where city = ‘London’

select * into customer in ‘accts1.mdb’ from customer

crosstab query

transform sum(weeklysales.s_value) as sumofs_value

select employee.e_name from employee inner join (category inner join weeklysales on category.c_no = weeklysales.c_no) on employee.e_no = weeklysales.e_no group by employee.e_name

pivot category.c_name

태그 : sql,sql select
signpost?
  • 개인의 모든 디지털 정보 및 데이터를 관리

---
개발 환경
  • 리눅스, 윈도우 멀티 플랫폼
  • 언어 - c++
  • ui - gtkmm
  • database - sqlite3
  • window : visual studio 2008, windows xp
  • linux : eclipse 3.4 cdt, ubuntu 9.04

---
로드맵
1차.
  • todo 기능
  • category 기능
  • 태그 기능

2차.
  • markdown 문법을 사용한 Text 작성 기능

3차
  • Text 끼리 연결 가능
  • wiki 의 초보적인 기능 구현

4차
  • 파일 첨부 기능
  • 파일 외부 프로그램 연결

5, 6, ...차
  • 미정

1. http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/ 에서 최신 개발 버전을 다운 받아 설치한다.

2. http://live.gnome.org/gtkmm/MSWindows/UsingMSVC 그대로 따라한다;;;

3. gtkmm 으로 프로그래밍한다.
태그 : gtkmm,VS2008