随笔分类 -  备忘录

记录常用信息
摘要:int i = 1;var v = string.Format("{0}{1:D"+i+"}","0.", 0);var vd = decimal.Round(decimal.Parse(v), i);var vstr = vd.ToString(); v="0.0" vd=0.0 vstr="0. 阅读全文
posted @ 2018-10-16 12:14 ligl007 阅读(311) 评论(0) 推荐(0)
摘要:下面是GET请求 AT+HTTPPARA? 查询设置的Para命令 AT+SAPBR=1,1 (模块启动后设置一次即可)OK AT+HTTPINIT (初始化)OK AT+HTTPPARA=CONTENT,application/x-www-form-urlencoded (Content-Type 阅读全文
posted @ 2017-11-16 20:48 ligl007 阅读(985) 评论(0) 推荐(0)
摘要:config配置 在运行程序目录上一层会生成一个Log\\LogConsoleApp.log文件 阅读全文
posted @ 2017-08-10 14:49 ligl007 阅读(389) 评论(0) 推荐(0)
摘要:public class FtpHelper { public FtpHelper(string p_url, string p_user, string p_password) { if (!p_url.ToUpper().StartsWith("FTP:")) { Url... 阅读全文
posted @ 2016-07-29 15:31 ligl007 阅读(345) 评论(0) 推荐(0)
摘要:创建全局的name和email 1.创建ssh(使用命令)$ssh-keygen -t rsa -C xxxxx@gmail.com(注册github时的email)2.在github中添加ssh 登陆github,选择Account Settings-->SSH Keys 添加ssh Title: 阅读全文
posted @ 2016-07-12 18:29 ligl007 阅读(505) 评论(0) 推荐(0)