RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /in ...
分类:
Web程序 时间:
2020-11-20 12:03:49
阅读次数:
15
jQuery学习 1.什么是jQuery? jQuery是一个轻量级的JavaScript函数库 特征:”写的少,做的多“ 2.jQuery功能 HTML元素选取 HTML元素操作 CSS操作 HTML事件函数 JavaScript特效和动画 HTML DOM遍历和修改 AJAX Utilities ...
分类:
Web程序 时间:
2020-11-20 12:03:34
阅读次数:
18
<?php function getTagClassContent($url, $tagName, $className) //要抓取的网页, 要抓取的Tag名, 要抓取的Class名 { $doc = new DOMDocument(); @$doc->loadHTML(file_get_cont ...
分类:
Web程序 时间:
2020-11-20 12:00:20
阅读次数:
20
使用工具连接hive: https://blog.csdn.net/weixin_44508906/article/details/91348665代码连接:先从虚拟机上找到 把这三个jar包加到file->Project Structure->Modules->Dependencies 点击ok ...
分类:
其他好文 时间:
2020-11-20 11:51:40
阅读次数:
5
sysrq mm log里Free swap、Total swap是什么含义? [22634.588075] Free swap = 0kB[22634.588076] Total swap = 204796kB get_nr_swap_pages函数返回swap file或者swap device ...
分类:
其他好文 时间:
2020-11-20 11:45:23
阅读次数:
5
colorama test.py #!/usr/bin/env python3 # coding=utf-8 # Version:python3.6.1 # Project:vega # File:test.py # Data:2020/9/16 13:20 # Author:LGSP_Harold ...
分类:
编程语言 时间:
2020-11-20 11:32:53
阅读次数:
8
一、全局配置文件加载优先级 spring boot 启动会扫描以下位置的application.properties或者application.yml文件作为Spring boot的默认配置文件.数值越小的标号优先级越高。 file:./config/ (当前项目路径config目录下); file ...
分类:
编程语言 时间:
2020-11-19 13:00:39
阅读次数:
23
"""获取当前目录"""print(os.getcwd())print(os.path.abspath(os.path.dirname(__file__)))"""获取上一级目录"""print(os.path.abspath(os.path.dirname(os.path.dirname(__fi ...
分类:
编程语言 时间:
2020-11-19 12:59:01
阅读次数:
30
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 通过整合influxdb gitHub地址: https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File → New ...
分类:
数据库 时间:
2020-11-19 12:55:13
阅读次数:
14
一、字符流 字符流概述: 在操作过程中字节流可以操作所有数据,操作的文件中有中文字符,并且需要对 中文字符做出处理 二、字符编码表 文字——>(数字):编码。"abc".getBytes() byte[] 数字——>(文字):解码。byte[] b = {97, 98, 99} new String ...
分类:
编程语言 时间:
2020-11-19 12:49:15
阅读次数:
9