GitHub简介 GitHub基本功能 GitHub使用 1.Github简介 GitHub 是一个面向开源及私有软件项目的托管平台,因为只支持 Git 作为唯一的版本库格式进行托管,故名 GitHub。 GitHub 于 2008 年 4 月 10 日正式上线,除了 Git 代码仓库托管及基本的 ...
分类:
其他好文 时间:
2020-05-28 13:42:26
阅读次数:
66
一、获取第一张图片 获取ueditor内容,并获取第一张图片url let editHtml = window.myEditor.getContent() let cover = this.getFirstImg(editHtml) getFirstImg (html) { var a = html ...
分类:
其他好文 时间:
2020-05-28 13:11:55
阅读次数:
108
1、关闭和停止NetworkManager服务(一定要关闭,不关会对做bonding有干扰)systemctlstopNetworkManager.service#停止NetworkManager服务systemctldisableNetworkManager.service#禁止开机启动NetworkManager服务2、加载bonding模块modprobe--first-timebondin
分类:
其他好文 时间:
2020-05-28 11:32:32
阅读次数:
87
INSERT INTO 插入一条语句 -- INSERT INTO INSERT INTO customers ( first_name, last_name, birth_date, address, city, state, points) VALUES ( 'John', 'Smith', ' ...
分类:
其他好文 时间:
2020-05-28 01:10:58
阅读次数:
96
主要是对SELECT子查询进行嵌套使用 对于某些问题不容易解决, 可以考虑使用子查询 -- Find products that are more -- expensive than Lettuce (id = 3) USE sql_store; SELECT * FROM products WHE ...
分类:
其他好文 时间:
2020-05-28 01:09:45
阅读次数:
98
一、子查询 含义:出现在其他语句中的select语句,称为子查询或内查询 分类:按子查询出现的位置: select后面:仅仅支持标量子查询 from后面:支持表子查询 where或having后面:标量子查询(单行)、列子查询(多行)、行子查询 exists后面(相关子查询):表子查询 按结果集的行 ...
分类:
数据库 时间:
2020-05-26 12:02:56
阅读次数:
108
搭建一个Vue项目,名称 first-vue 首先确保已安装了Node.js环境,可参考我的上一篇文章https://www.cnblogs.com/wljking/p/12952698.html 搭建vue项目流程如下: 1 全局安装vue-ci 使用vue-cli来搭建整个项目,vue-cli就 ...
分类:
其他好文 时间:
2020-05-26 01:33:44
阅读次数:
581
UVA679.小球下落 A number of K balls are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first visi ...
分类:
其他好文 时间:
2020-05-26 00:56:03
阅读次数:
58
1.使用GET方式抓取数据,GET方法用于获取或者查询资源信息 #导入requests包 import requests #网址 url = 'http://www.cntour.cn/' #GET方式,获取网页数据 strhtml = requests.get(url) #strhtml是一个ur ...
分类:
编程语言 时间:
2020-05-26 00:49:54
阅读次数:
120
For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2. Input The first line ...
分类:
其他好文 时间:
2020-05-25 19:26:17
阅读次数:
61