{"id":221,"date":"2008-12-27T20:07:00","date_gmt":"2008-12-27T20:07:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=221"},"modified":"2008-12-27T20:07:00","modified_gmt":"2008-12-27T20:07:00","slug":"first-snippet-customization-in-textmate","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=221","title":{"rendered":"First snippet customization in TextMate"},"content":{"rendered":"<p>After reading the manual and view the bundle, customization is quite powerful in TextMate. This class declaration should be trigger by typing &#8220;class&#8221;, then press Tab key. It automatically your full name using finger\/whoami and set the date. Pretty neat eh!<\/p>\n<p><textarea name=\"code\" class=\"php\"><br \/>\n\/**<br \/>\n * ${4:Description}<br \/>\n * @package ${5:default}<br \/>\n * @version \\$Id\\$<br \/>\n * @since `date`<br \/>\n * @author ${PHPDOC_AUTHOR:`whoami|finger -l|grep Name|cut -d: -f3`}<br \/>\n **\/<br \/>\nclass ${1:ClassName}${2: extends ${3:ParentClass}} {<br \/>\n    function ${6:__construct} () {<br \/>\n        $0<br \/>\n    }<br \/>\n}<br \/>\n<\/textarea><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After reading the manual and view the bundle, customization is quite powerful in TextMate. This class declaration should be trigger by typing &#8220;class&#8221;, then press Tab key. It automatically your full name using finger\/whoami and set the date. Pretty neat eh! \/** * ${4:Description} * @package ${5:default} * @version \\$Id\\$ * @since `date` * @author [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,26],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/221"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}