上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页
向hadoop导入文件,报错 .... There are 0 datanode(s) running and no node(s) are excluded in this operation. .... 查看配置 $hadoop_home/hadoop/etc/hdfs-site.xml <pr Read More
posted @ 2017-05-27 18:05 jeffery1010 Views(6643) Comments(0) Diggs(0) Edit
(一)通过vi编辑器来替换。vi/vim 中可以使用 :s 命令来替换字符串。:s/well/good/ 替换当前行第一个 well 为 good:s/well/good/g 替换当前行所有 well 为 good:n,$s/well/good/ 替换第 n 行开始到最后一行中每一行的第一个 wel Read More
posted @ 2017-05-23 20:18 jeffery1010 Views(695) Comments(0) Diggs(0) Edit
对拷文件夹 (包括文件夹本身) scp -r /home/wwwroot/www/charts/util root@192.168.1.65:/home/wwwroot/limesurvey_back/scp 对拷文件夹下所有文件 (不包括文件夹本身) scp /home/wwwroot/www/c Read More
posted @ 2017-05-23 19:52 jeffery1010 Views(1775) Comments(0) Diggs(0) Edit
如何需要在header增加传输信息,如文件名放在header request.Headers.Add("filename", HttpUtility.UrlEncode(fileName)); 如此,文件名中存在中文或中英文混合字符串,则需要对传输字符编码 原因:header 里不能有 低字节值为 Read More
posted @ 2017-05-22 16:15 jeffery1010 Views(207) Comments(0) Diggs(0) Edit
UPD(Membership)数据库安装1.使用 Aspnet_regsql.exe 安装数据库 在 C:\WINDOWS\Microsoft.NET\Framework\\aspnet_regsql.exe2.一步步按照指引即可 ClickOnce需要创建证书C:\Program Files (x Read More
posted @ 2017-05-18 11:43 jeffery1010 Views(202) Comments(0) Diggs(0) Edit
declare @modelcode varchar(90)='AutoProjectType'declare @ns varchar(90)='WpfApplication'declare @datamodel varchar(90)='wv_' +@modelcodedeclare @model Read More
posted @ 2017-05-03 18:16 jeffery1010 Views(169) Comments(0) Diggs(0) Edit
declare @objname varchar(90)='AutoProjectModel'declare @modelns varchar(90)='ACL.Models'declare @dpclsname varchar(200)='ACL.UPDExtDataProvider'--mode Read More
posted @ 2017-05-03 18:16 jeffery1010 Views(147) Comments(0) Diggs(0) Edit
背景需求:应用系统间数据自动同步处理,要求高效无人工干预 技术实现:C#启动cmd,通过BCP命令传入必要参数,实现数据导出 /// <summary> /// cmd下,启动应用程序命令 /// 不显示命令窗口 /// </summary> /// <param name="programExeP Read More
posted @ 2017-04-03 23:36 jeffery1010 Views(757) Comments(0) Diggs(0) Edit
Scala 的类定义可以有参数,称为类参数,如上面的 xc, yc,类参数在整个类中都可以访问。 class Person(name:String,id:String,age:Int) { var Name:String=name; var ID:String=id; var Age:Int=age Read More
posted @ 2017-03-28 11:58 jeffery1010 Views(131) Comments(0) Diggs(0) Edit
Scala中,访问修饰符可以通过使用限定词强调: Read More
posted @ 2017-03-27 09:30 jeffery1010 Views(116) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页