This file contains hidden or 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></head> | |
<body> | |
<div class="elm-1" lang="en"> | |
<p>Thanks, world!</p> | |
</div> | |
<div class="elm-2" lang="ja"> | |
<p>ありがとう世界!</p> | |
</div> |
This file contains hidden or 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
httpData: function( r, type ) { | |
var ct = r.getResponseHeader("content-type"); | |
var xml = type == "xml" || !type && ct && ct.indexOf("xml") >= 0; | |
var data = xml ? r.responseXML : r.responseText; | |
if ( xml && data.documentElement.tagName == "parsererror" ) | |
throw "parsererror"; | |
// If the type is "script", eval it in global context | |
if ( type == "script" ) |
This file contains hidden or 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 ramp(x) { | |
return (x < 0) ? 0 : x; | |
} |
This file contains hidden or 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
body { | |
background-color: #fff; | |
} | |
input[type="checkbox"], | |
input[type="radio"] { | |
position: absolute; | |
width: 0; | |
height: 0; | |
top: 0; |
This file contains hidden or 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
mathEval("pow(2, 10), alert('あぶない!')")(); |
This file contains hidden or 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
Sin[Pi/4] |
This file contains hidden or 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
MandelbrotSetPlot[] |
This file contains hidden or 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
listPts = Table[{Cos[a Pi], Sin[a Pi]}, {a, 0, 4, 4/5}] | |
ListLinePlot[listPts, AspectRatio -> Automatic] |
This file contains hidden or 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
(-1)^Range[0, 4, 4/5] | |
ListPlot[{Re[#], Im[#]} & /@ %, Joined -> True, AspectRatio -> Automatic] |
This file contains hidden or 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
Array(100) |