This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="control-group"> | |
<label class="control-label"><strong><?php echo __("label_template"); ?></strong></label> | |
<div class="controls"> | |
<div class="input-append" style="width: 80%;"> | |
<select id="template" style="width:100%;"> | |
<option value="0"></option> | |
<?php foreach ($templates as $key => $val): ?> | |
<option value="<?php echo $key; ?>"><?php echo $val; ?></option> | |
<?php endforeach; ?> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def:stage | |
(def:task 'Player1 'TaskA) | |
(def:task 'Player1 'TaskB) | |
(def:task 'Player2 'TaskC)) | |
(def:stage | |
(def:task 'Player1 'TaskA)) | |
(def:concurrent-stage | |
(def:task 'Player1 'TaskB) | |
(def:task 'Player2 'TaskC)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (def:game-scenario) | |
(def:rounds 10 | |
(def:stage 'ultimatum | |
(def:task 'P 'issue-ultimatum)) | |
(def:task 'R 'vote-yes-or-no) | |
(def:task 'divide-money))) | |
(define (issue-ultimatum ctx self) | |
(ui:request-input self:name | |
(ui:form "Rにいくらを分け与えますか?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<script src="https://www.google.com/jsapi"></script> | |
<script> | |
google.load('visualization', '1', {packages:['geochart']}); | |
google.setOnLoadCallback(graphChart); | |
function graphChart() { | |
var data = google.visualization.arrayToDataTable([['Country', 'Value'],['Dummy', 0]]); | |
var option = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"/> | |
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1"/> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script> | |
<script src="js/jlinq.js" ></script> | |
<script src="js/garbage-data-ja.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg>f.fn.jquery%7C%7Ch(f))%7Bc=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd=="loaded"%7C%7Cd=="complete"))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,"1.3.2",function($,L)%7B$('%23header, .pagehead, .breadcrumb, .commit, %23footer, %23footer-push, .wiki-actions, %23last-edit, .actions, .header, .repo-nav-contents, .file-navigation, .site-footer').remove(); $('%23files, .file').css(%7B"background":"none"%7D); $('link').removeAttr('media');$(".pagehead").remove();$(".discussion-timeline-actions").remove();$(".gist-content").css("width","100%");$(".gist-sidebar").remove();$(".meta").css("padding", "0");%7D); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
</head> | |
<body> | |
<h2>例2</h2> | |
<div>入力欄:<input type="text" id="input1" value="入力文字列"></div> | |
<div>出力欄:<input type="text" id="output1" value=""></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
</head> | |
<body> | |
<h2>例1</h2> | |
<p>以下のp要素に書かれたテキストを読み取ります.</p> | |
<p id="input_text">出力されるテキスト→<br>foobar<br>foobar</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.nkjmlab.pdf; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.List; | |
import org.apache.pdfbox.exceptions.COSVisitorException; | |
import org.apache.pdfbox.pdmodel.PDDocument; | |
import org.apache.pdfbox.pdmodel.PDPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isNumber(x){ | |
if(typeof(x) == 'number'){ | |
return true | |
} | |
if(typeof(x) == 'string' && x.match(/[^0-9]/g)){ | |
return false; | |
} | |
return (x == parseFloat(x) && isFinite(x)); | |
} |