首先,在linux系统的/etc/init.d/目录下创建nginx文件,使用如下命令: vim /etc/init.d/nginx 在脚本中添加如下命令: #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # ...
分类:
其他好文 时间:
2020-03-06 23:45:52
阅读次数:
78
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
编程语言 时间:
2020-03-06 23:44:46
阅读次数:
76
获取当前地图的行政区 getCity() <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>map</title> <script type="text/javascript" src="https://web ...
今天在使用从后端到前段输出js时,出现了点小问题,下决心彻底整理下两个的主要区别,教科书式的讲解不说,就用测试例子, 1、var可以先用后定义,let不可以 <!DOCTYPE html> <html> <script type="text/javascript"> function test() ...
分类:
其他好文 时间:
2020-03-06 17:43:17
阅读次数:
69
来自 stackoverflow DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" ...
分类:
其他好文 时间:
2020-03-06 15:35:03
阅读次数:
54
import React, { Component } from 'react'; import Particles from 'react-particles-js'; import { Form, Button } from 'antd'; import { connect } from 're ...
分类:
Web程序 时间:
2020-03-06 15:32:50
阅读次数:
97
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></sc ...
分类:
其他好文 时间:
2020-03-06 15:21:40
阅读次数:
66
鼠标点击空白处会产生指定的文字: 首先你需要申请JS权限,然后在后台管理页脚 HTML 代码中添加JS代码,最后保存即可。 JS具体代码如下: <script type="text/javascript"> /* 鼠标特效 */ var a_idx = 0; jQuery(document).rea ...
分类:
其他好文 时间:
2020-03-06 15:11:57
阅读次数:
62
for循环遍历 let array = ['a','b','c']; for (let i = 0;i < array.length;i++){ console.log(array1[i]); // a b c } 用for in的方遍历数组 for(let index in array) { co ...
分类:
编程语言 时间:
2020-03-06 15:05:39
阅读次数:
88
USE [Text] GO /****** Object: StoredProcedure [dbo].[TT] Script Date: 2020/3/6 11:37:45 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- -- ...
分类:
数据库 时间:
2020-03-06 13:21:19
阅读次数:
102