1. 使用 SSH 连接工具,如 PuTTY、XShell、SecureCRT 等,连接 Linux 服务器后(阿里云服务器命令行内直接输入appnode安装命令,版本:mysql选5.7、php选7.2),安装appnode 2. 在阿里云安全组中打开需要的端口,如appnode的8888、red ...
分类:
移动开发 时间:
2018-12-25 18:05:01
阅读次数:
329
Notice 通知级别的错误,程序继续执行 1、直接使用未声明变量 echo $str; 2、输出数组值时没有加引号 $arr =['name'=>'zhangsan','age'=>20]; echo $arr[name]; 3、输出一个不存在的数组下标 $arr =['name'=>'zhang ...
分类:
Web程序 时间:
2018-12-25 11:35:31
阅读次数:
192
文章提纲: 一.实现文件读取和写入的基本思路 二.使用fopen方法打开文件 三.文件读取和文件写入操作 四.使用fclose方法关闭文件 五.文件指针的移动 六.Windows和UNIX下的回车和换行 一.实现文件读取和写入的基本思路: 1.通过fopen方法打开文件:$fp =fopen(/*参 ...
分类:
Web程序 时间:
2018-12-24 16:16:26
阅读次数:
202
clc clear all load imdb.mat [age,~]=datevec(datenum(imdb.photo_taken,7,1)-imdb.dob); fid = fopen('imdb.txt','wt'); for i = 1:length(imdb.photo_taken) ... ...
分类:
其他好文 时间:
2018-12-17 17:36:45
阅读次数:
177
反向代理的理解:https://www.cnblogs.com/zkfopen/p/10126105.html 我是在一台linux服务器上搭建了两个nginx服务器A和B,把静态资源文件甲放在A服务器上,B作为反向代理服务器。 外界访问静态资源文件甲时直接访问B,B从A上获取静态资源文件甲,然后再 ...
分类:
其他好文 时间:
2018-12-16 13:23:50
阅读次数:
131
A:Ehab and another construction problem #include<bits/stdc++.h> using namespace std; #define Fopen freopen("_in.txt","r",stdin); freopen("_out.txt","w ...
分类:
其他好文 时间:
2018-12-09 16:18:51
阅读次数:
192
#include"stdio.h"#include"string.h" void main(){ FILE *fp1,*fp2; char ch[1000]=" ",c; int i=0; fp1=fopen("c1.txt","r"); fp2=fopen("c2.txt","w"); if(fp ...
分类:
其他好文 时间:
2018-12-08 20:18:11
阅读次数:
191
D - Labyrinth 对于位置(i,j), j - c = R - L = const(常数), 其中R表示往右走了几步,L表示往左走了几步 所以R越大, L就越大, R越小, L就越小, 所以只需要最小化L和R中的其中一个就可以了 由于每次变化为0或1,所以用双端队列写bfs, 保证最前面的 ...
分类:
其他好文 时间:
2018-12-07 21:13:06
阅读次数:
203
参考:https://blog.csdn.net/wei_guo_xd/article/details/74451443 下载程序,git clone https://github.com/Orpine/py-R-FCN.git打开py-R-FCN,下载caffegit clone https:// ...
分类:
其他好文 时间:
2018-12-02 16:47:10
阅读次数:
130
01: #include<bits/stdc++.h> using namespace std; #define Fopen freopen("_in.txt","r",stdin); freopen("_out.txt","w",stdout); #define LL long long #def ...
分类:
其他好文 时间:
2018-12-01 20:06:21
阅读次数:
175