随笔分类 -  内裤

摘要:一、代码 ①类名 ②控制器 二、过程分析 1.看官网文档。curl自己本地代码测试成功。但是不见今日数据过来,怀疑今日头条是否转发。 2.分析是否转发。查看IIS站点日志,发现有数据转发过来,准备监控流量 3.监控访问请求。打开WiresharkPortable,监控iis访问IP。查看请求过程,服 阅读全文
posted @ 2018-05-25 10:21 少时不知贵 阅读(974) 评论(0) 推荐(0)
摘要:调用DEMO 方法: 1.补充知识 (1)POP3和SMTP服务器是什么? 简单点来说:POP3 用于接收电子邮件 ,SMTP 用于发送电子邮件。 (1)POP3具体指什么? POP3(Post Office Protocol 3)即邮局协议的第3个版本,它是规定个人计算机如何连接到互联网上的邮件服 阅读全文
posted @ 2017-12-05 14:32 少时不知贵 阅读(335) 评论(0) 推荐(0)
摘要:1.正则匹配所有的a标签 2.匹配所有图标 3.匹配号码和名字 阅读全文
posted @ 2017-11-29 18:02 少时不知贵 阅读(214) 评论(0) 推荐(0)
摘要:类库: 使用: ChineseCode py = new ChineseCode(); var pinyin = py.GetSpell("我爱你"); 阅读全文
posted @ 2017-11-06 09:34 少时不知贵 阅读(402) 评论(0) 推荐(0)
摘要:基于Hi博客的类库 20160811 using Model; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Express 阅读全文
posted @ 2016-08-11 22:14 少时不知贵 阅读(780) 评论(0) 推荐(0)
摘要:20160605 简单的DaTable转Json 如果只有1行数据格式就是:{key:value,key:value}; 1行以上就是{object:[{key:values,key:value}]} 以后扩展Json转obj,转Model 阅读全文
posted @ 2016-06-05 11:20 少时不知贵 阅读(275) 评论(0) 推荐(0)
摘要:using System; using System.Data; using System.IO; using System.Xml; namespace DotNet.Utilities { public class XMLProcess { #region 构造函数 public XMLProc 阅读全文
posted @ 2016-05-15 15:48 少时不知贵 阅读(141) 评论(0) 推荐(0)
摘要:最新封装类: 2016-03-14 1.添加对OleConn的读 private static string connstring = @"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" + pat 阅读全文
posted @ 2016-02-28 14:14 少时不知贵 阅读(294) 评论(0) 推荐(0)
摘要:2016.01.29 public static class PagerHelper { #region 数字分页类 /// <summary> /// /// </summary> /// <param name="intCounts">总记录数</param> /// <param name=" 阅读全文
posted @ 2016-01-29 21:02 少时不知贵 阅读(845) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.OleDb;using System.Data.SqlClient;using S... 阅读全文
posted @ 2016-01-22 17:01 少时不知贵 阅读(288) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Data;using System.Collections;using My... 阅读全文
posted @ 2016-01-22 17:00 少时不知贵 阅读(265) 评论(0) 推荐(0)
摘要:public class DataConvertJson { #region dataTable转换成Json格式 /// /// dataTable转换成Json格式 /// /// ... 阅读全文
posted @ 2016-01-22 09:23 少时不知贵 阅读(285) 评论(0) 推荐(0)
摘要:public class EncryptHelper { public static string EncryptMd5Str(string str) { MD5 md5Obj = MD5.Create(); by... 阅读全文
posted @ 2016-01-22 09:22 少时不知贵 阅读(813) 评论(0) 推荐(0)
摘要:public static class SqlHelper { public static object FromDbValue(object value) { if (value == DBNull.Value) { return null; } else { return value; } } 阅读全文
posted @ 2016-01-22 09:20 少时不知贵 阅读(200) 评论(0) 推荐(0)
摘要:@Html.DisplayNameFor(model=>model.Id) @Html.DisplayNameFor(model => model.Pid) @Html.Display... 阅读全文
posted @ 2016-01-22 09:15 少时不知贵 阅读(303) 评论(0) 推荐(0)
摘要:public class ConvertHelper where T : new() { /// /// 利用反射和泛型 /// /// /// public static L... 阅读全文
posted @ 2016-01-21 21:14 少时不知贵 阅读(344) 评论(0) 推荐(0)
摘要:public static class Extensions { //2016.1.18 start public static int toInt(this string str) { return Convert.ToInt32(str); } public static bool IsNull 阅读全文
posted @ 2016-01-18 14:10 少时不知贵 阅读(204) 评论(0) 推荐(0)