Kerwen Blog

Stay Hungry Stay Foolish

jQuery ajax 发送get请求

Create Nodejs Server server.js: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 var http = require("http"); var url = require("url"); var fs = require('fs'); ...

理财经验教训总结

长期投资不缺机会,缺钱 合理安排资金,不全仓。宽基指数为主 兼听则明偏信则暗 牛市考验心态

Jenkins调用Powershell脚本时报NativeCommandError

在用Jenkins 调用一个powershell脚本时,输出的log里面有以下奇怪的error信息 1 2 + CategoryInfo : NotSpecified: (:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError 后来Google了一下,发现是Powershell...

HTML中img 和 background-image有什么区别

是否占位 background-image是背景图片,是css的一个样式,不占位 img是一个块状元素,它是一个图片,是html的一个标签,占位 否可操作 background-image是只能看的,只能设置background-position, background-attachment, background-repeat img是一个document对象,它是可以操作的。...

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...