euccas.github.io

why a developer writes

PostgreSQL: Understand PG Errors

| Comments

When using Ruby Gem pg and establish database connections to a PostgreSQL database, you’ll see PG errors when the database connection becomes problematic. In my experience, two typical PG errors are PG::AdminShutdown and PG::UnableToSend.

Error PG::AdminShutdown

The error message contains the following information:

FATAL: terminating connection due to administrator command (PG::AdminShutdown) server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

高效Jenkins用户的第5个习惯

| Comments

本文内容部分来源于Andrew Bayer发布在SlideShare上的 7 habits of highly productive Jenkins Users (2014 Edition).

习惯 5: 集成第三方工具和服务

Jenkin可以和许多第三方工具和服务集成,实现强大又实用的功能。常见的集成方式包括使用REST API和一些Jenkins功能插件。可以实现的功能比如:由GitHub pull requests触发builds,当builds成功或失败时根据结果更新JIRA等等。

MongoDB Training: MongoDB for Developers (Python)

| Comments

昨晚提交了MongoDB University的培训课程 M101P: MongoDB for Developers (Python) 的最后一次测试,这历时七周的课程告一段落。这个课程虽然是属于入门级,但是它覆盖了MongoDB各个方面,有不错的课程结构。短时间内,可以让开发者掌握和MongoDB有关的日常开发中所需要掌握的大部分知识和技能。

在学习其他数据库时,也不妨参照这个结构来全面掌握。

Octopress Tips

| Comments

使用Octopress搭建这个blog已经有一段时间了,记录几个使用中需要注意的Tips.

Tip 1: Clone Repo

如果需要重新复制一份已经存在的blog repo,在重新复制的blog repo上继续发布更新blog,那么需要注意:

首先需要复制的repo是source branch.

如果repo的默认branch已经设定为source branch:

1
git clone <repo url>

Install Additional Packages in WinPython

| Comments

For people who need use portable Python on Windows, WinPython is a good choice. WinPython is a free open-source portable distribution of Python. The project is hosted on github. It is also a good alternative to Portable Python, which is not being developed anymore.

In this post I’ll show you how could you install additional packages to WinPython.

Install WinPython

WinPython is portable. It means that you can download WinPython from the WinPython download page, add it to your system PATH, and start using it without any installation.