The environment is as follows:
CentOS (pptpServer) public network IP win7 (PPTP client) intranet IP
When using the client to connect to the server, report the network error 619.
Use mobile phone WiFi hotspots, client connect hotspots, then use VPN, report error 619.
Log on the CentOS server. The following are the same errors.
Aug 31 11:07:36 pptpd[9162]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)Aug 31 11:07:36 pptpd[9162]: CTRL: Client 14.16.135.232 control connection finishedAug 31 11:07:47 pptpd[9214]: ...
1 create or replace procedure procedure_name --Stored procedure name
2 (
3 --Input / output quantities _name in out quantity type
4 --e.g.
5 username in varchar2, --varchar2Type does not need to indicate length.
6 id out number(38)
7 )
8 is/as
9 --Basically, is and as are the same, but slightly different, in this section you declare variables and constants // like the declare section in the PL / SQL statement block
10
11 --Variable / constant ...
> function takes two dimensional array sorting:
The array format is as follows:
$goods = array(
0 => array(
“id”=>1,
“tag”=>array(
“price”=>”10”,
“old_price”=>”20”
)
),
1 => array(
“id”=>2,
“tag”=>array(
“price”=>”30”,
“old_price”=>”100”
)
),
2 => array(
“id”=>3,
“tag”=>array(
“price”=>”25”,
“old_price”=>”70”
)
...
Original text: https://blog.csdn.net/iamzhangzhuping/article/details/49203981
I. ldconfig
ldconfigIs a dynamic link library management command, in order to make the dynamic link library shared by the system, also need to run the dynamic link library management command – ldconfig. The purpose of the ldconfig command is mainly in the default search directory (/lib and /usr/lib) and dynamic library allocation.Locate the directory listed in the file / etc / ld. so. conf, search for a shared dynamic link library (in the format lib *. so *) and create the connection and cache files n...
User experience can be said to be the top priority of the front-end, product comfort is an important measure of user experience, it can be said that the quality of user experience directly affects the site or application development prospects, (state-owned app added).
This article refers to the use of mouse cursor status indication in user experience.
Actual experience case please move.Here
PCWe usually use different mouse cursors to represent the corresponding operation instructions in different scenarios.
For example, where we can click, we make the mouse into a small hand, where we can dra...
Sometimes when you import fbx, you don’t need to create material, you set importMaterials to false, and if you hit AssetBundle on fbx, you’ll get Default-Material and Stander 1Getting into the bag, resulting in resource redundancy.
Solution: add the following code to AssetPostprocessor:
public Material OnAssignMaterialModel(Material m,Renderer r)
{
var importer = assetImporter as ModelImporter;
if(importer != null && importer.importMaterials == false)
{
return CommonMaterial; //A material resource stored locally}return null;
...
fis3 Static resources store windows: C:\Users\Administrator\AppData\Local\.fis3-tmp
This time we will mainly discuss the array (array) type and slice (slice) type of Go language. They sometimes confuse beginners. They all belong to the type of collection class, and their values can also be used to store values (or elements) of a certain type.
The most important difference, however, is that the values of the array type (hereinafter referred to as arrays) are fixed in length, and the values of the slice type (hereinafter referred to as slices) are variable in length.
The length of an array must be given when it is declared, and it will not change after that. It can be sa...