上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 46 下一页
摘要: git clone --bare xxx.git git remote add remote2 xxxx.git git push --mirror remote2 如果不能拉代码可以使用 git pull origin master --allow-unrelated-histories [参考] 阅读全文
posted @ 2023-02-14 11:47 Hey,Coder! 阅读(20) 评论(0) 推荐(0)
摘要: 方法一 将下载得到的exchangeonlinemanagement.3.1.0.nupkg文件保存到D盘 Install-Package ExchangeOnlineManagement -Source D:\ 方法二 #Install-Module 离线安装 $parameters = @{ N 阅读全文
posted @ 2023-02-02 14:11 Hey,Coder! 阅读(791) 评论(0) 推荐(0)
摘要: 默认是不能通过SMTP发送邮件的,需要禁用SMTP身份验证 本文后续命令均需要使用管理员权限打开powershell 使用 Exchange Online PowerShell来设置smtp身份验证禁用 首先安装基础的包 [Net.ServicePointManager]::SecurityProt 阅读全文
posted @ 2023-02-01 18:13 Hey,Coder! 阅读(624) 评论(0) 推荐(0)
摘要: number要改成numeric, numeric的精度要调整 varchar2改成varchar, sysdate改成now() sys_guid()改成gen_random_uuid() 阅读全文
posted @ 2023-01-13 14:42 Hey,Coder! 阅读(233) 评论(0) 推荐(0)
摘要: 需要安装ssh.net包 //ssh配置 var sshHost = "127.0.0.1"; var sshUser = "testUser"; var sshPwd = "testPassword"; var sshPort = 22; //数据库连接 var server = "192.168 阅读全文
posted @ 2023-01-11 10:30 Hey,Coder! 阅读(1255) 评论(0) 推荐(0)
摘要: 页面 <ListView SizeChanged="ListView_SizeChanged" Loaded="ListView_Loaded" > <ListView.View> <GridView> <GridViewColumn Header="col1" Width="100" /> <Gr 阅读全文
posted @ 2022-12-15 15:15 Hey,Coder! 阅读(290) 评论(0) 推荐(0)
摘要: 客户端 private static void WaitData() { using (NamedPipeServerStream pipeServer = new NamedPipeServerStream("testpipe", PipeDirection.InOut, 1)) { try { 阅读全文
posted @ 2022-12-13 13:18 Hey,Coder! 阅读(197) 评论(0) 推荐(0)
摘要: 使用FileSystemWatcher 初始化传递要监听的目录, 在过滤中过滤文件(可以使用通配符) public class FileListenerServer { private FileSystemWatcher _watcher; public FileListenerServer(str 阅读全文
posted @ 2022-12-12 14:56 Hey,Coder! 阅读(1419) 评论(0) 推荐(1)
摘要: 本文提供两种mapper方式 反射 表达式(性能比反射更高) 测试运行一百万次映射,硬编码大概在15毫秒,反射560毫秒,表达式150毫秒 public static class MapperHelper { /// <summary> /// 将数据映射到指定的对象中 /// </summary> 阅读全文
posted @ 2022-12-01 09:48 Hey,Coder! 阅读(34) 评论(0) 推荐(0)
摘要: 查找对应删除的时间点 select * from v$sql where sql_text like '%test_table%'; 使用时间来回复指定的表数据 insert into test_table select * from test_table as of timestamp to_ti 阅读全文
posted @ 2022-11-30 11:28 Hey,Coder! 阅读(38) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 46 下一页