Categories
Programming/javascript Programming/misc

Google Analytics : 自定特殊統計 tag sample

https://developers.google.com/analytics/devguides/collection/analyticsjs/events   <script> ……. ga(‘create’, ‘UA-xxxxxxxx-1’, ‘xxxx.com’); ga(‘send’, ‘pageview’); ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘xxx’); ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘yyy’); ga(‘send’, ‘event’, ‘小計瀏覽數’, ‘zzz’); </script>  

Categories
JOB Programming/javascript Programming/php Software

HTML5 畫統計圖的 library RGraph

URL : http://www.rgraph.net/index.html

Categories
Copy_N_Paste Programming/C Programming/javascript Programming/misc Programming/php Software System/Linux/Unix*

編程最佳的字型 consolas / notepad++ 及 winscp 設定 / Best programming fonts

http://www.sitepoint.com/blogs/2009/05/01/top-10-programming-fonts/

Categories
Copy_N_Paste JOB Programming/javascript

Protected: 程式開發 的 Application Layout — Javascript 建立物件的方法

There is no excerpt because this is a protected post.

Categories
FUN Programming/javascript Programming/misc Programming/php Software

50 好看好用的 icon

這個讚! 寫程式的都缺這東西 http://speckyboy.com/2009/02/02/50-of-the-best-ever-web-development-design-and-application-icon-sets/ 感謝ㄚ毛

Categories
Programming/javascript Programming/php Software System/Linux/Unix*

Hypertext Transfer Protocol — HTTP/1.1 – 這可是現今最偉大的 protocol 呀!

The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. It is a generic, stateless, protocol which can be used for many tasks beyond its use for hypertext, such as name servers and distributed object management systems, through extension of its request methods, error codes and headers http://tools.ietf.org/html/rfc2616 Status Code […]

Categories
Copy_N_Paste DATABASE JOB Programming/javascript Programming/misc Programming/php Software System/Linux/Unix*

PHP Coding Standards

參考: Mantis : http://www.mantisbt.org/guidelines.php 中文翻譯: http://www.ichiayi.com/wikipage/tech/mantis_coding First, start off by reading the PHP Coding Standards document. I’ve deviated in a few places but just about everything in the document applies here as well. Above all, write code that is easy to read and maintain. Comment blocks of code and functions at all times. And get […]

Categories
Copy_N_Paste Programming/javascript

[note] javascript 的 foreach / split / php explode style 寫法

var loc=”25.258861, 121.509389″; var arr=loc.split(“,”); var content = ”; for (var key in arr) { content += key + ‘ : ‘ + arr[key] + “\n”; } 另一個 var myarr = new Array(‘red’,’green’,’blue’); var content=”; for(var key in myarr){ content += key+’ : ‘+myarr[key]+”\n”; } alert( content );

Categories
Programming/javascript

[摘] Javascript MIME type / Apache 的 javascript default MIME type 跟 official MIME type of javascript 設得不一樣

http://jsgears.com/thread-158-1-1.html org: http://annevankesteren.nl/2005/02/javascript-mime-type Google 有部份 .js 從 server 端送出時是給 text/javascript

Categories
Copy_N_Paste FUN Programming/javascript

Blog 裡飄雪的效果

把這行加到網頁中就好囉 http://s1.wordpress.com/wp-content/plugins/snow/snowstorm.js