108件ヒット
[1-100件を表示]
(0.018秒)
キーワード
- cgi (12)
-
cgi
/ session (12) -
irb
/ output-method (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ markdown (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ package / tar _ output (12) -
rubygems
/ security (12) - timeout (12)
検索結果
先頭5件
-
irb
/ output-method (6001.0) -
irb が出力を扱うためのサブライブラリです。
irb が出力を扱うためのサブライブラリです。 -
rubygems
/ commands / outdated _ command (6001.0) -
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
...更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
Usage: gem outdated [options]
Options:
--platform PLATFORM 指定されたプラットフォームに関する情報を表示します
Local/Remote Options:
-l, --local... -
rubygems
/ package / tar _ output (6001.0) -
gem-format な tar ファイルを書き出す Gem::Package::TarWriter のラッ パークラスを提供するライブラリです。
gem-format な tar ファイルを書き出す Gem::Package::TarWriter のラッ
パークラスを提供するライブラリです。 -
timeout (6001.0)
-
タイムアウトを行うライブラリです。
タイムアウトを行うライブラリです。 -
cgi
/ session (37.0) -
CGI のセッション管理を行うライブラリ。
...CGI でこのセッション情報を取り出すときは、このようにします。
=== 使い方 (ヘッダ出力)
ヘッダ出力は CGI#out、CGI#header を使っている限り
通常通りで構いません。
cgi/session は内部的にクッキーを使用していますが、
これ......。
#!/usr/bin/ruby
require 'cgi'
require 'cgi/session'
cgi = CGI.new('html3')
File.umask(0077)
session = CGI::Session.new(cgi)
cgi.out('charset'=>'euc-jp') {
html = cgi.html {
cgi.head { cgi.title {'Form Demo'} }
cgi.body {
cgi.form('action'=>"#{CGI.escapeHTM......pty?
@header = { "type" => "text/html", "charset" => "euc-jp" }
__send__("cmd_#{@cmd}")
end
def cmd_start
@cgi.out(@header) {
<<-END
<html><head><title>CGI::Session Demo</title></head>
<body>
<form action="#{CGI.escapeHTML(ENV['S... -
cgi (19.0)
-
CGI プログラムの支援ライブラリです。
...ie in cgi.cookies
cookie.expires = Time.now + 30
end
cgi.out("cookie" => cgi.cookies){"string"}
cgi.cookies # { "name1" => cookie1, "name2" => cookie2, ... }
require "cgi"
cgi = CGI.new
cgi.cookies['name'].expires = Time.now + 30
cgi.out("cookie" => cgi.cookies['name']){"string"}
//}
==== ク......準出力に HTTP ヘッダと HTML を出力する
//emlist[][ruby]{
require "cgi"
cgi = CGI.new("html3") # HTML生成メソッドを追加
cgi.out() do
cgi.html() do
cgi.head{ cgi.title{"TITLE"} } +
cgi.body() do
cgi.form() do
cgi.textarea("get_text") +
cgi.br +... -
rubygems
/ security (13.0) -
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
...09 証明書の DER フォーマットです) :
$ openssl x509 -in input.pem -outform der -out output.der
人間に読みやすいフォーマットで証明書を出力する :
$ openssl x509 -in input.pem -noout -text
秘密鍵に対しても同じことができます。
PEM フォー......マットの RSA 鍵を DER フォーマットに変換します :
$ openssl rsa -in input_key.pem -outform der -out output_key.der
鍵を人間に読みやすいフォーマットで出力します :
$ openssl rsa -in input_key.pem -noout -text... -
rdoc
/ generator / json _ index (7.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...o any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to......otice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND......NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.... -
rdoc
/ markdown (7.0) -
Markdown 形式で記述されたドキュメントを rdoc 上で解析するための サブライブラリです。
...to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to p......otice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND......HORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
kpeg への移植は Eric Hodel と Evan Phoenix によっ...