如何用搜狗拼音输入法在Windows上打出「」


如何用搜狗拼音输入法在Windows上打出「」

最近看了一篇blog(作者Hindy,链接在此), 提倡中文引号应该用「」而不是‘’。我仔细考虑了下,确实在美观和无歧义上可取。但是怎么能方便的输入「」呢?

Read more ⟶

把redmine装在passenger上,然后用nginx反向代理提供服务


把redmine装在passenger上,然后用nginx反向代理提供服务

Read more ⟶

如何记录日志


日志类型

Fatal

最高等级:重要的东西关闭了

Error

  • 应用报错/崩溃
  • 用户使用受影响
  • 修复需要人工干预

Warn

  • 不正确的行为但是应用还在运行
  • 用户使用受影响但是不需要立即人工干预

Info

  • 正常的行为像发送邮件,更新用户配置文件等。
  • 系统生命周期事件 (系统启动、 停止)
  • 会话生命周期事件 (登录、 注销等)
  • 边界事件 (数据库调用,远程 API 调用)
  • 典型的业务异常 (由于坏凭据登录失败)
  • 生产中的任何其他事件在此处

Debug

  • 有助于跟踪问题,特别是在开发和 QA 阶段期间的任何消息

Trace

  • 开始方法 X,结束方法 X 等
  • 不经常用
  • 使用会导致大量的日志
  • 例如一个大循环中记录某个状态
Read more ⟶

安装LimeSurvey


安装LimeSurvey

源码包

下载链接

密码: g75h

使用手册

在线手册

安装脚本

Read more ⟶

解决调用Tuxedo服务问题


解决调用Tuxedo服务问题

用C#开发了一个服务发布到IIS中,其中有调用Tuxedo服务时报错:

System.ApplicationException: System.TypeInitializationException: The type initializer for ‘Interface.Tuxedo.TuxedoHelper’ threw an exception. —> System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source) at Interface.Tuxedo.LogWirter.LogInfoEvent(String message) at Interface.Tuxedo.TuxedoHelper.GetConfig() at Interface.Tuxedo.TuxedoHelper.GetTuxedoConfig() at Interface.Tuxedo.TuxedoHelper..cctor() — End of inner exception stack trace —

Read more ⟶