摘要: 1 using System.Collections.Generic; 2 using System.ComponentModel.Design; 3 using System.Linq; 4 5 namespace TestDelay 6 { 7 internal class Program 8 阅读全文
posted @ 2024-01-25 17:39 罗曼蒂克' 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 最终解决方案1.在上面音频源选择的地方,选择你的麦克风2.将 -f dshow -i audio="virtual-audio-capturer" -filter_complex amix=inputs=2:duration=longest 添加到额外的命令行参数中 阅读全文
posted @ 2023-12-01 15:12 罗曼蒂克' 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-06-15 14:17 罗曼蒂克' 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 错误日志 remote: 001f# service=git-receive-pack remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Deta 阅读全文
posted @ 2023-06-14 10:06 罗曼蒂克' 阅读(285) 评论(0) 推荐(0) 编辑
摘要: SQL Server数据修改架构 阅读全文
posted @ 2022-12-12 20:50 罗曼蒂克' 阅读(24) 评论(0) 推荐(0) 编辑
摘要: dotnet dev-certs https --check dotnet dev-certs https dotnet dev-certs https --trust如有失败手工打开文件C:\Users\Yanjun.Jiang\AppData\Roaming\Microsoft\SystemCe 阅读全文
posted @ 2022-09-16 13:59 罗曼蒂克' 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 在不破解的情况下,修改注册表 \HKEY_CLASSES_ROOT\Licenses\6F0F8269-1516-44C6-BD30-0E90BE27871C\的DWORD值为10016,可以延长至2031年 开始-运行-regedit 进入注册表 第一个就是 HKEY_CLASSES_ROOT 文 阅读全文
posted @ 2022-03-18 20:54 罗曼蒂克' 阅读(401) 评论(0) 推荐(1) 编辑
摘要: 今天写了一个连接查询sql突然出现了如下错误 经过排查询条件后面增加 collate Chinese_PRC_BIN 解决 阅读全文
posted @ 2020-09-10 17:51 罗曼蒂克' 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 1 using PropertyGridHelpers.Controls; 2 using System; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Drawing.Design 阅读全文
posted @ 2019-05-02 12:52 罗曼蒂克' 阅读(2983) 评论(0) 推荐(1) 编辑
摘要: 话不多说直接上代码: 窗体代码如下: 效果图如下: 界面添加方法如下: gridcontrol中添加按钮的步骤: 1. 把列的ColumnEdit属性设置为RepositoryItemButtonEdit 2. 把TextEditStyle属性设置为HideTextEditor; 3. 把Butto 阅读全文
posted @ 2019-05-02 12:33 罗曼蒂克' 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 在windows操作系统下, 找到D:\Tomcat-7\apache-tomcat-7.0.28\bin(解压安装的Tomcat)目录下的catalina.bat文件,打开该文件,找到下图所示的内容:添加上划红线的内容: set JAVA_OPTS=%JAVA_OPTS% -server -XX: 阅读全文
posted @ 2019-01-11 11:33 罗曼蒂克' 阅读(2494) 评论(0) 推荐(0) 编辑
摘要: Exceptionless是什么?能做什么呢? “Exceptionless”这个词的定义是:没有异常。Exceptionless可以为您的ASP.NET、Web API、WebFrm、WPF、控制台和MVC应用程序提供实时错误、特性和日志报告。它将收集的信息组织成简单的可操作的数据,这些数据将帮助 阅读全文
posted @ 2018-07-02 12:08 罗曼蒂克' 阅读(687) 评论(0) 推荐(0) 编辑
摘要: ExceptionLess是一款免费开源的分布式日志收集框架,DotNet的几乎所有类型的程序都可以支持,并且还提供了接口,可以很方便的在js中进行日志的推送。 参考: http://www.cnblogs.com/uptothesky/p/5864863.htmlhttp://www.cnblog 阅读全文
posted @ 2018-06-18 21:05 罗曼蒂克' 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 下面直接上代码 扩展方法 测试: using AutoMapper; using System; using System.Collections.Generic; namespace ConsoleApp1 { class Program { static void Main(string[] a 阅读全文
posted @ 2018-06-17 21:15 罗曼蒂克' 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 开源地址:https://github.com/opserver/Opserver SecuritySettings配置AllAdmin登录: SQLSettings 配置连接SQL Server数据库 RedisSettings配置连接Redis 源码:https://github.com/jia 阅读全文
posted @ 2018-06-14 15:17 罗曼蒂克' 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 关于Consul的更多介绍,比如优点,这里就不再赘述了,上网一搜就可以随处找到了。但是,必须贴一个和其他类似软件的对比: 关于Consul的架构以及相关的角色 基于IApplicationBuilder写一个扩展方法,用于调用Consul API public static class Regist 阅读全文
posted @ 2018-06-08 09:19 罗曼蒂克' 阅读(1852) 评论(1) 推荐(0) 编辑
摘要: 1.在C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.2\etc目录下把rabbitmq.config.example文件备份一个修改为 说明( ) 2.重启服务解决 阅读全文
posted @ 2018-05-22 14:40 罗曼蒂克' 阅读(2129) 评论(0) 推荐(0) 编辑
摘要: 造成此原因是因为电脑名称为中文字符造成的,把电脑名称改为英文字符正常解决 阅读全文
posted @ 2018-05-21 17:44 罗曼蒂克' 阅读(6539) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lindexi_gd/article/details/78661304 c#(166) c#(166) 版权声明:http://blog.csdn.net/lindexi_gd 本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn 阅读全文
posted @ 2018-03-25 18:01 罗曼蒂克' 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 1 public class Class1 2 { 3 public static void Button_Click() 4 { 5 TestDemoEntity entity; 6 Stopwatch watch; 7 int length = 1000000; ... 阅读全文
posted @ 2018-03-25 10:56 罗曼蒂克' 阅读(1194) 评论(1) 推荐(1) 编辑
摘要: 1 public class CacheHeloer 2 { 3 4 /// 5 /// 默认缓存 6 /// 7 private static CacheHeloer Default { get { return new CacheHeloer(); } } 8 9 /// 10 /// 缓存初始化... 阅读全文
posted @ 2018-03-12 22:09 罗曼蒂克' 阅读(1106) 评论(0) 推荐(0) 编辑
摘要: public void LogHelpers([CallerFilePath] string propertyName = "") { this.name = name; } 阅读全文
posted @ 2018-03-10 22:38 罗曼蒂克' 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 运算符号 意义 运算对象类型 运算结果类型 对象数 实例 ~ 位逻辑非运算 整型,字符型 整型 1 ~a & 位逻辑与运算 2 a & b | 位逻辑或运算 2 a | b ^ 位逻辑异或运算 2 a ^ b << 位左移运算 2 a<<4 >> 位右移运算 2 a>>2 1、位逻辑非运算 位逻辑非 阅读全文
posted @ 2018-01-16 14:45 罗曼蒂克' 阅读(1842) 评论(0) 推荐(0) 编辑
摘要: private static void RecursionAlgorithm(int end) { int a = 1, b = 0, c = b; while (true) { c = a + b; a = b; b = c;... 阅读全文
posted @ 2018-01-16 14:18 罗曼蒂克' 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 一,位移运算 向左位移">",相当于进行除法运算除向当前参数乘以2的位移次方 n>>1 等于 n/(2的1次方) 等于 n/2 n>>2 等于 n/(2的2次方) 等于 n/4 n>>3 等于 n/(2的3次方) 等于 n/8 n>>4 等于 n/(2的4次方) 等于 n/16 阅读全文
posted @ 2018-01-16 13:58 罗曼蒂克' 阅读(387) 评论(0) 推荐(0) 编辑
摘要: C#图片转字符串------>>>>字符串在转回图片两种方法 1 #region 调用方法 2 private void Form1_Load(object sender, EventArgs e) 3 { 4 OpenFileDialog dialog = new OpenFileDialog(); 5 ... 阅读全文
posted @ 2017-11-01 20:18 罗曼蒂克' 阅读(5950) 评论(0) 推荐(1) 编辑
摘要: 1 #region 单例模式 2 #region 线程非安全单例模式 3 public class Singleton1 4 { 5 private Singleton1() { } 6 private static Singleton1 testdemo1 = null; 7 public sta 阅读全文
posted @ 2017-01-14 18:25 罗曼蒂克' 阅读(1903) 评论(0) 推荐(0) 编辑
摘要: 最近做了一个机器人智能问答社区欢迎大家来体验和题建议,谢谢 地址是: http://robot.kebue.com/ kebue 支持如下功能: 阅读全文
posted @ 2016-10-22 17:42 罗曼蒂克' 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 运行效果图: 阅读全文
posted @ 2016-10-06 18:40 罗曼蒂克' 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-10-03 14:34 罗曼蒂克' 阅读(4693) 评论(5) 推荐(6) 编辑
摘要: 前台Code 1 <DataGrid Name="DataGrid1" AutoGenerateColumns="False" IsReadOnly="True" Width="550"> 2 <DataGrid.Columns> 3 <DataGridTextColumn Header="Name 阅读全文
posted @ 2016-09-18 21:16 罗曼蒂克' 阅读(551) 评论(1) 推荐(0) 编辑
摘要: 1)安装Oracle 12c 64位2)安装32位的Oracle客户端( instantclient-basic-nt-12.1.0.1.0.zip)下载 instantclient-basic-win32-11.2.0.1.0.zip ,必须是win32版本,Oracle官网有下载,下载地址:ht... 阅读全文
posted @ 2015-06-15 21:54 罗曼蒂克' 阅读(236) 评论(0) 推荐(0) 编辑
摘要: /// /// 关键代码 /// /// [System.Runtime.InteropServices.DllImport("kernel32.dll")] static extern uint GetTickCount(); static void Delay(uint ms) { uin... 阅读全文
posted @ 2015-05-31 23:02 罗曼蒂克' 阅读(276) 评论(0) 推荐(0) 编辑
摘要: ASP.NET 中对大文件上传的简单处理在 ASP.NET 开发的过程中,文件上传往往使用自带的 FileUpload 控件,可是用过的人都知道,这个控件的局限性十分大,最大的问题就在于上传大文件时让开发者尤为的头疼,而且,上传时无法方便的做到多线程的操控和上传进度的显示。笔者在此给大家推荐一款简单... 阅读全文
posted @ 2015-05-07 12:54 罗曼蒂克' 阅读(273) 评论(0) 推荐(0) 编辑
摘要: --oracle 表误更新 闪回操作 测试环境--select * from v$database;--select * from v$version;操作第一步1.如下命令启用行迁移alter table test_a enable row movement;2.如下命令闪回到某时间点flashb... 阅读全文
posted @ 2015-04-27 11:36 罗曼蒂克' 阅读(1442) 评论(0) 推荐(0) 编辑
摘要: 经典sql语句大全 阅读全文
posted @ 2015-04-19 13:17 罗曼蒂克' 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 如何让程序自动更新 自动更新的软件的目的在于让客户不在为了寻找最新软件花费时间。也不用去到开发商的网站上查找。客户端的软件自动会在程序启动前查找服务器上最新的版本。和自己当前软件的版本比较,如果服务器的是最新版本。客户端则进行自动下载、解压、安装。当然了下载是要有网络的,并且用户可以根据提示去... 阅读全文
posted @ 2015-04-13 10:51 罗曼蒂克' 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: 第一种方式:System.Diagnostics.Stopwatch stopwatch = new Stopwatch();stopwatch.Start(); // 开始监视代码运行时间// 需要测试的代码 ....stopwatch.Stop(); // 停止监视TimeSpan tim... 阅读全文
posted @ 2015-04-13 10:45 罗曼蒂克' 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 如下,表a是数据库中已经存在的表,b是准备根据表a进行复制创建的表: 1、只复制表结构的sql create table b as select * from a where 11 2、即复制表结构又复制表中数据的sql create table b as select * from a ... 阅读全文
posted @ 2015-04-09 19:00 罗曼蒂克' 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: NeatUpload的安装使用版本:NeatUpload-1.2.32,用于文件上传。可传大文件。1.在VS工具箱中点右键选“选择项”……将Brettle.Web.NeatUpload.dll添加到工具箱。可以在添加后的工具箱看到相应控件。2.新建web项目。将NeatUpload复制到项目根目录。... 阅读全文
posted @ 2015-04-06 19:33 罗曼蒂克' 阅读(228) 评论(0) 推荐(0) 编辑