Zhao Long's Notes 
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链
  •   
  •   

HTML 获得当前页面路径

假如当前页面的全路径是:http://127.0.0.1:8020/login/getUrl.html?__hbt=1523851552803 1234567891011121314151617181920// 获得全路径。如 http://127.0.0.1:8020/login/getUrl.html?__hbt=1523851552803window.location.href// 获得路径

2020-09-03
HTML
HTML

HTML 页面重定向(自动跳转)

HTML 实现123456<head> <!-- 以下方式只是刷新不跳转到其他页面 --> <meta http-equiv="refresh" content="3"> <!-- 以下方式定时转到其他页面 --> <meta http-equiv="refresh" content="3;url=https://www

2020-09-03
HTML
HTML

Nginx 301 重定向

修改配置文件 1nginx.conf 12345678910111213... server { listen 80; server_name a.xxx.com; location / { return 301 https://b.xxx.com$request_uri;

2020-09-02
Server
Server Nginx

Ubuntu 开启 SSH 服务

SSH 分 openssh-client 和 openssh-server。 如果你只是想登陆别的机器的 SSH 只需要安装 openssh-client,Ubuntu 有默认安装,如果没有则 1sudo apt install openssh-client 如果要使本机开放 SSH 服务就需要安装 openssh-server 1sudo apt install openssh-server

2020-09-02
Linux
Linux Ubuntu

SVN 迁移指定目录

What can it do for us:Migrate a single project from a specify repository to a new svn repository and keep all commit history/Log. E.g.This is the layout of old svn server 1234567891011/ repos/ DL/

2020-09-01
Server
SVN Server
1…2627282930…67

搜索

Hexo Fluid