Crystalに関する意見や質問、議論などを 日本語 で行なえる場を提供する。
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
console.log((arguments.callee+'').replace(/^.+?{ |\s+}$/g,'')) |
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 s = ";\nconsole.log('var s = ' + JSON.stringify(s) + s);\nconsole.log(s);"; | |
s = 'var s = ' + JSON.stringify(s) + s; | |
console.log(s); |
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
[["あ",[0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1 |
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
# | |
# _ | |
# o | | | |
# , | | _ _ _ __, _|_ , | |
# | / \_|/ |/ / |/ | / | | | | / \_ | |
# |_/ \/ |__/|__/ | |_/\_/|_/ \_/|_/|_/ \/ | |
# | |
# $ dconf write /org/pantheon/terminal/settings/palette (ruby pantheon-terminal-color.rb ./islenauts/palette.toml) | |
palette = File.read(ARGV[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> | |
<head> | |
<meta charset="utf-8"> | |
<title>線密度イコライゼーション</title> | |
</head> | |
<body> | |
<h1>equalization</h2> | |
<section> |
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
#!/bin/bash | |
set -e | |
rm -rf ./.crystal ./.build | |
git checkout master | |
echo "1st Build" | |
./bin/crystal --version | |
make release=1 |
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 X(x, y) { | |
this.x = x; | |
this.y = y; | |
if (process.env.BIND) { | |
this.n = this.n.bind(this); | |
} | |
} | |
X.prototype.n = function n() { |
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
eval(s=` | |
C=(s,u)=>{ | |
p={}; | |
for(j=2;j<=s.length/2;j++) | |
with(s) | |
for(k=0,q=p[r=slice(0,j)]=[];k=indexOf(r,j+k),~k;) | |
q.push(k); | |
r=(k=Object.keys(p))[(d=k.map(r=>(r.length-1)*(p[r].length-1)-1)).indexOf(v=Math.max.apply(1,d))]; | |
if(v<3)return{t:s,c:''}; | |
for(j=126;u.has(c=String.fromCharCode(j));j--); |
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
// this example dosen't work. | |
{foo, bar} = {foo: 1, bar: 2} | |
// $ babel-node object-destructuring-starts-a-line.js | |
// SyntaxError: object-destructuring-starts-a-line.js: Unexpected token (1:11) | |
// > 1 | {foo, bar} = {foo: 1, bar: 2} | |
// | ^ |