8 4 end 5 6 private def message 7 'Hello' 8 end 9 end g = Greeting.new 12 g.hello $ ruby lib/lessons/greeting.rb Hello Ruby public method protec
|
|
- ひでか やまがた
- 6 years ago
- Views:
Transcription
1 8 Rails 8.1 PicoPlanner Ruby lib lessons $ mkdir -p lib/lessons lib/lessons greeting.rb lib/lessons/greeting.rb (New) 1 class Greeting 2 def hello 3 puts message 87
2 8 4 end 5 6 private def message 7 'Hello' 8 end 9 end g = Greeting.new 12 g.hello $ ruby lib/lessons/greeting.rb Hello Ruby public method protected method private method def visibility C Greeting hello message greeting.rb lib/lessons/greeting.rb 11 g = Greeting.new 12 g.hello 13 + puts g.message 88
3 8.1 puts g.message lib/lessons/greeting.rb13in `<main>' private method `message' called > for #<Greeting0x f12ef10> (NoMethodError) greeting.rb lib/lessons/greeting.rb 1 class Greeting 2 def hello 3 - puts message 3 + puts self.message 4 end lib/lessons/greeting.rb3in `hello' private method `message' called for > #<Greeting0x cd0d8a8> (NoMethodError) from lib/lessons/greeting.rb12in `<main>' class K private def foo 'foo' end def bar 'Bar' end end 2 private private 89
4 8 K foo bar Rails def private Ruby Ruby 2.1 private K foo class K def foo 'foo' end private foo end Ruby 2.1 def end def private 8.2 plan_item_params plan_items create update app/controllers/plan_items_controller.rb 21 def create 22 PlanItem.create!( 23 params[plan_item].permit(name, description, starts_at, ends_at) 90
5 8.2 plan_item_params 24 ) redirect_to plan_items 27 end def update 30 plan_item = PlanItem.find(params[id]) 31 plan_item.update!( 32 params[plan_item].permit(name, description, starts_at, ends_at) 33 ) redirect_to plan_items 36 end 37 end params[plan_item].permit(name, description, starts_at, ends_at) redirect_to plan_items plan_items_controller.rb app/controllers/plan_items_controller.rb 35 redirect_to plan_items 36 end private def plan_item_params 39 + params[plan_item].permit(name, description, starts_at, ends_at) 40 + end 41 end 91
6 8 plan_item_params plan_item_params create app/controllers/plan_items_controller.rb 21 def create 22 - PlanItem.create!( 23 - params[plan_item].permit(name, description, starts_at, ends_at) 24 - ) 22 + PlanItem.create!(plan_item_params) redirect_to plan_items 25 end update app/controllers/plan_items_controller.rb 27 def update 28 plan_item = PlanItem.find(params[id]) 29 - plan_item.update!( 30 - params[plan_item].permit(name, description, starts_at, ends_at) 31 - ) 29 + plan_item.update!(plan_item_params) redirect_to plan_items 32 end 92
7 ERB partial 1 lessons hello config/routes.rb config/routes.rb 1 Rails.application.routes.draw do 2 root 'top#index' 3 get 'lessons/form' => 'lessons#form' 4 get 'lessons/register' => 'lessons#register' 5 + get 'lessons/hello' => 'lessons#hello' 6 resources plan_items, 7 only [ index, new, show, edit, create, update ] 8 end app/controllers lessons_controller.rb app/controllers/lessons_controller.rb 5 def register = params[user_name] 7 end def hello 10 + end 11 end app/views/lessons hello.html.erb 93
8 8 app/views/lessons/hello.html.erb (New) 1 <div class='card'> 2 <div class='card-block'> 3 <%= render 'content' %> 4 </div> 5 </div> app/views/lessons _content.html.erb _ app/views/lessons/_content.html.erb (New) 1 <p class='card-text'>hello, world!</p> CSS card card-block card-text Bootstrap Card 9 http//localhost3000/lessons/hello lessons#hello hello.html.erb 3 <%= render 'content' %> ERB render HTML 94
9 8.4 _.html.erb _content.html.erb app/views/lessons _content.html.erb hello.html.erb 3 app/views app/views/shared _notes.html.erb <%= render 'shared/notes' %> 8.4 render 2 hello.html.erb app/views/lessons/hello.html.erb 1 <div class='card m-1'> 2 <div class='card-block'> 3 - <%= render 'content' %> 3 + <%= render 'content', name 'Alice' %> 4 + <%= render 'content', name 'Bob' %> 5 </div> 6 </div> 4 render 2 { name 'Alice' } name 'Alice' _content.html.erb 95
10 8 app/views/lessons/_content.html.erb 1 - <p class='card-text'>hello, world!</p> 1 + <p class='card-text'>hello, <%= name %>!</p> http//localhost3000/lessons/hello _content.html.erb <%= name %> 'Alice' 'Bob' 8.5 PicoPlanner ERB app/views/plan_items new.html.erb edit.html.erb new.html.erb 2 23 app/views/plan_items/new.html.erb 1 <%= do f %> 2 - <div class='form-group'> 3 - <%= f.label name, ' ' %> 4 - <%= f.text_field name, class 'form-control', required true %> 17 - <div class='form-group'> 18 - <%= f.label ends_at, ' ' %> 96
11 <div class='input-group date datetime-picker'> 20 - <%= f.text_field ends_at, class 'form-control', required true %> 21 - <span class='input-group-addon'><i class='fa fa-calendar'></i></span> 22 - </div> 23 - </div> 2 <div class='form-group'> 3 <%= f.submit ' ', class 'btn btn-success' %> 4 </div> 5 <% end %> _fields.html.erb 2 app/views/plan_items/_fields.html.erb (New) 1 <div class='form-group'> 2 <%= f.label name, ' ' %> 3 <%= f.text_field name, class 'form-control', required true %> 16 <div class='form-group'> 17 <%= f.label ends_at, ' ' %> 18 <div class='input-group date datetime-picker'> 19 <%= f.text_field ends_at, class 'form-control', required true %> 20 <span class='input-group-addon'><i class='fa fa-calendar'></i></span> 21 </div> 22 </div> new.html.erb app/views/plan_items/new.html.erb 1 <%= do f %> 2 + <%= render 'fields', f f %> 3 <div class='form-group'> 4 <%= f.submit ' ', class 'btn btn-success' %> 5 </div> 6 <% end %> render 2 { f f } 97
12 8 f f new.html.erb edit.html.erb 2 23 app/views/plan_items/edit.html.erb 1 <%= do f %> 2 - <div class='form-group'> 3 - <%= f.label name, ' ' %> 4 - <%= f.text_field name, class 'form-control', required true %> 17 - <div class='form-group'> 18 - <%= f.label ends_at, ' ' %> 19 - <div class='input-group date datetime-picker'> 20 - <%= f.text_field ends_at, class 'form-control', required true %> 21 - <span class='input-group-addon'><i class='fa fa-calendar'></i></span> 22 - </div> 23 - </div> 2 <div class='form-group'> 3 <%= f.submit ' ', class 'btn btn-success' %> 4 </div> 5 <% end %> edit.html.erb app/views/plan_items/edit.html.erb 1 <%= do f %> 2 + <%= render 'fields', f f %> 3 <div class='form-group'> 4 <%= f.submit ' ', class 'btn btn-success' %> 5 </div> 6 <% end %> 98
13 app/views/plan_items index.html.erb index.html.erb 8 10 app/views/plan_items/index.html.erb 7 <div class='col-xs-4 hidden-md-up text-xs-right'> 8 - <%= link_to [ edit, item ] do %> 9 - <i class='fa fa-pencil-square fa-lg'></i> 10 - <% end %> 8 </div> app/views/plan_items _xs_toolbar.html.erb 6 app/views/plan_items/_xs_toolbar.html.erb (New) 1 <%= link_to [ edit, item ] do %> 2 <i class='fa fa-pencil-square fa-lg'></i> 3 <% end %> index.html.erb app/views/plan_items/index.html.erb 7 <div class='col-xs-4 hidden-md-up text-xs-right'> 8 + <%= render 'xs_toolbar', item item %> 9 </div> index.html.erb
14 8 app/views/plan_items/index.html.erb 17 <div class='col-md-3 hidden-sm-down text-xs-right'> 18 - <%= link_to [ edit, item ], class 'btn btn-secondary btn-sm' do %> 19 - <i class='fa fa-pencil-square'></i> 20 - <% end %> 18 </div> app/views/plan_items _md_toolbar.html.erb 6 app/views/plan_items/_md_toolbar.html.erb (New) 1 <%= link_to [ edit, item ], class 'btn btn-secondary btn-sm' do %> 2 <i class='fa fa-pencil-square'></i> 3 <% end %> index.html.erb app/views/plan_items/index.html.erb 17 <div class='col-md-3 hidden-sm-down text-xs-right'> 18 + <%= render 'md_toolbar', item item %> 19 </div>
15 8.7 app/views/plan_items/show.html.erb 1 <div class='container-fluid plan-item'> 2 <div class='row'> 3 <div class='col-xs-12 hidden-md-up text-xs-right'> 4 <%= link_to plan_items do %> 5 <i class='fa fa-list fa-lg'></i> 6 <% end %> 7 + <%= render 'xs_toolbar', %> 8 </div> 9 <div class='col-md-12 hidden-sm-down text-xs-right'> 10 <%= link_to plan_items, class 'btn btn-secondary btn-sm' do %> 11 <i class='fa fa-list'></i> 12 <% end %> 13 + <%= render 'md_toolbar', %> 14 </div> 15 </div>
16
6 (1) app.html.eex 28 lib/nano_planner_web/templates/layout/app.html.eex 27 <footer> Oiax Inc <%= this_year() %> Oiax Inc. 29 </footer>
6 (1) of_today 6.1 Copyright 2017 lib/nano_planner_web/views layout_view.ex this_year/0 lib/nano_planner_web/views/layout_view.ex 1 defmodule NanoPlannerWeb.LayoutView do 2 use NanoPlannerWeb, view 3 +
More information16 (2) 23 - <div class="col-12 col-md-4"> </div> 23 + <div class="col-12 col-md-4 bg-info text-white text-md-right"> </div> HTML bg-info #17
16 (2) Elixir/Phoenix 16.1 web/templates/plan_items/show.html.eex 3 - 3 + 7 -
More information10 (1) s 10.2 rails c Rails 7 > item = PlanItem.new => #<PlanItem id nil, name nil,...> > item.name = "" => "" > item.valid? => true valid? true false
10 (1) 16 7 PicoPlanner validations 10.1 PicoPlanner Web Web invalid values validations Rails validates validate 107 10 (1) s 10.2 rails c Rails 7 > item = PlanItem.new => #
More information8 7 + <div class='col-12 col-md-8'> 8 <%= item.description %> 9 </div> 10 </div> 11 <% end %> 12 </div> class container container-fluid PicoPlan
8 Bootstrap 8.1 PicoPlanner responsive web design PC plan_items#index app/views/plan_items/index.html.erb 1 - 1 + 2 3 - 3 +
More information15 Phoenix HTML 15.1 ModestGreeter RAVT web/router.ex web/router.ex : 12 scope "/", ModestGreeter do 13 pipe_through :browser get "/", TopCont
15 Phoenix HTML 15.1 ModestGreeter RAVT web/router.ex web/router.ex : 12 scope "/", ModestGreeter do 13 pipe_through :browser 14 15 + get "/", TopController, :index 16 get "/hello/:name", HelloController,
More information9 Bootstrap Font Awesome 52 + gem 'bootstrap', '4.0.0.alpha6' 53 + gem 'tether-rails' Gem bootstrap tether-rails Bootstrap JavaScript Tether Ctrl-C Ra
9 Bootstrap Font Awesome Bootstrap Font Awesome Simple- Greeter 9.1 Bootstrap CSS/JavaScript Bootstrap PC Web SimpleGreeter Bootstrap Bootstrap 4 Bootstrap 4 2017 1 Bootstrap 4 Gemfile Gemfile 49 gem 'spring-watcher-listen',
More information11 Bootstrap Font Awesome $ cd ~/projects/modest_greeter $ npm install --save jquery popper.js tether --save package.json depen
11 Bootstrap Font Awesome Bootstrap Font Awesome Modest- Greeter 11.1 Bootstrap Phoenix Bootstrap CSS/JavaScript Bootstrap PC Web ModestGreeter Bootstrap Bootstrap 4 Bootstrap 4 2017 11 Bootstrap4 87 11
More information16 NanoPlanner name PlanItem.changeset/2 > validate_required([:name]) name :name Ecto.Changeset validate_required/3 Ecto.Changeset "validate_"
16 NanoPlanner 16.1 13 name PlanItem.changeset/2 > validate_required([name]) name name Ecto.Changeset validate_required/3 Ecto.Changeset "validate_" 10 16.1 205 16 16.1 / ID validate_acceptance/3 true
More informationii
ii iii iv v vi 4 get "lesson/:action(/:name)" => "lesson" 5 6 resources :members 7 end Sato mac:rails taro$ cd asagao mac:asagao taro$ bin/rails s mac:asagao
More informationMicrosoft Word - Live Meeting Help.docx
131011 101919 161719 19191110191914 11191417 101919 1915101919 Microsoft Office Live Meeting 2007 191714191412 1913191919 12 151019121914 19151819171912 17191012151911 17181219 1610121914 19121117 12191517
More informationWDI-Slides-14.pptx
WEB+DB システム ( 入門編 ) 第 14 回 My Twitter サイトの制作 今日のテーマ p 前回制作した My Twitter をさらに拡充させて 形にしてみます p 新しい構造の実装として 自己参照結合による多対多の構造を実装してみます コミュニケーション ( 再掲 ) フォロー情報の登録を考えてみます 後期に 一連の技術的な発展系も考えてみて 本格的な つぶやき コミュニケーション構造を作ってみたいと思います
More information3 top#index 1 web router.ex web/router.ex 12 scope "/", NanoPlanner do 13 pipe_through browser get "/", TopController, index 16 end URL / to
3 NanoPlanner SASS Bootstrap Font Awesome 3.1 RAVT 6 RAVT route action view template Phoenix top index top index top#index RAVT URL / top#index top#index top 23 3 top#index 1 web router.ex web/router.ex
More information9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile
9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile $ cp -f ~/.bash_profile ~/.bash_profile.bak ~/.bash_profile
More informationKyosuke MOROHASHI
Practical Meta Programming on Rails Application @2013-12-17 Ruby 1 in MOROHASHI Kyosuke (@moro) Kyosuke MOROHASHI Aga toolbox Ruby " " Ruby http://www.amazon.co.jp/exec/obidos/asin/4048687158/morodiary05-22/ref=noism
More informationデータを TreeView コントロールで表示 VisualStudio2017 の Web サイトプロジェクトで bootstrap, 及び script フォルダの js ファイルが使用できるマスターページを親とする TestTreeView.aspx ページを作成します 下記の html コー
データを TreeView コントロールで表示 VisualStudio2017 の Web サイトプロジェクトで bootstrap, 及び script フォルダの js ファイルが使用できるマスターページを親とする TestTreeView.aspx ページを作成します 下記の html コードのスタイルを作成します html コード 1
More informationWDA-Slides-06.pptx
WEB+DB システム ( 応用編 ) 第 6 回 (2016 年 10 月 27 日 ) Main Controller の構造とメニュー分岐 及びテスト Web プログラミングの基本は? p 1: ブラウザに HTML で画面を表示する p 2: ブラウザからのリクエストを受け取る p 3: パラメータを処理して リスポンスを返す p この 1 3 に視点を置いたプログラムの読み方 n 画面上のどこに何を表示し
More informationWDA-Slides-07.pptx
WEB+DB システム ( 応用編 ) 第 7 回 (2016 年 11 月 10 日 ) ショッピング サイトの制作 (1/3) 設計 制作の基本方針 作った部分が目に見えて 試しながら ( ある程度 達成感を感じながら ) 進める ( 実際の仕事であっても 全く見えないと疲労が倍加する ) 動作検証 を組み込みながら コーディングの前に仕様を書く (Rspec を [ できる範囲で ] 実践的に導入する
More information2013-12-17.key
! 13.3% 10% x! Web! Web! Web! Web! Web! Web! Web! Web! Web! SaaS SaaS SaaS require 'active_support/deprecation'! ActiveSupport::Deprecation.silenced = true
More informationvuejs_meetup.key
Rails Vue.js Vue.js Meetup 2015-01-28 @kazupon About Me @kazupon CUUSOO SYSTEM Vue.js Plugin vue-i18n: https://github.com/kazupon/vue-i18n vue-validator: https://github.com/kazupon/vue-validator Vue.js
More information利用者
Regional SNS 開発環境構築ガイド 2012 年 2 月 29 日 株式会社ネットワーク応用通信研究所 目次 1. はじめに... 1 2. 前提条件... 1 3. 必要なソフトウェア構成... 1 4. ソフトウェアの導入手順... 1 4.1. 必要ファイルのダウンロード... 1 4.2. 環境設定コマンドの実行... 2 4.3. RegionalSNS の実行... 2 4.4.
More informationソフトウェアエンジニアリング - バグ #7
ソフトウェアエンジニアリング - バグ #7 Redmine の Wiki 記法で thumbnail マクロを使うと 使用した添付ファイル画像のリンクが壊れる 2014/03/12 22:47 - 高橋徹 ステータス : フィードバック開始日 : 2014/03/12 優先度 : 通常期日 : 担当者 : 進捗率 : 50% カテゴリ : 予定工数 : 0.00 時間 対象バージョン : 作業時間
More informationWDI-Slides-11.pptx
WEB+DB システム ( 入門編 ) 第 11 回 (2016 年 6 月 23 日 ) My Twitter サイトの制作 今日のテーマ p 一気に My Twitter サイトを作ってみる p プロジェクトの生成からの作業を総復習する p その際に ログイン認証を行い ユーザの登録を組み合わせる p ログイン認証には devise を用いる プロジェクト名を決める 名前なので 何でも構いませんが
More information橡点検記録(集約).PDF
942.8.8.8.7 671 86 11 1 9 9 9 1 1,792 7,23 2,483 1,324 2,198 7,23 82 7,23 6,327 9,22 9,713 8,525 8,554 9,22. 8,554. 1,79 9,713 95 947 8,525.. 944 671 81 7 17 1,29 1,225 1,241 1,25 1,375 9.3 23,264 25,
More informationChapter 1 イントロダクション p.21 第 2 段落 p.42 第 2 段落の 1 行目 p.45 Hint 美しいコードが書けるから Rails を選んだ美しいコードが書けるから Ruby を選んだフォルダ main app controllers を開いてみましょう フォルダ app
基礎 Ruby on Rails 初版第 2 刷表 基礎 Ruby on Rails ( 黒田努 佐藤和人著 株式会社オイアクス監修 インプレスジャパン刊 ) 初版第 2 刷 の表です 特に重要な項目には 印を付しました また 付録 CD-ROM において chapter3 ディレクトリの中身に一部欠落がございました このディレクトリ全体を ZIP 形式でまとめましたので 次の URL よりダウンロードしてください
More informationhaskell.gby
Haskell 1 2 3 Haskell ( ) 4 Haskell Lisper 5 Haskell = Haskell 6 Haskell Haskell... 7 qsort [8,2,5,1] [1,2,5,8] "Hello, " ++ "world!" "Hello, world!" 1 + 2 div 8 2 (+) 1 2 8 div 2 3 4 map even [1,2,3,4]
More information1-4 int a; std::cin >> a; std::cout << "a = " << a << std::endl; C++( 1-4 ) stdio.h iostream iostream.h C++ include.h 1-4 scanf() std::cin >>
1 C++ 1.1 C C++ C++ C C C++ 1.1.1 C printf() scanf() C++ C hello world printf() 1-1 #include printf( "hello world\n" ); C++ 1-2 std::cout
More informationWDA-Slides-12.pptx
WEB+DB システム ( 応用編 ) 第 12 回 (2016 年 12 月 14 日 ) 人気投票サイトの制作 (1/3) 設計の基本方針 作った部分が目に見えて 試しながら ( ある程度 達成感を感じながら ) 進める ( 実際の仕事であっても 全く見えないと疲労が倍加する ) メッセージは 基本は英語として多国語化の一つの言語として日本語を入れて行く 画面の修飾は後回しにする (WEB Design
More informationCSSNiteLP51-s7-kubo.key
CSS Nite LP51 Reboot Dreamweaver Dreamweaver 10th .foo width: 980px margin: auto p margin: 1em 0 a color: #000 text-decoration: none .foo { width: 980px; margin: auto; p { margin: 1em 0; a { color:
More informationii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web 2014 3
Web 2.0 Web Web Web Web Web Web Web I II I ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web 2014 3 1. 1.1 Web... 1 1.1.1... 3 1.1.2... 3 1.1.3... 4 1.2... 4 I 2 5 2. HTMLCSS 2.1 HTML...
More informationuntitled
30 callcc yhara ( ( ) (1) callcc (2) callcc (3) callcc callcc Continuation callcc (1) (2) (3) (1) (2) (3) (4) class Foo def f p 1 callcc{ cc return cc} p 2 class Bar def initialize @cc = Foo.new.f def
More information『赤すぐ』『妊すぐ』<出産・育児トレンド調査2003>
79.9 1.6 UP 86.6% 7.0 UP 61.3% 12.7UP 18-24 3 66.6 3.0 UP 38.7 0.7 UP 14.8 1.9 UP 13.3 0.3UP 4 1 024 1.23 0.01down Topics 5 79.9 1.6UP 7.0 UP 12.7U 3.5 0.4 UP 3.4 0.4 UP 6 73.1% 5.7 UP 75.0% 71.2% 7 53.9%
More information2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails
2 Rails 2.1 DBMS PicoPlanner SimpleGreeter DBMS Ruby on Rails 3 PostgreSQL MySQL SQLite3 SQLite3 2.2 Web PicoPlanner pico planner 11 2 Rails pico planner camel case camel pico planner _ pico_planner snake
More information¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse
I Exercise on Programming I http://bit.ly/oitprog1 1, 2 of 14 ( RD S ) I 1, 2 of 14 1 / 44 Ruby Ruby ( RD S ) I 1, 2 of 14 2 / 44 7 5 9 2 9 3 3 2 6 5 1 3 2 5 6 4 7 8 4 5 2 7 9 6 4 7 1 3 ( RD S ) I 1, 2
More informationJavaScript の使い方
JavaScript Release10.5 JavaScript NXJ JavaScript JavaScript JavaScript 2 JavaScript JavaScript JavaScript NXJ JavaScript 1: JavaScript 2: JavaScript 3: JavaScript 4: 1 1: JavaScript JavaScript NXJ Static
More informationCSR報告書
2 3 4 6 7 8 9 10 11 12 13 14 18 19 20 22 23 24 25 26 27 2 3 4 5 6 Compliance 7 Internal Control & Information Security A Act P Plan C Check D Do 8 18 4 1 20 4 1 Management System 9 Management System 10
More informationRuby 2.3 のてざわり新機能と使いどころ Kunihiko Ito ESM 富山合同勉強会
Ruby 2.3 のてざわり新機能と使いどころ Kunihiko Ito ESM 富山合同勉強会 2016 2016-01-30 はじめまして p self p self 名前 : 伊藤邦彦出身 : 富山在住 : 東京所属 : ESM アジャイル事業部仕事 : [Rails, neo4j] @kunitoo @kunitoo From Java To Ruby 変わったこと IDE を使わなくなった
More information4 $ alias elixirc="elixirc --ignore-module-conflict" warning redefining module User (current version loaded from Elixir.User.beam) user.ex1 User alias
4 NanoPlanner Elixir Elixir/Phoenix 14 4.1 Elixir ~/elixir-primer/v02/ch04 $ mkdir -p ~/elixir-primer/v02/ch04 $ cd ~/elixir-primer/v02/ch04 ~/elixir-primer/v02 35 4 $ alias elixirc="elixirc --ignore-module-conflict"
More information{:from => Java, :to => Ruby } Java Ruby KAKUTANI Shintaro; Eiwa System Management, Inc.; a strong Ruby proponent http://kakutani.com http://www.amazon.co.jp/o/asin/4873113202/kakutani-22 http://www.amazon.co.jp/o/asin/477413256x/kakutani-22
More informationSinatra と MongoDB 今回は Sinatra で MongoDB の操作を体験してみます 進捗に合わせて ドライバから Ruby で使える便利な ORM の紹介をします
Sinatra MongoDB Powered by Rabbit 2.1.2 and COZMIXNG Sinatra と MongoDB 今回は Sinatra で MongoDB の操作を体験してみます 進捗に合わせて ドライバから Ruby で使える便利な ORM の紹介をします Sinatra と MongoDB まずは初回なので Sinatra の基本からおさらいします Hello world
More informationPostgreSQLによる データベースサーバ構築技法
PostgreSQL PostgreSQL PostgreSQL (UCB) Unix/Linux/Windows LC2002 Copyright(C)2002 Tatsuo Ishii 1 PostgreSQL API C, C++, Java, Perl, Tcl/Tk, PHP, Ruby LC2002 Copyright(C)2002 Tatsuo Ishii 2 PostgreSQL (SQL)
More informationWorking Effectively with Legacy tdiary Code using Cucumber and RSpec KAKUTANI Shintaro; Eiwa System Management,Inc.; Nihon Ruby-no-kai pragprog.com Working Effectively with Legacy tdiary code using
More informationWPD2009_Plone3_theme-2.key
http://ciel-serein.jp/study/wpd2009/wpd2009_plone3_theme.pdf/view http://ciel-serein.jp/study/wpd2009/wpdj-theme.zip/view $~/Plone-3.1/zinstance/buildout.cfg [instance] debug-mode = on $cd ~/Plone-3.1/zinstance
More information43-03‘o’ì’¹‘®”q37†`51†i„¤‰ƒ…m†[…g†j.pwd
n 808 3.0 % 86.8 % 8.3 % n 24 4.1 % 54.0 % 37.5 % 0% % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % 0% 37.4 % 7.2 % 27.2 % 8.4 % n 648 13.6 % 18.1% 45.4 % 4.1% n 18 0% % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90
More informationWiki Wiki Wiki...
21 RDB Wiki 0830016 : : 2010 1 29 1 1 5 1.1........................................... 5 1.2 Wiki...................................... 7 1.2.1 Wiki.................... 7 1.2.2 Wiki.................. 8
More information…l…b…g…‘†[…N…v…“…O…›…~…fi…OfiÁŸ_
13 : Web : RDB (MySQL ) DB (memcached ) 1: MySQL ( ) 2: : /, 3: : Google, 1 / 23 testmysql.rb: mysql ruby testmem.rb: memcached ruby 2 / 23 ? Web / 3 ( ) Web s ( ) MySQL PostgreSQL SQLite MariaDB (MySQL
More informationJava (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow
Java (5) 1 Lesson 3: 2008-05-20 2 x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java 1.1 10 10 0 1.0 2.0, 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flowrate.dat" 10 8 6 4 2 0 0 5 10 15 20 25 time (s) 1 1
More informationMicrosoft PowerPoint - ruby_instruction.ppt
Ruby 入門 流れ Ruby の文法 画面に出力 キーボードから入力 数値 文字列 変数 配列 ハッシュ 制御構造 ( 分岐 繰り返しなど ) if while case for each 関数 クラス Ruby とは プログラミング言語 インタプリタ言語 オブジェクト指向 国産 ウェブアプリケーションフレームワーク RubyOnRails で注目 弊社での Web アプリケーション開発に利用 画面に出力
More informationCSSNite-LP54-kubo-ito.key
div { div { width: ; div { width: 100%; div { width: 100%; div { width: 100%!important; a { color: #000!important; .box { padding: 20px; border: 4px solid #666; h1 { color:
More information( ( ( )
Cubby Web BABA Yasuyuki ( ( ( http://www.nulab.co.jp ) Cubby Cubby Maven2 Cubby Java Web 0.9.2 1.0 seasar.org sandbox Cubby = Cubby http://cubby.sandbox.seasar.org/ HTTP HTTP URL Seasar2
More information_IMv2.key
飯島基 文 customb2b@me.com $ ssh ladmin@im.example.com $ cd /Library/Server/Web/Data/Sites/Default/ $ git clone https://github.com/msyk/inter-mediator.git
More information基礎 Ruby on Rails 初版第 1 刷正誤表 基礎 Ruby on Rails ( 黒田努 佐藤和人著 株式会社オイアクス監修 インプレスジャパン刊 ) 初版第 1 刷 の正誤表です 特に重要な項目には 印を付しました また 付録 CD-ROM において chapter3 ディレクトリの中
基礎 Ruby on Rails 初版第 1 刷表 基礎 Ruby on Rails ( 黒田努 佐藤和人著 株式会社オイアクス監修 インプレスジャパン刊 ) 初版第 1 刷 の表です 特に重要な項目には 印を付しました また 付録 CD-ROM において chapter3 ディレクトリの中身に一部欠落がございました このディレクトリ全体を ZIP 形式でまとめましたので 次の URL よりダウンロードしてください
More informationVB.NETコーディング標準
(C) Copyright 2002 Java ( ) VB.NET C# AS-IS extremeprogramming-jp@objectclub.esm.co.jp bata@gold.ocn.ne.jp Copyright (c) 2000,2001 Eiwa System Management, Inc. Object Club Kenji Hiranabe02/09/26 Copyright
More information$ sudo apt-get install libavahi-compat-libdnssd-dev $ sudo apt-get autoremove nodejs $ wget http://nodejs.org/dist/latest/node-v7.6.0-linux-armv7l.tar.gz $ tar xzf node-v7.6.0-linux-armv7l.tar.gz $ sudo
More informationohp1.dvi
2008 1 2008.10.10 1 ( 2 ) ( ) ( ) 1 2 1.5 3 2 ( ) 50:50 Ruby ( ) Ruby http://www.ruby-lang.org/ja/ Windows Windows 3 Web Web http://lecture.ecc.u-tokyo.ac.jp/~kuno/is08/ / ( / ) / @@@ ( 3 ) @@@ :!! ( )
More informationprogate-team-20160511
2016.05 Progate Progate Team 2 Index 1. Progate 2. Progate Team 3. Progate 3 Index 1. Progate 2. Progate Team 3. Progate Progate 4 VISION Progate 5 Progate Progate 1 6 STEP 1 2 7 STEP 2 1 8 HTML&CSS WEB
More informationdouble 2 std::cin, std::cout 1.2 C fopen() fclose() C++ std::fstream 1-3 #include <fstream> std::fstream fout; int a = 123; fout.open( "data.t
C++ 1 C C++ C++ C C C++ 1.1 C printf() scanf() C++ C 1-1 #include int a; scanf( "%d", &a ); printf( "a = %d\n", a ); C++ 1-2 int a; std::cin >> a; std::cout
More information要素にフォーカスが当たったときは 例えば以下のように記述する input:focus{} 疑似要素 p:first-lin{ } 一行目だけ p:first-letter{} 最初の文字だけ要素の前や後に付け加えるには 以下のように記述する p:before{content:" 記号や文字 ";}
css とは web ページを構築する上で 主に見た目にかかわる部分を記述するものである 記述方法は html の に直接書く方法 のタグに一つ一つ書く方法と 別の ファイルとして書いておく方法がある 1つ目の方法は タグを に記述して起き その中に css で記述する 2つ目の方法は 例えば
More informationnetcdf
1. Anetcdf.rb netcdf C ruby open new create NetCDF C filename String NetCDF NetCDF_open mode r r, w share false true or false open open netcdf filename String NetCDF NetCDF_create noclobber false true
More information平成20年度内部評価実施結果報告書《本編》
10 11 12 13 14 15 16 17 Plan Do Check Action 1 2 3 4 146 13 20 43 44 45 62 104 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
More informationuntitled
1 1 2 3 2 1 ( 0) 2000 00 3 4 Check Action Do Plan 5 6 14001 5000 5000 1000 1000 7 8 9 10 2004 0.1 0.1 0.0 0.0 0.0 15.3 483.5 0.4 11 12 13 14 http://kankyou.pref.shizuoka.jp/seikan/seikanindex.htm 15 16
More information技術流出防止指針公表用.PDF
15 3 1 4 .. 2 2.. 4. 6.10 10.14.16.19.24.26.28 1 2 1 2002 7 3 2002 3 4 2 3 5 4 4 6 7 8 5 5 9 plan (do) (check) (act) 1) 2) 3) 4) 5) 6) 7) 10 11 12 13 14 15 16 17 18 6 6 19 / / 20 21 22 7 23 8 24 25 26
More information2016年度OSS【Open技術分科会】第3回OSS勉強会
2016 年度 OSS Open 技術分科会 第 3 回 OSS 勉強会 AngularJS(WEB) と Node.js( サーバサイド RPG) との連携 2016 年 12 月 9 日 ソリューション ラボ 横浜川島光雄 目次 分科会活紹介 メンバー 分科会活動体制 活動目標 活動状況 AngularJS(WEB) とNode.js( サーバサイド RPG) との連携 分科会活動方針 IBM
More informationportfolioweb用
Nami Shimizu Design Works PORTFOLIO From DTP design to WEB design PROFILE Sorry!! Not be published Direct Mail Design Flyer Design Ai Ps Ai Ps Direction & Copy Writing Novelty item Design Ai Ai Name Card
More informationtkk0408nari
SQLStatement Class Sql Database SQL Structured Query Language( ) ISO JIS http://www.techscore.com/tech/sql/02_02.html Database sql Perl Java SQL ( ) create table tu_data ( id integer not null, -- id aid
More information001 No.3/12 1 1 2 3 4 5 6 4 8 13 27 33 39 001 No.3/12 4 001 No.3/12 5 001 No.3/12 6 001 No.3/12 7 001 8 No.3/12 001 No.3/12 9 001 10 No.3/12 001 No.3/12 11 Index 1 2 3 14 18 21 001 No.3/12 14 001 No.3/12
More informationPowerPoint Presentation
UML 2004 7 9 10 ... OOP UML 10 Copyright 2004 Akira HIRASAWA all rights reserved. 2 1. 2. 3. 4. UML 5. Copyright 2004 Akira HIRASAWA all rights reserved. 3 1..... Copyright 2004 Akira HIRASAWA all rights
More information地域と文化資産
11 2005 1980 151 20 65 1 6 37 7 A D E F G H - 2 - 2005 8 6 10:00 10:30 2-432 A D 7 E 8 1-F 1-G - 3 - 2005 H 1970 2005 8 26-4 - A B D E F G H 3 7 8 1 5 6 1 10-5 - 2005 10 1 5 6 1 1 30 2 3 5 3 2 1 2005 8
More information1 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 http://www.moj.go.jp/press/090130-1.html 55 56 57
More information-2-
-1- -2- -3- -4- -5- -6- -7- -8- 10-9- -10-1 2 -11-1 1-12- -13- -14- Plan Do Check Action Check Action 1 -15- -16- -17- -18- -19- -20- -21- -22- 10 2 9 3 9 2 1 10 2 9 3 6 4 1 6 6 10 2 10 2 11 1 8 1 8 4
More information-1 - -2 - -3 - -4-2000 -5 - -6 - -7 - -8 - -9 - - 10 - -11-60 200 2,000 1980 24-12 - - 13 - - 14 - - 15 - - 16 - - 17 - 1998 '98 593'98.4. 604'99.3. 1998 '98.10.10 11 80 '98.11. 81'99.3. 49 '98.11. 50
More information_勉強会_丸山さつき_v3
CSS 2019/6/21 1 CSS CSS CSS!2 CSS Web!3 CSS HTML CSS CSS!4 CSS!5 !6 Id class id class CSS!7 !8 body 16px p 16px px, rem, em, %!9 !10 body 16px p 16px 1 CSS!11 !12 CSS CSS!13 CSS 4 CSS 1. OOCSS 2. SMACSS
More information