我们在ASP.net中使用URL导向后,
我们在访问某个地址,或者打开某个系统页面的时候,就会报错误:A potentially dangerous Request.Path value was
detected from the clientat System.Web.HttpRequest.Va...
分类:
其他好文 时间:
2014-05-18 20:06:41
阅读次数:
379
脚本名:power.sh脚本内容:Shell代码 #!/bin/sh username3=$1
dir_name2=$2 # get existing directory file_path=$dir_name2 while true do if [ -d
$fil...
分类:
系统相关 时间:
2014-05-18 18:49:24
阅读次数:
319
环境:jenkins+maven+nginx+tomcat
在执行jenkins job发布项目到远程服务器,服务器使用nginx+tomcat。默认使用80端口,通过nginx转发请求。在执行tomcat:redeploy时,出现下面的错误:
[ERROR] Failed toexecute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:red...
分类:
其他好文 时间:
2014-05-18 13:38:52
阅读次数:
510
class file_send
{
public:
SOCKET send_s; //The socket that used for sending which is established previously
char * filename; //The full path of the file that the client...
1、
??
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below...
分类:
其他好文 时间:
2014-05-18 03:25:06
阅读次数:
301
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-18 02:11:19
阅读次数:
302
1.环境变量的配置:path键 值:bin文件夹的位置 classpath键
值:.2.第一个HelloWorld:public class Hello{ public static void main(String args[]){
System.out.print("Hello World!"....
分类:
移动开发 时间:
2014-05-17 21:41:13
阅读次数:
460
Windows下首先安装MinGW, 将C:\MinGW\bin
加入环境变量,重启Sublime在Tools –> Build System –> New Build
System…{"cmd":["g++","${file}","-std=c++11","-o","${file_path}/${...
分类:
其他好文 时间:
2014-05-17 20:53:17
阅读次数:
206
JDK目录/usr/javapath配置JAVA_HOME=/usr/javaexport
JRE_HOME=/usr/java/jreexport
CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATHexport PATH=$JAVA_HOME/b...
分类:
其他好文 时间:
2014-05-17 20:41:50
阅读次数:
262
以下为置JAVA_HOME,CLASSPATH,PATH的目的: 1,设置JAVA_HOME:
一、为了方便引用,比如,你JDK安装在C:\Program Files\Java\jdk1.6.0目录里,则设置JAVA_HOME为该目录路径,
那么以后你要使用这个路径的时候, 只需输入%JAVA_HO...
分类:
编程语言 时间:
2014-05-17 19:20:06
阅读次数:
306