发布时间:2015-05-18 15:56:25
如果发现:what(): remote_endpoint: Transport endpoint is not connected那么试试:try{ // Do your job here. }catch(boost::system::system_error &ec) { // Show your warning message or do something else .........【阅读全文】
发布时间:2015-04-15 15:55:36
using namespace std;using namespace boost::posix_time;ptime current_date_time = second_clock::local_time();string current_date_time_string = to_iso_extended_string(current_date_time.date()) + " " + to_simple_string(current_date_time.time_of_day());.........【阅读全文】
发布时间:2015-04-02 14:19:22
fcitx-classic-ui.config[ClassicUI]# Main Window Position XMainWindowOffsetX=823# Main Window Position YMainWindowOffsetY=3# FontFont=DejaVu Sans Mono# Menu FontMenuFont=DejaVu Sans Mono# Font Locale to displayFontLocale=zh_CN.UTF-8# Use System Tray Icon# Available Value:# True FalseU.........【阅读全文】
发布时间:2015-03-26 14:01:14
首先要安装,apt-get install 然后是配置:1. 配置postgres登录密码:先su -l成为root,之后su postgres,之后运行psql,之后使用\password命令就可以了。2. 配置postgres可以登录:修改/etc/postgresql/9.1/main/pg_hba.conf在host all &.........【阅读全文】
发布时间:2015-03-20 11:29:43
首先,编辑/etc/network/interfacesiface eth0 inet staticaddress xxx.xxx.xxx.xxxnetmask xxx.xxx.xxx.xxxgateway xxx.xxx.xxx.xxx然后,编辑/etc/resolv.confnameserver xxx.xxx.xxx.xxx......【阅读全文】