發表文章

目前顯示的是 12月, 2014的文章

[ASP.net] 使用動態圖片 套 Colorbox 效果打開後亂碼

圖片
動態產生的圖,套用colorbox 會呈現一堆亂碼的樣子: 解決方式有兩種 1.由JS解決: $(document).ready(function(){ $(".group3").colorbox({ photo:true }); }); 2.動態產生圖要記得下ContentType Response.ContentType = "image/JPEG"

[Windows][Linux] 查詢連線數量(connections & sessions)

Linux: 看全部: netstat -aunt | wc -l 只看 TCP: netstat -ant | wc -l 只看 UDP: netstat -aut | wa -l Windows: 只看TCP: netstat -an | find "TCP" /c 只看UDP: netstat -an | find "UDP" /c