上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页
摘要: 命令行方式: 添加10002端口方法 1.vi etc/sysconfig/iptables 2. 开放端口命令:-A INPUT -p tcp -m state --state NEW -m tcp --dport 10002 -j ACCEPT 3.重启服务:/etc/init.d/iptabl 阅读全文
posted @ 2018-05-09 15:20 东北大亨 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 1、提示错误信息: zipSystem.TypeLoadException: Could not load type 'System.IO.Compression.CompressionLevel' from assembly 'System, Version=4.0.0.0, Culture=ne 阅读全文
posted @ 2018-04-03 11:11 东北大亨 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: /// /// 模块名:操作postgres数据库公共类 /// 作用:根据业务需求对数据库进行操作. /// 注:系统中的公共方法,根据需要,逐一引入 /// 作者:东北大亨 /// 编写日期:2012-03-19 /// using System; using System.Collections.Generic; using System.Linq; using System.Tex... 阅读全文
posted @ 2018-01-18 17:45 东北大亨 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 日期处理函数 //2007年4月24日 this.TextBox6.Text = System.DateTime.Now.ToString("D"); //2007-4-24 this.TextBox7.Text = System.DateTime.Now.ToString("d"); //2007 阅读全文
posted @ 2018-01-18 17:41 东北大亨 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 1、以下内容写在 build.gradle 文件中 task helloworld << { test()} def test(){ ant.echo(message:'repeat after me...') ##隐含对ant任务使用} 3.times { # 动态任务定义 task "yayGr 阅读全文
posted @ 2017-02-25 17:38 东北大亨 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 前提配置gradle环境 每个gradle构建都是以一个脚本开始的。gradle构建默认的名称为build.gradle。当在shell中执行gradle命令时,gradle会去寻找为build.gradle文件,如果找不到就会显示帮助信息。 下面我们以经典的helloworld为例。 1、首先建立 阅读全文
posted @ 2017-02-25 17:09 东北大亨 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 建立一个类 : 页面代码 : 阅读全文
posted @ 2016-10-22 15:33 东北大亨 阅读(4484) 评论(0) 推荐(0) 编辑
摘要: 关键技术: 1、MimeMessage的setRecipients方法设置邮件的收件人,其中Message.RecipientType.TO常量表示收件人类型是邮件接收者,Message.RecipientType.CC常量表示收件人类型是抄送者,Message.RecipientType.BCC常量表示收件人的类型是密送着。 2、在调用MimeMessage的setRecipients方... 阅读全文
posted @ 2016-09-27 10:52 东北大亨 阅读(4890) 评论(0) 推荐(0) 编辑
摘要: /** * 方法描述:发送带附件的邮件 * * @throws UnsupportedEncodingException */ public static boolean sendEmailWithAttachment(Email email) throws UnsupportedEncodingE 阅读全文
posted @ 2016-09-27 10:05 东北大亨 阅读(347) 评论(0) 推荐(0) 编辑
摘要: package com.northeasttycoon.monitor.service; import static java.lang.System.out; /** * Created by northeasttycoonon 2015/9/20. */ public class ServerMessager { public void print(String... ar... 阅读全文
posted @ 2016-09-27 09:38 东北大亨 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页