분류 전체보기

    Core & Keyboard Attribute

    class class_nameor style_name The class of the element id id_name A unique id for the element style style_definition An inline style definition title tooltip_text A text to display in a tool tip accesskey character Sets a keyboard shortcut to access an element tabindex number Sets the tab order of an element

    META 태그

    페이지 이동 PHP : echo (""); 페이지 컨텐츠 타입

    [Ruby on Rails] 레일스 플러그인

    ruby script/plugin install scaffolding svn://errtheblog.com/svn/plugins/classic_pagination svn://errtheblog.com/svn/plugins/will_paginate svn://errtheblog.com/svn/plugins/classic_pagination

    [Ruby on Rails] 루비 오픈 소스 라이브러리

    http://raa.ruby-lang.org/cat.rhtml?category_major=Library

    [Ruby on Rails] 루비의 데이터타입

    루비 파일이름.rb 문자열 출력 puts "" null값 nill 문자열 #{계산식 또는 변수값} 조건문 if 조건 실행문 end 배열 생성 arr = Array.new animals = ["cat", "dog", "bear"] lang = {"name" => "Ruby", "since" => 1995} 배열 삽입 arr.push("이름") arr

    [Ruby on Rails] Ruby 명령어

    WEBrick 포트 변경 ruby script/server -p 포트번호 모델 생성 ruby script/generate model 모델이름 건트롤러 생성 ruby script/generate controller 프로젝트이름 WEBrick 실행 ruby script/server

    [Ruby on Rails] 데이터베이스 연결

    레일스의 DB 연결 config/database.yml development: adapter: mysql database: phonebook host: localhost username: root password: pass encoding: utf8

    [Ruby on Rails] rails 시작 & 주요 서브 디렉토리 & 웹 서버

    레일스 프로젝트 생성 >>rails 프로젝트 이름 rails 주요 서브 디렉토리 app 레일스 애플리케이션의 소스코드가 들어가는 디렉토리 config 레일스 애플리케이션의 각종 설정 파일이 저장되어 있는 디렉토리 script 레일스 애플리케이션의 개발을 편리하게 해주는 각종 스크립트가 보관 되어 있는 디렉토리 레일스 구동 프로젝트 폴더>>ruby script/server 레일스 서버 WEBrick 을 사용 순수 루비로 구현된 웹 서버 프로그램 프로덕션용 구동시 Apache나 Mongrel 등 사용 개발단계에서는 WEBrick 사용

    [Ruby on Rails] 레일스 설치하기(윈도우)

    Window http://instantrails.rubyforge.org Mac http://locomotive.raaum.org Linux http://wiki.rubyonrails.com/rails/pages/GettingStartedWithRails 사용 버전 루비 1.8.4 레일스 프레임워크 1.2.2 MySQL 데이터베이스 5.0.27 루비 설치 http://rubyinstaller.rubyforge.org/wiki/wiki.pl 루비 최신 버전은 1.8.5이지만 레일스 1.2는 루비 1.8.4버전에 최적화 됨 레일스 설치 명령 프롬프트에 입력 gem install --version=1.2.2 rails --include-dependencies 최신버전 설치 : gem install rails ..

    [Python] 한글 처리

    # -*- coding: 949 -*- # -*- coding: euc-kr -*-