摘要: php操作mysql 1、连接 2 、创建数据库 3、删除数据库 <?php $host = "localhost:3306"; $user = "root"; $pwd = "123456"; $conn = mysql_connect($host, $user, $pwd); if (!$con 阅读全文
posted @ 2016-06-28 15:40 feilv 阅读(215) 评论(0) 推荐(0) 编辑
摘要: linux下网络编程学习 http://blog.csdn.net/Simba888888/article/category/1426325 select()使用例子 poll()使用例子 阅读全文
posted @ 2016-06-17 10:45 feilv 阅读(253) 评论(0) 推荐(0) 编辑
摘要: springMVC入门文章 http://www.admin10000.com/document/6436.html http://www.importnew.com/15141.html http://www.cnblogs.com/wawlian/archive/2012/11/17/27754 阅读全文
posted @ 2016-06-15 11:30 feilv 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 让控制台程序后台运行 【转】C++ 让 Win32 Console Application 程序后台运行 方法一:(无闪现) 【转】C++ 让 Win32 Console Application 程序后台运行 方法一:(无闪现) 添加 #pragma comment( linker, "/subsy 阅读全文
posted @ 2016-06-12 10:08 feilv 阅读(620) 评论(0) 推荐(0) 编辑
摘要: IBM MQ使用过程问题汇总 1. 客户端发送消息时出现2035问题的解决过程####环境:win7系统administrator用户,WebSphereMQ8.0####测试:执行命令"amqsputc.exe Q1"a 按照教程添加"服务器连接"通道时为MCA指定用户名。无效;b 执行runmq 阅读全文
posted @ 2016-02-23 10:14 feilv 阅读(2424) 评论(0) 推荐(0) 编辑
摘要: 获取服务器时间 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netine 阅读全文
posted @ 2016-01-29 16:11 feilv 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 查看开放的端口: netstat -tunlp 查看网络配置: chkconfig 关闭防火墙: chkconfig iptables off /etc/init.d/iptables stop 开放telnet服务: yum install telnet-server #安装 vi /etc/xi 阅读全文
posted @ 2016-01-29 15:26 feilv 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 安装中文支持: yum groupinstall chinese-support 查看相关环境变量: echo $LANG locale 修改编码: vim /etc/sysconfig/i18n us_EN.UTF-8 zh_CN.UTF-8 zh_CN.GB18030 将utf-8编码的文件fi 阅读全文
posted @ 2016-01-29 11:07 feilv 阅读(483) 评论(0) 推荐(0) 编辑
摘要: import static org.quartz.CronScheduleBuilder.cronSchedule;import static org.quartz.JobBuilder.newJob;import static org.quartz.SimpleScheduleBuilder.si... 阅读全文
posted @ 2015-09-23 13:23 feilv 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 基本规则makefile由一组规则组成,每条规则的格式是:target ... : prerequisites ... command1 command2 ...目标:条件 命令目标和条件之间的关系:要更新目标必须先更新它的所有条件。有一个条件更新则目标也要被更新。命令列表必须以tab开头。... 阅读全文
posted @ 2015-08-24 11:47 feilv 阅读(137) 评论(0) 推荐(0) 编辑