最新 | 最热门 | 最高评价

+0  LoadLibrary 无法加载 DLL 的 bug 处理

Tag: Windows | 调试
云风 发于 2018年03月15日 10:40 | 点击: 2077 | 展开摘要
今天我们的小伙伴在把 Open Asset Import Library 封装成 lua 库的时候遇到一些麻烦。他在 vs 集成环境中编译的版本可以用,在 mingw-gcc 下却出错,报告 “找不到指定的模块。” 或是 “找不到指定的程序。" 。

我不得不吐槽,微软真是太有钱了,雇了一大帮人把出错信息都给国际化,这叫中国程序员怎么 google 问题啊。不太懂 windows ,反正我用 export LANG= 切换了 locale 为 C 还是不能把这段用 Forma

查看全文: http://www.udpwork.com/item/16723.html

+0  Automatically mount USB 3 attached to my wifi router

Tag: Linux | Technology | Windows
Haidong Ji 发于 2018年02月04日 06:18 | 点击: 2543 | 展开摘要
As discussed here, I have Seagate Ultra Slim USB 3 attached to my wifi router as a NAS (Network-attached storage). It provides a good backup/sharing storage for my home network that’s accessible from all my home computing devices, whi

查看全文: http://www.udpwork.com/item/16646.html

+0  Accessing external USB disk attached to my ASUS RT-AC68U router

Tag: Linux | Technology | Windows
Haidong Ji 发于 2017年12月06日 11:46 | 点击: 2470 | 展开摘要
I have my own cloud storage server using ownCloud for many years now, and love it. It’s like DropBox, only better.

However, even with that, it’s still nice to have a shared storage for my home network. So today I bought a Seata

查看全文: http://www.udpwork.com/item/16525.html

+0  Windows 下重定向当前进程的 stdout 到网络连接

Tag: Windows
云风 发于 2017年11月24日 15:37 | 点击: 2296 | 展开摘要
前段时间碰到一个需求,想把当前进程的标准输出重定向到一个 tcp 连接上。

如果依照 posix 标准,调用一下 dup2 这个 api 就能搞定,但是 windows 并不是基于 posix 标准的操作系统,所以做起来要麻烦的多。

我在 stackoverflow 和 msdn 上找了一番,没有看到什么靠谱的做法,所以自己折腾了一天。这里的难点在于:windows 上虽然有 _dup2 来模拟 posix 的 api dup2 ,但 fd 在 windows 上并不是内

查看全文: http://www.udpwork.com/item/16504.html

+0  为什么 Windows 的文件系统会有盘符,使用反斜杠分割路径

Tag: Windows | 杂记
云风 发于 2017年02月24日 22:35 | 点击: 2203 | 展开摘要
今天同事在公司群里贴了张屏幕截图,上面有30+ 个盘。从 C: 排到 Z: , 然后还有 CC: CD: ,调侃问 Windows 能管理多少个盘。

图应该是 P 出来搞笑的,除去 A B 盘保留给已经淘汰的软驱用外,windows 超过 Z 盘后就不在能增加了。如果有更多储存设备,则需要用把设备挂接在空目录上(ntfs 支持)。

为什么 Windows 会有盘符这个诡异的东西呢?

按如非必要、勿增实体的原则,只用路径就够了呀。物理分区完全可以隐藏在文件系统之后,在 U

查看全文: http://www.udpwork.com/item/16123.html

+0  No 32-bit for SQL Server 2016 Express

Tag: SQLServer | Technology | Windows
Haidong Ji 发于 2016年09月01日 23:43 | 点击: 2657 | 展开摘要
I’ve learned that SQL Server 2016 Standard and Enterprise Editions no longer provide 32-bit. But I do wonder about SQL Server 2016 Express Edition. It’s different in that it’s free, and mostly geared toward lightweight usa

查看全文: http://www.udpwork.com/item/15773.html

+0  Adding attachment to Outlook 2016 email

Tag: Technology | Windows
Haidong Ji 发于 2016年07月15日 23:48 | 点击: 2300 | 展开摘要
A couple of months ago Outlook 2016 on my old PC (Windows 10) started misbehaving:

Clicking “Attach File” to add an attachment from my PC to an email message;

A window would show up. When it worked, I would be able to move the

查看全文: http://www.udpwork.com/item/15676.html

+0  SQL Server best practice: grant permissions to per-service SID

Tag: SQLServer | Technology | Windows
Haidong Ji 发于 2016年05月20日 13:03 | 点击: 2233 | 展开摘要
Since Windows Server 2008/Windows Vista, from SQL Server 2008 onward, SQL Server installation process automatically generates per-service security identifier (SID). Whenever possible, it is recommended to grant rights to this service SID fo

查看全文: http://www.udpwork.com/item/15510.html

+0  Yanking and sorting lines matching a pattern

Tag: Linux | Technology | Windows
Haidong Ji 发于 2015年06月12日 11:37 | 点击: 2292 | 展开摘要
One of the best investments I’ve ever made is to be proficient with a good cross-platform editor, in my case Vim. It took me a good few months before I really became comfortable with it, but those few months’ struggle yielded hu

查看全文: http://www.udpwork.com/item/14302.html

+0  Grant full permission to Windows folders and files

Tag: PowerShell | SQLServer | Technology | Windows
Haidong Ji 发于 2015年01月21日 02:13 | 点击: 2791 | 展开摘要
For a Windows application or service, it is often necessary for either the user or service startup account to have full control to its folders and files. In most cases, this is transparent to the user. It is generally being taken care of by

查看全文: http://www.udpwork.com/item/13775.html

+0  配置windows上的git commit时的默认编辑器

Tag: php | git | vim | windows
Volcano 发于 2014年06月27日 18:52 | 点击: 4480 | 展开摘要
在Win下使用github的Git Shell,每次commit时都会弹出记事本,使用不是太爽,想换成vim才顺手。操作步骤如下 安装gvim 将gvim的目录加入Path环境变量中,在 我的电脑 – 属性 - 高级 - 环境变量中修改 配置git git config --global core.editor gvim 重启Git Shell即可生效!

查看全文: http://www.udpwork.com/item/12684.html

+0  JiMetrics now gathers SQL Server startup account

Tag: PowerShell | SQLServer | Technology | Windows
Haidong Ji 发于 2014年06月17日 09:26 | 点击: 2970 | 展开摘要
During the last few days, I’ve refactored JiMetrics and added a new function:

Used Pester to create more test cases for PowerShell functions I wrote;

Enhanced the design and code so JiMetrics also gathers SQL Server instance’s

查看全文: http://www.udpwork.com/item/12637.html
|<<<123456>>>| 一共6页, 69条记录