在Finder里面显示隐藏文件

在终端里输入下面命令即可让它们显示出来。
defaults write com.apple.finder AppleShowAllFiles -bool true
如果想恢复隐藏,可以用这个命令:
defaults write com.apple.finder AppleShowAllFiles -bool false

注意:
1、执行命令后需要重启 Finder 才能看到效果。
2、不要乱动不懂的隐藏文件,可能会损坏你的系统。

修改host以访问Google+

74.125.224.97 plus.google.com
74.125.224.105 plus.google.com
74.125.224.98 plus.google.com
74.125.224.104 plus.google.com
74.125.224.101 plus.google.com
74.125.224.109 plus.google.com
74.125.224.96 plus.google.com
74.125.224.106 plus.google.com
74.125.224.100 plus.google.com
74.125.224.110 plus.google.com
74.125.224.102 plus.google.com
74.125.224.107 plus.google.com
74.125.224.99 plus.google.com
74.125.224.108 plus.google.com
74.125.224.111 plus.google.com
74.125.224.103 plus.google.com
209.85.175.132 images1-focus-opensocial.googleusercontent.com
209.85.175.132 images2-focus-opensocia2.googleusercontent.com
209.85.175.132 s2.googleusercontent.com
209.85.143.132 lh1.googleusercontent.com
209.85.175.132 lh1.googleusercontent.com
209.85.143.132 lh2.googleusercontent.com
209.85.175.132 lh2.googleusercontent.com
209.85.143.132 lh3.googleusercontent.com
209.85.175.132 lh3.googleusercontent.com
209.85.175.132 lh4.googleusercontent.com
209.85.143.132 lh4.googleusercontent.com
209.85.143.132 lh5.googleusercontent.com
209.85.175.132 lh5.googleusercontent.com
209.85.143.132 lh6.googleusercontent.com
209.85.175.132 lh6.googleusercontent.com
203.208.46.29 picadaweb.google.com
203.208.46.29 lh1.ggpht.com
203.208.46.29 lh2.ggpht.com
203.208.46.29 lh3.ggpht.com
203.208.46.29 lh4.ggpht.com
203.208.46.29 lh5.ggpht.com
203.208.46.29 lh6.ggpht.com
203.208.46.29 lh6.googleusercontent.com
203.208.46.29 lh5.googleusercontent.com
203.208.46.29 lh4.googleusercontent.com
203.208.46.29 lh3.googleusercontent.com
203.208.46.29 lh2.googleusercontent.com
203.208.46.29 lh1.googleusercontent.com
203.208.46.29 plus.google.com
203.208.46.29 talkgadget.google.com

IE6/IE7/IE8不显示GIF/PNG图片解决办法

IE6/7/8无法显示GIF/PNG图片,出现这个原因是pngfilt.dll损坏。
先关闭所有浏览器,包括IE内核的浏览器,如360浏览器、TT浏览器。
解决方法为
1、“开始”菜单——“ 运行”,在打开处输入“regsvr32 pngfilt.dll”点“确定”。
一般来说第一步以后就可以咯,如果不行请继续后面的步骤。
Continue reading

WordPress Permalink 'No input filespecified'解决办法(Nginx)

最近用Wordpress设置固定连接(Permalink)以后,点击其他选项会出现’No input filespecified’。Google了一下,再综合上次WP后台自动升级的问题解决办法,终于也把这个问题修复好了。

下面是Nginx的VPS环境下解决办法:
原因1:和提示一样直白的文件不存在
原因2:路径或者权限的原因

重新设置了文件www用户组的权限,就可以访问后台了。

chown -vR www:www /folder