2

[Linux笔记] Apache 常用优化 .htaccess 规则

DEFLATE压缩html|css|xml|js等网页文件:

AddOutputFilterByType DEFLATE text/plain  
AddOutputFilterByType DEFLATE text/html  
AddOutputFilterByType DEFLATE text/xml  
AddOutputFilterByType DEFLATE text/css  
AddOutputFilterByType DEFLATE application/xml  
AddOutputFilterByType DEFLATE application/xhtml+xml  
AddOutputFilterByType DEFLATE application/rss+xml  
AddOutputFilterByType DEFLATE application/javascript  
AddOutputFilterByType DEFLATE application/x-javascript

Continue Reading

8

拆解且修复一个山寨USB-HUB

USB-HUB-零散

手头上有一个山寨USB-HUB,常常发神经 :koubi: ,就打算才开来看看、修修。左图是拆得零碎后的照片。 :ciya:

 

如今山寨泛滥,做工都很烂 :koubi: 。但是毕竟是买回来的弃之可惜 :biezui: ,手痒就修修看。发挥一下余热,顺便练练手工,久了不拿烙铁手会生疏啊 :fendou: 。一定要时不时找些东西折腾一下才行。

Continue Reading