错误报告:原因:我的DHCP服务器也使用了66、67端口,WDS也使用了相同端口。解决办法http://www.danielclasson.com/guide-solving-wds-issue-with-dhcp-port-conflict/HaveyoueverinstalledWDSandDHCPonthesameserver?Usuallythisdoesn’tcauseaproblem,butinsomecases,youwill..
分类:
其他好文 时间:
2016-03-03 14:59:17
阅读次数:
263
ngx.location.capture 是非阻塞的,ngx.location.capture也可以用来完成http请求,但是它只能请求到相对于当前nginx服务器的路径,不能使用之前的绝对路径进行访问,但是我们可以配合nginx upstream实现我们想要的功能。 在nginx.cong中的ht
分类:
其他好文 时间:
2016-03-02 10:45:18
阅读次数:
204
Windows2008-2012和之后的系统改远程管理端口》默认是3389好几次用到》做一下笔记》备用下次主要改注册表的两处地方》1.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\Wds\rdpwd\Tds\tcp]》PortNumber2.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro1Set\..
DOM事件处理有三个阶段: 捕捉阶段(capture phase):从最上层元素,直到最下层(你点击的那个target)元素。路过的所有节点都可以捕捉到该事件。 命中阶段(target phase):如果该事件成功到达了target元素,它会进行事件处理。 冒泡阶段(bubbling phase):
分类:
其他好文 时间:
2016-02-27 16:34:15
阅读次数:
310
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded
分类:
其他好文 时间:
2016-02-27 00:57:08
阅读次数:
230
Android设备用久了,截屏是个麻烦事。更麻烦的是通过qq传到电脑上,倒腾半天。其实用adb命令就可以截屏,然后写个pull的语句就可以拉到电脑上了。文件名为capture.sh, 内容如下:#! /bin/bash
adb shell screencap -p /sdcard/test.png
#adb pull /sdcard/test.png ~/Desktop/test.png
dir=...
分类:
移动开发 时间:
2016-02-21 13:05:06
阅读次数:
287
打开”开始→运行”,输入”regedit”,打开注册表,进入以下路径:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\Wds\rdpwd\Tds\tcp],将PortNumber的值(默认是3389),修改成所希望的端口即可,例如5631。进入以下路径:[HKEY_LOCAL_MACHINE\SYSTEM..
从08开始,sql server 提供了一种叫做 变更数据捕获 cdc(Change Data Capture) 的功能,可以通过启用这个功能,来实现查看数据库中的表对象的数据的变化情况。(我感觉就是有点像sql server 自己提供的用户能直接看懂的数据变化功能)。 根据官方的说法。使用cdc
分类:
其他好文 时间:
2016-02-15 16:29:08
阅读次数:
255
We'll capture groups of characters we wish to match, use quantifiers with those groups, and use references to those groups in String.prototype.replace
分类:
其他好文 时间:
2016-02-15 07:03:48
阅读次数:
461
Let's image tow cases for the following string: var str = `foo foobar foobaz fooboo` First of all: we know how to capture foobar or fooboo: var regex
分类:
其他好文 时间:
2016-02-15 07:03:28
阅读次数:
186