output for the entire process is as follows:XML code
Copy-rhead Svn://192.168.1.192/placii/staggingarea/xiangqi/facebook svn://192.168.1.192/placii/staggingarea/ Xiangqi/facebook3
Propset subclipse:tags "1538,facebook2,/facebook2,branch
1540,facebook3,/facebook3,branch "E:/myeclipse/workspace/facebook
Switch SVN://192.168.1.192/PLACII/STAGGINGAREA/XIANGQI/FACEBOOK3 e:/myeclipse/workspace/facebook-rhead
At revision 1541.
Add-n E:\myeclipse\workspace\Facebook\
1. Path Summary 1. Java Project 1 File File = new file (""); File.getabsolutepath (); * Using the Java command, the output path is the drive letter where the current Java command stays * F:\workspaces\20141123\demo\bin * using the MyEclipse or Eclipse runtime * F:\workspaces\20141123\demo 2 File File = new file ("/"); File.getabsolutepath (); * Get current drive letter * f:3 URL url = Hello.class.getClassLoader (). GetResource (""); * G
all passed (pass) status, and there is a partial display of warning (warning). Of course, your configuration may be slightly different, so your display results will vary. In fact, the following details are not necessary for all to pass. But part is also necessary, according to conclusion (conclusion) of this paragraph: Your server configuration meets the minimum requirements for yii. (Your server configuration satisfies the minimum requirements by YII.)
To create a new applicationThe installat
First, Introduction
Features: WYSIWYG, support pictures and Flash, toolbar free configuration, easy to use
Compatibility: IE 5.5+, Firefox 1.5+, Safari 3.0+, Opera 9.50+, Netscape 7.1+, Camino 1.0+
Maturity: Widely used, by Baidu, Csdn and other selected
Second, downloadOfficial Downloads Home: http://www.fckeditor.net/download/, current version is 2.5.1
Need to download FCKeditor 2.5.1 (fckeditor_2.5.1.zip) and Fckeditor.java (Fckeditor-2.3.zip)
Third, deploymentThis example uses
included.
Define a resource package
The resource package is specified as the PHP class that inherits yii \ web \ AssetBundle. the package name is the PHP class name that can be automatically loaded. in the resource package class, you must specify the resource location, which CSS and JavaScript files are contained and their dependencies with other packages.
The following code defines the main resource packages used by the basic application template:
In the above AppAsset class, the specified
Capabilities ......, By default, select Spring 1.2 AOP Libraries-(Why do I have to select these two)Note: you may need to add several spring packages under the lib folder,Spring. jar,Spring-1.2.6.jar,Spring-aop.jar,Spring-beans.jar,Spring-context.jar,Spring-core.jar,Spring-orm.jar,Spring-remoting.jar,Spring-support.jar,Spring-web.jar,Spring-webmvc.jar4. write code (pages and required classes)Ø index. jspSelect WebRoot-> New-> JSP under the Welcome_SS
is destroyed, not only by clearing the cookie, otherwise the malicious user can re-restore the cookie and use the session again. All indexes in the $_session can be empty2) Store the session Webroot file on the Web site or store it in a database as a fileThe default path to save the session on the server can be hijacked, especially in a shared host environment.5. Password1) Apply strong passwordPasswords that require numbers, symbols, uppercase and l
This is a constant in Discuz that defines the forum installation root directory. Now let's analyze this simple but very practical constant.
Define (' Discuz_root ', substr (DirName (__file__), 0,-7));This is a constant in Discuz that defines the forum installation root directory. Now let's analyze this simple but very practical constant.let's start by explaining that the absolute path to the common.inc.php file is assumed to be F:\webroot\bbs\include
included.
Define a resource package
The resource package is specified as the PHP class that inherits yii \ web \ AssetBundle. the package name is the PHP class name that can be automatically loaded. in the resource package class, you must specify the resource location, which CSS and JavaScript files are contained and their dependencies with other packages.
The following code defines the main resource packages used by the basic application template:
In the above AppAsset class, the specified
-rt.jarGrant executable permission: chmod +x startup.shOK, you can execute the./startup.sh in the Run directory, you can see the execution effect, if you want your program to run in the background, you can execute the following command:Nohup./startup.sh > Run.log WindowsRun File: Creates a new Startup.bat file in the run directory with the following contents:Java-xms1024m-xmx1024m-xmn512m-xx:permsize=256m-xx:maxpermsize=512m-jar Bboss-rt.jarOK, you can execute the Startup.bat in the run director
Define (' Discuz_root ', substr (DirName (__file__), 0,-7));
This is a constant in Discuz that defines the forum installation root directory. Now let's analyze this simple but very practical constant.
Let's start by explaining that the absolute path to the common.inc.php file is assumed to be F:\webroot\bbs\include\common.inc.php in this article.
This sentence is contained in the include/common.inc.php of Discuz, first we look at the value of the cons
users can restore the cookie and use the session again. You can leave all indexes in $ _ Session empty.2) store the webroot file of the session on the website or the webroot file stored in the database as a fileThe default path for saving sessions on the server can be hijacked, especially in a shared host environment.
5. Password1) Use strong passwordsPassword that requires numbers, symbols, upper and lowe
. node. js has a built-in FS module, so that we can read and write files. To organize a directory, follow these steps:
Myhttpserver
| _____ App. js
| _____ Webroot
| _____ Index.htm
Here, the webroot folder is the home of our static page. We hope that we will be able to access the page from the client if we lose it in the future. You can paste a few lines in the index.htm file. Later we will read them from
I. Introduction
Function: WYSIWYG. Images and Flash are supported. The toolbar is configurable and easy to use.
Compatibility: IE 5.5 +, Firefox 1.5 +, Safari 3.0 +, Opera 9.50 +, Netscape 7.1 +, and Camino 1.0 +
Maturity: widely used and used by Baidu and CSDN
Ii. DownloadOfficial download homepage: http://www.fckeditor.net/download/. the current homepage is 2.5.1.
Download FCKeditor 2.5.1(fckeditor_2.5.1.zip)and fckeditor.java(fckeditor-2.3.zip)
Iii. DeploymentIn this example,
Define ('discuz _ root', substr (dirname (_ file _), 0,-7 ));
This is a constant that defines the Forum installation root directory in discuz. Now let's analyze this simple but practical constant.
First describe this articleArticleAssume that the absolute path of the common. Inc. php file is F: \ webroot \ BBS \ include \ common. Inc. php.
This sentence is included in discuz's include/common. Inc. php. First, let's take a look at the value of the c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.