accepted
- 髙木
- 田部井
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Opal Sample</title> | |
<script src="http://cdn.opalrb.org/opal/current/opal.min.js"></script> | |
<script src="http://cdn.opalrb.org/opal/current/opal-parser.min.js"></script> | |
</head> | |
<body> | |
<script type="text/ruby"> |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Font Awesome Samples</title> | |
<link href='http://fonts.googleapis.com/css?family=Crete+Round' rel='stylesheet' type='text/css'> | |
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> | |
<style type="text/css"> | |
body { | |
font-family: Crete Round, Arial, serif; |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Font Awesome Samples</title> | |
<link href='http://fonts.googleapis.com/css?family=Crete+Round' rel='stylesheet' type='text/css'> | |
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | |
<style type="text/css"> | |
body { | |
font-family: Crete Round, Arial, serif; |
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Line Chart Test</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.min.js"></script> | |
<script language="JavaScript"><!-- | |
function displayLineChart() { | |
var data = { | |
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], |
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Qiita:Team / esa / DocBase の比較</title> | |
<style> | |
#legend { | |
padding: 10px; | |
overflow: hidden; | |
position: relative; |
str = <<-EOS | |
abc hoge abc | |
abc hige abc | |
abc hage abc | |
EOS | |
str.match(/(.*)(hoge)(.*)(hige)(.*)(hage)/m) | |
print "$1= #{$1}", "\n" | |
print "$2= #{$2}", "\n" |
# encoding: utf-8 | |
module ParameterizedTable | |
def cases(case_table) | |
@cases = [] | |
keys = get_keys(case_table.split("\n").first) | |
case_table.split("\n")[1..-1].each_with_index do |line, line_index| | |
words = get_values(keys, line) | |
words[:case_no] = line_index + 1 | |
@cases << words | |
end |