- Mouse Dictionary
- preview
- local file
ファイル名の一括置換に mac の homebrew で入る renaem コマンドを使用しているが、他の方法でも良い
| <?php | |
| // フロントコントローラとかに仕込む | |
| xhprof_enable(); | |
| // 処理 | |
| $xhprof_data = xhprof_disable(); |
| <?php | |
| $startTime = microtime(true); | |
| // 処理 | |
| //for ($i = 0; $i < 10000; ++$i) | |
| //{ | |
| //} | |
| echo PHP_EOL . PHP_EOL; | |
| echo '>>> result >>>>>>>>>>>>>>>>>>>>>>>>>>>' . PHP_EOL; | |
| echo "process time: " . (microtime(true) - $startTime) . ' ms' . PHP_EOL; |
| javascript:(function(){javascript:(function(){var src_url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js';var notice_style ='position:fixed;'+'z-index:10000;'+'top:0;'+'left:0;'+'background-color:red;'+'color:white;'+'padding:10px;'+'margin:10px;'+'font:bold 16px sun-serif;';var s=document.createElement('script');s.setAttribute('src',src_url);document.getElementsByTagName('body')[0].appendChild(s);var id = window.setInterval(function(){if (window['jQuery'] &&window['jQuery']['fn'] &&window['jQuery']['fn']['offset']){window.clearInterval(id);$('<div style=\''+notice_style+'\'><p>jQuery '+ jQuery.fn.jquery+' Loaded!<p></div>').appendTo('body').animate({opacity:1},2000).animate({opacity:'hide'},500,function(){jQuery(this).remove();});}},100);})();})(); |
| javascript:(function(){var str=prompt('テスト文字列を入力して下さい。',"<script>alert('XSS');</script>");if(str!=""&&str!=null){var text=document.getElementsByTagName("input");for(var i=0,l=text.length;i<l;i++){if(text[i].type=='text'){text[i].value=str}}var textarea=document.getElementsByTagName("textarea");for(var i=0,l=textarea.length;i<l;i++){textarea[i].value=str}}}()) |
| casper = require('casper').create | |
| verbose: true | |
| logLevel: "debug" | |
| clientScripts: ["../lib/jquery-1.7.1.min.js"] | |
| pageSettings: [loadImages:false] | |
| onError: -> | |
| @echo arguments | |
| #for i in [1..6] |