摘要: js // 10进制转为16进制 var a=1234567890; console.log(a.toString(16)) //499602d2 // 16进制转为10进制 var num=parseInt(96,16) console.log(num) //150 C# // 16进制转为10进 阅读全文
posted @ 2021-08-09 17:39 毛毛虫! 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 导入excel的列很多,只保留abcd这几个列的值,其他的列都清空 1 var row_Distinct = dt.Select().Select(d => 2 { 3 foreach (DataColumn col in dt.Columns) 4 { 5 if (col.ColumnName ! 阅读全文
posted @ 2021-06-02 15:21 毛毛虫! 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1 using FFmpeg.NET; 2 using System; 3 using System.DrawingCore; 4 using System.Text; 5 using System.Threading; 6 7 namespace VideoToChar 8 { 9 class P 阅读全文
posted @ 2021-05-07 09:59 毛毛虫! 阅读(151) 评论(0) 推荐(0) 编辑
摘要: reg文件,html文件 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\myapp] @="URL:myapp Protocol Handler" "URL Protocol"="" [HKEY_CLASSES_ROOT\myapp\ 阅读全文
posted @ 2021-05-06 13:36 毛毛虫! 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Selenium的简单使用 1 static void test1(IWebDriver driver) 2 { 3 4 driver.Url = "https://i.cnblogs.com/files"; 5 log.Info("打开网页"); 6 //跳转登录页 7 Thread.Sleep( 阅读全文
posted @ 2021-04-26 17:48 毛毛虫! 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 字符串文本时间转秒,如23:59:59秒转换成秒数 select datediff( s,‘00:00:00’,‘23:59:59’) 阅读全文
posted @ 2021-04-21 11:16 毛毛虫! 阅读(188) 评论(0) 推荐(0) 编辑
摘要: test card TID(start:0,len:0~12字)0~12 E2003412012F1B000062DAB00402012B700D5FFBFFFFDC40EPC(start:2,len:0~6字)2~8 TID的问题,一个标签有多个TID???16进制 10进制 16进制E20034 阅读全文
posted @ 2021-04-12 17:49 毛毛虫! 阅读(463) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/duanjt/p/10578854.html 阅读全文
posted @ 2021-02-03 11:43 毛毛虫! 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 做监视刷卡动作的程序 刷卡后会产生消息,外部能通过wmi的方式获取实时的刷卡动作的数据 程序监听 new ManagementEventWatcher 建对象 watcher.EventArrived 注册事件处理方法 e.NewEvent.GetPropertyValue("Time"); 通过这 阅读全文
posted @ 2021-01-08 11:21 毛毛虫! 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 已经有人总结得很好了 https://www.cnblogs.com/leona-d/p/6125896.html 上面的领导貌似不喜欢。。。 那就麻烦一点,每行加样式,邮件中只认行内样式。。。 当我们要给table中的tr设置样式,要是单纯的在css中这样写。 tr{ border-bootom: 阅读全文
posted @ 2021-01-04 14:28 毛毛虫! 阅读(755) 评论(0) 推荐(0) 编辑