想人陪夏天

文章
6
资源
0
加入时间
3年1月12天

nginx设置404页面跳转nginx设置404页面跳转

nginx设置404页面跳转目录1 nginx设置404错误指向页面2 制作一个404.html页面3 重启nginx使配置生效4 避免出现404错误5 roboot.txt屏蔽404页面6 nginx对404页面进行301重定向如果网页的链接地址改变了,在通过这个地址访问的时候会返回一个错误码404.表示没有找到该地址内容.这个在建站初期是很容易发生的事.我的文章开始是通过中文名作为URL的,后...

MyBatis + MyBatis Plus日期范围的查询问题

情况1:从前端接收到字符串类型的日期 <if test="startTime!=null and startTime.trim() neq ''"> and date_format(p.create_time,'%Y-%m-%d %H:%i:%s') >= str_to_date(#{startTime},'%Y-%m-%d %H:%i:%s') </if> <if test

CF962E Byteland, Berland and Disputed Cities

思路:http://codeforces.com/blog/entry/58869。实现: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int MAXN = 200005; 5 int t[MAXN], n; 6 char c[MA...

rt-thread AT设备EC20获取GNSS信息

EC20的某些版本,如EC20CEFILG-128-SGNS是具有GPS定位功能的,参照手册有对应的AT指令集可以读取,通过at_exec_cmd可以很方便的执行。#include <rtthread.h>#define DBG_TAG "main"#define DBG_LVL DBG_LOG#include <rtdbg.h>#include <at.h>static void show_