haricomblr

Oct 04 2009
class HogeHelper extends AppHelper { var $view = null; function __construct() { parent::__construct(); $this->view =& ClassRegistry::getObject(‘view’); }
}
Comments (View)
+
$(document).ready(function(){
   $(“.hiddenOnLoad”).hide();
   $(“#viewByOrg, #viewByProduct”).bind(($.browser.msie ? “click” : “change”), function () {
                        $(“.visibleOnLoad”).show();
                        $(“.hiddenOnLoad”).hide();
                    });
});
Comments (View)
Sep 05 2009

"Prowl this" bookmarklet

Send link to iPhone

javascript:function%20prowlThis(){ var%20d=document,s=d.createElement('script'),b=d.body; try{ s.setAttribute('src','https://prowl.weks.net/publicapi/add?apikey=あなたのAPIキー&application=適当な名前&event='+encodeURIComponent(d.location.href)); b.appendChild(s); }catch(e){ alert('Faild.'); } } prowlThis(); void(0)
Send text to iPhone
javascript:function%20sendMessage(){%20m=window.prompt("Prowl message","");if(m!=''){var%20d=document,s=d.createElement('script'),b=d.body;%20 try{ %20s.setAttribute('src','https://prowl.weks.net/publicapi/add?apikey=あなたのAPIキー&application=適当な名前&event='+encodeURIComponent(m)); %20b.appendChild(s);%20 }catch(e){%20 alert('Faild.');%20 }};}%20sendMessage();%20void(0)

Comments (View)
Sep 03 2009
Comments (View)
Sep 01 2009

cakePHP formHelperのdivが要らない時

$form->input('Model.name', array (type=>'text', 'div'=>false));

Comments (View)
Aug 25 2009
enctypeがmultipart/form-data の場合、
Ezwebは文字化けした文字列を受け取る
Comments (View)
Aug 06 2009
Spotlightは、BOM*1がないUTF-8のテキストファイルを索引に含まれる対象とはしていません。*2 逆を言えば、BOMがある場合、UTF-8のファイルであっても、きちんと索引に組み込まれます。
Comments (View)
Aug 04 2009
Comments (View)
+
Comments (View)
Jul 29 2009

Music Painting by JUL & MAT on Vimeo (via Vimeo)

Comments (View)
Page 1 of 15