CentOS7 法一: 1.查看外网是否通畅 ping mirrors.163.com 2.下载repo文件 cd /etc/yum.repos.d wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 3.备份并替换系统的repo文件 mv ...
分类:
其他好文 时间:
2021-02-20 11:54:53
阅读次数:
0
DML:增删改表中的数据 1.添加数据: 语法: insert into 表名(列名1,列名2,...列名n) values(值1,值2,...值n); 注意: 1.列名和值要一一对应。 2.如果表名后,不定义列名,则默认给所有列添加值。 insert into 表名 values(值1,值2,.. ...
分类:
数据库 时间:
2021-02-20 11:48:47
阅读次数:
0
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 1. os.path.abspath(file)返回的是.py文件的绝对路径,也就是settings.py这个文件路径 2. os.path.dirname( ...
分类:
其他好文 时间:
2021-02-20 11:46:09
阅读次数:
0
初识MySQL 只会写代码的是码农;学好数据库,基本能混口饭吃;在此基础上再学好操作系统和计算机网络,就能当一个不错的程序员。如果能再把离散数学、数字电路、体系结构、数据结构/算法、编译原理学通透,再加上丰富的实践经验与领域特定知识,就能算是一个优秀的工程师了。 为什么要学习数据库 1、岗位技能需求 ...
分类:
数据库 时间:
2021-02-19 13:08:11
阅读次数:
0
1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
Misc之数据编码 常见进制 二进制转万物(ascii/morse/绘图/hex) 工具:010editor 常见编码 Ascii Base base64 编码原理:Base64编码要求把3个8位字节转化为4个6位的字节,之后再6位前补两个0,形成8位一个字节的形式,6位2进制能表示的最大数是2的六 ...
分类:
其他好文 时间:
2021-02-16 11:56:57
阅读次数:
0
1、打开centos的yum文件夹 cd /etc/yum.repos.d/ 2、用wget下载repo文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 如果wget命令不生效,说明还没有安装wget工具, yum -y install wge ...
分类:
其他好文 时间:
2021-02-15 12:37:24
阅读次数:
0
删除数据库 语法:DROP DATABASE 数据库名; 使用mysqladmin删除数据库 mysqladmin -u root -p drop bird 使用PHP脚本删除数据库 语法:mysqli_query(connection,query,resultmode); connection 规 ...
分类:
数据库 时间:
2021-02-15 12:16:23
阅读次数:
0
There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and i ...
分类:
其他好文 时间:
2021-02-08 11:44:08
阅读次数:
0
UE4插件 Skills Tree System 4.15-4.26 The Skills Tree plugin offers the following features:-A base Skill class that can modified through Blueprints-Skill ...
分类:
其他好文 时间:
2021-02-08 11:39:47
阅读次数:
0