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
<?php | |
$a = "10a"; | |
$b = 10; | |
if($a == $b){ | |
print "true"; | |
} | |
else{ | |
print "false"; | |
} |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string> | |
#include <stdarg.h> | |
#include <vector> | |
bool g_verbose = false; | |
// 再帰呼び出し使わない版 | |
int Ack(int m_input, int n_input) |
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
// 描画先 | |
class Dst{ | |
int x; | |
int y; | |
}; | |
// セル位置 | |
class CellPos{ | |
int x; | |
int y; |
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
[kobake@centcarbon sodoneWeb]$ npm install webpay | |
npm WARN package.json [email protected] No repository field. | |
npm http GET https://registry.npmjs.org/webpay | |
npm http 304 https://registry.npmjs.org/webpay | |
npm http GET https://registry.npmjs.org/webpay/-/webpay-1.0.0.tgz | |
npm http 404 https://registry.npmjs.org/webpay/-/webpay-1.0.0.tgz | |
npm ERR! fetch failed https://registry.npmjs.org/webpay/-/webpay-1.0.0.tgz | |
npm ERR! Error: 404 Not Found | |
npm ERR! at WriteStream.<anonymous> (/usr/lib/node_modules/npm/lib/utils/fetch.js:57:12) | |
npm ERR! at WriteStream.EventEmitter.emit (events.js:117:20) |
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 src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\tests\sunspider-controlflow-recursive.html | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\tests\sunspider-date-format-xparb.html | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\dino1.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\clouds2.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\dino2.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\dino3.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\right.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\dino4.png | |
A src\third_party\WebKit\PerformanceTests\Dromaeo\resources\dromaeo\web\images\dino5.png |
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
// window配下の関数すべてにログ関数を仕込む | |
// ※仕込む必要ないやつは名前判定でスキップする | |
function watchFunctions(loggingFn) { | |
var name, fn; | |
for (name in window) { | |
fn = window[name]; | |
if (typeof fn === 'function') { | |
// ログ出力したくない関数をここでスキップ | |
if(name == 'setTimeout') continue; | |
if(name == 'clearTimeout') continue; |
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 IsWatchFunction(name){ | |
if(name == 'setTimeout') return false; | |
if(name == 'clearTimeout') return false; | |
if(name == 'DOMEvent') return false; | |
if(name == 'typeOf') return false; | |
if(name == 'instanceOf') return false; | |
if(name == 'getCallStack') return false; | |
if(name == 'logging') return false; | |
if(name == 'watchFunctions') return false; |
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 hex2(n){ | |
var ret = Number(n).toString(16); | |
if(ret.length < 2)ret = '0' + ret; | |
return ret; | |
} | |
function rgb(r,g,b){ | |
return '#' + hex2(r % 256) + hex2(g % 256) + hex2(b % 256); | |
} | |
var Ball = function(index){ | |
this.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
test |
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
javascript:(function(){/* style */var style = (function () {/*.toc{border: 1px solid #aaa;padding: 4px 12px;margin-bottom: 12px;position: relative;padding-top: 30px;}.toc-title{display: inline-block;width: auto;background-color: #ccc;position: absolute;left: 0px;top: 0px;font-size: 8pt;padding: 2px 4px;padding-right: 8px;color: #666;}.toc-h{font-size: 11pt;}.toc-h1{}.toc-h2{margin-left: 20px;}.toc-h3{margin-left: 40px;}*/}).toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1];$('.toc-style').remove();$('body').append($('<style class="toc-style">\n' + style + '\n</style>'));/* toc frame */$('.toc').remove();var $toc = $('<div class="toc"><div class="toc-title">TOC</div></div>');$toc.prependTo($('.markdown-body'));/* each links */$('.markdown-body h1, .markdown-body h2, .markdown-body h3').each(function(){/* level */var tagName = $(this).prop('tagName').toLowerCase();/* link div */var $div = $('<div class="toc-h toc-' + tagName + '"></div>');/* link */var $a = $('<a href=""></a>');$a.appendTo($div);$a.text($(this).text |