解决Mac 10.10 下 SecureCRT崩溃(Crashed)报错

更新到最新的mac10.10之后,打开SecureCRT直接报错.
解决方法:

sudo s
cd /System/Library/Frameworks/Python.framework/Versions
mv 2.5 2.5_bak
ln 2.6 2.5
发表在 SecureCRT | 标签为 , , , , , | 留下评论

解决mac os x 10.10(Yosemite)登录界面卡死或者无敌风火轮

卡死是由于不兼容第三方输入法导致,可按如下步骤修复:
1.关机 
2.开机后按command+s进入单用户模式 
3.输入如下命令 
/sbin/mount -uaw 
rm -f /Library/Input\ Methods/SogouInput.app 
4.重启 
reboot
发表在 Mac | 标签为 , , , , , | 留下评论

nginx启用vhost拓展

编辑nginx配置目录conf下的nginx.conf文件,在http{}包含的代码块里增加一行include vhost/*.conf;
就可以引入conf目录下的vhost目录的以.conf结尾的配置文件.

发表在 Nginx | 标签为 , | 留下评论

Intellij IDEA显示行号(Line Number)

选择菜单File–Setting-Editor
展开选择Appearance
右侧勾选Show line numbers

Intellij IDEA显示行号(Line Number)

Intellij IDEA显示行号(Line Number)

发表在 IDE, Intellij IDEA | 标签为 , , | 留下评论

xcode重新显示启动界面(欢迎界面)

Dock上点击xcode图标,让xcode窗口获得焦点,然后command+shift+1就可以重新显示了,顺便可以勾选Show this window when Xcode launches,这样每次都可以显示了.

发表在 IDE, Xcode | 标签为 , , | 留下评论