Build your own PHP framework-build the basic structure and framework Basic Structure
First, let's look at why we need to create our own framework?
Why should we create our own framework? If you talk to people around you, everyone will tell you that it is a bad thing to reinvent the wheel. You 'd better choose an existing framework and forget the idea of "creating your own framework. In most cases, they are
Use Sublime to build a Python development environment and use sublime to build python
print ('hello world!')
1. Download python and set the path system environment variable. When you enter python in the command line, the following interface is displayed, indicating that the installation is successful.
Open the sublime sidebar, and choose view> side bar> show side bar ).
Open the sublime console and choos
Practices for using Webpack to build Vue projects, and using webpack to build vue
Recently, some vue + webpack-based attempts have been made in internal projects. After a small scope of discussions with colleagues, many people agree and like it. So I will share this article with more people.
Install the node environment before you start. (The installation process is not too long here)
1. Create a basic stru
Build an andriod development environment and build an andriod Development EnvironmentAs a newbie who has never touched andriod before, I use andriod because I need to create an APP in the graduation project, but before I start my APP, the biggest problem I encountered was how to set up the andriod development environment. I checked a lot of information on the Internet and it was very painful to find the res
A wamp build process and a wamp Build Process
The environment has not been set up for a long time, and this time is still quite smooth.
Let's review how the website runs.
OK. Go to the topic. The wamp version of the environment is as follows:
Apache24: httpd-2.4.26-x64-vc11Php: php-5.6.30-Win32-VC11-x64Mysql: mysql-installer-community-5.5.56
1. the folder path is as follows:
(Because the default path in t
corner.Green indicates success, Orange indicates port is occupied, not started successfully, red stands for stop.Click the green icon to expand the relevant program options.Clicking localhost opens the browser and accesses the first page.Click phpMyAdmin, will open the Database Administration page, we first create a new database , used to install WordPress.Copying WordPress installation filesOpen the source directory and delete the default two files.Unzip the WordPress package and copy all the
It is also a simple Minimum Spanning Tree Algorithm.
However, some new things need to be added, which requires a deep understanding of the Minimum Spanning Tree Algorithm and the use of the query set.
The solution to the problem is also complicated.
#include
The subset enumeration algorithm is required for the given solutions.
In the preceding solution, the binary help subset enumeration method is used, which is only applicable to the subset enumeration algorithm with small set elements.
The a
the command again when the download is complete.Once the download is complete, you can download and install the GCC compiler.Input command: sudo apt-get install g++After the carriage return, the system will automatically download the g++ compiler (you will understand him as an upgraded version of GCC), may be downloaded when the time to stop to ask if you really want to download the general prompt (y/n), enter Y and then return to the good.After completion (after you can enter the command again
Mirror usageSelf-owned certificate usageDocker run-d--name=google \-P 80:80-p 443:443 \Directory for SSL certificates on-V systems:/USR/LOCAL/NGINX/CONF/SSL \-E proxy_google=on \-E proxy_ssl_crt_key=on \-e proxy_crt= your CRT name \-e proxy_key= your KEY name \-e proxy_domain= your domain name \Benyoo/nginx_build:proxy_google
System from the Visa book usageDocker run-d--name=google \-P 80:80-p 443:443 \-E proxy_google=on \-e proxy_domain= your domain name \Benyoo/nginx_build:proxy_googleDocker
0. Install Windows version of the Python compilation environment installation package, can be downloaded on the python.org Web site, this installation path is C:\Python27\
1. Click Preferences on the toolbar to open the browsing package browse Packages. Locate Python in the Open folder, and open the folder. Locate the file Python.sublime-build and open it.
Modify the following:
{
"cmd": ["Python", "-U", "$file"],
"Path": "c:/python27/",
"File_regex":
CMD command does not answer ";"
MySQL command followed by ";"
1. Log in to MySQL as an administrator
Mysql-u root–p
2. Select MySQL Database
Use MySQL;
3. Create a user and set a password
Create user ' test ' @ ' localhost ' identified by ' 123456 ';
4. Make the Operation effective
Flush privileges;
5. Create a database for users
Create DATABASE TestDB;
6, give the user the operation database testdb all permissions
Grant all privileges the testdb.* to
firstAlter tablespace XX offline;Delete the data files on the disk togetherDrop tablespace xxx including contents and datafiles;To delete a user:Drop User xxx;If the user's schema has objects, need to add cascade parameter, that is, drop user xxx cascade;3. Import and Export dataImport of data:(1) Import the data from the D:\DAOCHU.DMP into the test database.Imp System/[email protected] File=d:\daochu.dmpThere may be a problem, because some tables already exist, and then it is an error, and the
WebSocket build tutorial, websocket build
How to build a websocket?
The first step is to compile a simple jsp file, which mainly includes websocket connection and four websocket response events.
Step 2: configure the struts. xml configuration file
Step 3: Compile the background code
// OnOpen this method will be called when we create a connection to the server
Build zepto. js files on mobile terminals and build zepto. js on mobile terminals
Because the files downloaded on zepto's official website http://www.zeptojs.cn/javasdownloadonly contain a few samples, which cannot fully adapt to what we need, and we also need to add the corresponding modules as needed. So we need to build our own zepto. min. js. You can use nod
Using Hudson to build a distributed build environment is very convenient, and the client does not need to perform too many operations, as long as it can execute java commands. Hudson is installed in master mode by default. The master is used as the master environment for Distributed building. The client does not need to install hudson and uses jnlp to establish a connection with the master.
1. Hudson-> S
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.