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
In[1]:= Map[f, {a, b, c, d, e}] | |
Out[1]= {f[a], f[b], f[c], f[d], f[e]} |
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
In[1]:= ExportString[12345, "Real32"] | |
Out[1]= ä@F |
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
sound[{SoundNote[7], SoundNote[7], SoundNote[7], SoundNote[3, 4]}, 1.5] |
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
highlightTable[tbl_, crit_, color_: Red] := | |
Grid[tbl] /. {n_?crit -> Item[n, Background -> color]} |
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
$ yarn | |
yarn install v0.17.8 | |
info No lockfile found. | |
[1/4] 🔍 Resolving packages... | |
warning [email protected]: Babel's CLI commands have been moved from the babel package to the babel-cli package | |
warning debowerify > bower > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
warning browser-sync > resp-modifier > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
warning debowerify > bower > bower-config > [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. | |
warning debowerify > bower > insight > [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 | |
warning debowerify > bower > request > [email protected]: use uuid module instead |
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
[ | |
"a", | |
"abbr", | |
"address", | |
"area", | |
"article", | |
"aside", | |
"audio", | |
"b", | |
"base", |
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><title>Hello, world!</title><style>head,title{display:block} |
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
var x, y; | |
var tbl = new Array(3); | |
for(y = 0; y < 3; y++) { | |
tbl[y] = new Array(3); | |
for(x = 0; x < 3; x++) { | |
tbl[y][x] = 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS share button</title> | |
<meta property="og:title" content="XHTML like"> | |
<meta property="og:type" content="website"> | |
<meta property="og:url" content="http://example.com/"> |
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 isPrime(n) { | |
var ret = true; | |
for(let i = 2; i < n - 1; i++) { | |
if(isMultiple(n, i)) { | |
ret = false; | |
} | |
} | |
return ret; | |
} |