摘要:
from zhihu_oauth import ZhihuClient from zhihu_oauth.exception import NeedCaptchaException client = ZhihuClient() try: client.login('email_or_phone', 阅读全文
摘要:
select s.* from ( select *, row_number() over (partition by [手机号] order by [要过滤的字段]) as group_idx from table_name ) s where s.group_idx = 1 阅读全文
摘要:
心血来潮写了个小爬虫准备放到阿里云上去的时候发现80端口被占用? 在网上找了好多方法也没解决 cmd命令进入:netsh http show servicestate 详细查看,会发现有80端口的信息,记下版本 在下面找到对应的服务进程ID 右键结束 skr! 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
SELECT * FROM pm_workorder_record_flow a WHERE EXISTS (SELECT 1 FROM (SELECT MAX(createddt) sjrq ,machineid FROM pm_workorder_record_flow GROUP BY machineid)b WHERE a.createddt=b.sjrq AND a.mach... 阅读全文
摘要:
1.所有数据绑定后得渲染一下 form.render(); 2.Layui下拉框onchage事件: 前端: js: 阅读全文
摘要:
list.ForEach(t => t.CreateTime = DateTime.Now);//对 System.Collections.Generic.List`1 的每个元素执行指定操作。 list.TrueForAll(t => t.Client != null)//确定是否 System.Collections.Generic.List`1 中的每个元素都与指定的谓词所定义的条件相匹配... 阅读全文
摘要:
dt.Compute("Max(id)", null); 阅读全文
摘要:
<system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Methods" value= 阅读全文
摘要:
public static string HttpGet(string url) { //ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); ... 阅读全文