出处:http://dusted.codes/demystifying-aspnet-mvc-5-error-pages-and-error-logging Error pages and error logging, both so elementary and yet so complex in ASP.NET MVC. Perhaps complex is not entirely true, but it is certainly not very straight forward fo…
How to get the xpath by clicking an html element How to get the xpath by clicking an html element Quick Tip: Outline Elements on Hover Quick Tip: Outline Elements on Hover…
Quick Tip: How to Add Syntax Highlighting to Any Projectpublic String showAllArticleForPage() throws Exception{HttpServletRequest request = ServletActionContext.getRequest();String username=(String) ActionContext.getContext().getSession().get("user&q…
http://stuffandtech.blogspot.jp/2012/03/android-quick-tip-adb-over-wifi.html MAR 26 Android Quick Tip - ADB over WiFi Someone I had the pleasure of working with recently showed me something extremely cool for Android development. It is simply that…
今天在学习laravel的路由模型绑定时,在按照文档执行php artisan migrate时报错. In Connection.php line 664: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(…
After checked the requirements on Hyper-v by run "systeminfo.exe" in cmd window, then I enable the all the Hyper-V features including two options, but failed to start Hyper-V quick create app, it only show "not found" dialog, I've to s…
hapi automatically responds with JSON for any error passed to a route's reply()method. But what if your application needs errors rendered in HTML? This lesson shows how to implement friendly HTML error messages using hapi extension events. const Hapi…
Abstract: An ASP .NET application must enable custom error pages in order to prevent attackers from mining information from the framework's built-in error responses. Explanation: ASP .NET applications should be configured to use custom error pages in…
原文: https://securitynews.sonicwall.com/xmlpost/massive-cryptojacking-campaign/ SonicWall is observing a massive Cryptojacking malware that is spreading aggressively throughout Brazil. The Malware attempts to exploit the vulnerability CVE-2018-14847 b…
一.简介 目的:构建小型WEB站,具备SSL. mini_httpd is a small HTTP server. Its performance is not great, but for low or medium traffic sites it's quite adequate. It implements all the basic features of an HTTP server, including: GET, HEAD, and POST methods. CGI. Bas…