Kerwen Blog

Stay Hungry Stay Foolish

C++如何调用C# dll

Reference: https://www.cnblogs.com/huangmianwu/p/6145044.html https://www.codeproject.com/Questions/476583/callplusc-23plusdllplusorplusclasspluswithinplusc https://www.codeproject.com/Articles/162...

Disable Win10 logon warning message

在做Local build的时候需要切换语言之后重启机器。重启机器之后发现windows没有办法自动登录,加了自动登录也没起作用。 研究之后发现是因为IT在登录界面上加了一个warning信息,每次登录的时候需要点确认才能登录进去。 这个warning信息阻止了win10的自动登录。解决办法也很简单: 开始菜单查找“secpol.msc” 在Local Policies ...

How to find all Symbolic links under a ClearCase Vob

最近一直在做code迁移,发现ClearCase里面有很多Symbolic link,这些link是无法直接迁移到GitLab里。 首先要解决的是怎么发现所有的Symbolic link: 1 cleartool ls -l -r <folder> | findstr /C:"symbolic link" >> SymbolicFiles.txt Folder ...

Git clone LFS 错误

在用Git去clone的时候遇到以下问题: 1 2 3 4 Use git lfs logs last to view the log. error: external filter 'git-lfs filter-process' failed fatal: data/processed/career_builder/embedding.npy: smudge filter lfs fa...

如何在IIS host的NetTcpBinding上监听消息

最近一直在做WCF的通信加密,最终采用了windows认证的方式。 做完之后需要抓一下包,验证消息已经进行了加密。 这里主要参考了以下文章: https://www.cnblogs.com/chnking/archive/2008/10/07/1305891.html https://sites.google.com/site/wcfpandu/configuring-wcf-servi...

CSS定位中的子绝父相

position是CSS样式中一个样式,从英文意思理解就是位置,就是用来定位的。其样式下有几个属性,分别是absolute、relative、static(默认)、fixed等等 子绝父相的意思是在父类的position属性是relative的情况下,子类的position属性又是absolute的情况下,那么我们的子类这时其实不是在body中absolute而是在其父类的范围中absol...

Wix Heat

https://wixtoolset.org/documentation/manual/v3/overview/heat.html

CEF

WinForm Google.com Create a new winform project with VisualStudio 2017 Click Menu Project -> Manage Nuget Packages -> Search “CefSharp.WinForms” and Install After install complete ,t...

Electron with Angular

If you have already have a web application(eg. Agnualr), this is how to integrate web application with Electron. Create new Angular project Create new folder “Angular” and open with VSCode ...

Electron

Create Project Create a project folder “demo” and open with VisualStudio Code Open a new Terminal and initial project 1 npm init -y Install electron package 1 ...