- 博客(9)
- 收藏
- 关注
转载 mongodb在document存在时update不存在时save
通过mongoose的update和upsert:true实现。http://w3stack.org/question/how-do-i-updateupsert-a-document-in-mongoose/问题:Perhaps it’s the time, perhaps it’s me drowning in sparse documentation and not
2015-12-24 23:05:26 2056
转载 你真的了解word-wrap和word-break的区别吗?
http://www.cnblogs.com/2050/archive/2012/08/10/2632256.html这两个东西是什么,我相信至今还有很多人搞不清,只会死记硬背的写一个word-wrap:break-word;word-break:break-all;这样的东西来强制断句,又或者是因为这两个东西实在是太拗口了,长得又差不多,导致连背都很难背下来。那它们到底是
2015-12-15 04:17:45 423
原创 Zero-width non-breaking space
问题:网页上面“5%”被分成了两行,“10%”在一行内,需要把5%也保持在一行内。解决方法:http://stackoverflow.com/a/11393767/2177408There is no entity reference for ZWNBSP (zero-width no-break space) in HTML, but it, like
2015-12-11 04:15:22 977
转载 Elasticsearch Cheat Sheet
http://elasticsearch-cheatsheet.jolicode.com/ToolsForget about CURL and get a real query tool like Sense.All queries here and in the official guide are simplified to a Sense copy
2015-12-02 07:09:24 831
原创 Get IIS Errors Into Elastic
最近在做一个项目,就是把IIS生成的Error Log导到ElasticSearch中,然后再Kibana上显示出来。大致思路分为如下几步:1. 配置IIS使之能检测服务器端的错误(400-999),并生成Error Log。2. 安装ELK。3. 用logstash解析errorlog,取出需要的数据,发送给ElasticSearch。4. 把logstash作为service在
2015-12-02 05:37:32 830
转载 IIS: Cannot Write Configuration File due to Insufficient Permissions
http://jwcooney.com/2014/05/22/iis-cannot-write-configuration-file-due-to-insufficient-permissions/I was setting up an ASP.NET application in IIS 8 when this error message all of a sudden po
2015-12-02 02:45:02 1927
转载 How to Enable Failed Request Tracing for UNC Hosting
http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/how-to-enable-failed-request-tracing-for-unc-hostingConfiguring Failed Request Tracing and Logging for a Hosting Scenario
2015-12-02 02:43:34 1312
转载 Trace Failed Requests <traceFailedRequests>
https://www.iis.net/configreference/system.webserver/tracing/tracefailedrequestsOverviewThe element allows you to configure failed request tracing for a Web site, application, or directory.
2015-12-02 02:42:30 831
转载 Tutorial: Install Logstash and Kibana on a Windows server
https://www.ulyaoth.net/resources/tutorial-install-logstash-and-kibana-on-a-windows-server.34/This guide should give you a good example of how to setup Logstash on a Windows environment for anyo
2015-12-02 02:31:32 1621
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人