1、vim编辑代码设置:sudo vim /etc/vim/vimrc... set autoindent " 设置每次单击Enter键后,光标移动到下一行时与上一行的起始字符对齐 set cindent set number "display line number set ts=4 "tabsp ...
分类:
系统相关 时间:
2021-06-15 17:59:34
阅读次数:
0
图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。 一、Ubuntu中软件安装方法 1、APT方式 (1)普通安装:apt-get install softname1 ...
分类:
系统相关 时间:
2021-06-15 17:31:58
阅读次数:
0
You are given an array aa of nn integers. Find the number of pairs (i,j)(i<j)where the sum of ai+ajai+aj is greater than or equal to l and less than o ...
分类:
编程语言 时间:
2021-06-13 10:56:21
阅读次数:
0
1 分组求TopN 一、先看数据: 使用HiveSQL常用的方式为: Select * from table, row_number() over(partition by item order by score desc) rank where rank<=2; 二、输出结果为: 三、解析:row ...
分类:
数据库 时间:
2021-06-13 10:48:09
阅读次数:
0
遇到的问题(1)error LNK2019: 无法解析的外部符号 __imp____glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用(2)error LNK2019: 无法解析的外部符号 __imp____glutCreateWindow ...
分类:
其他好文 时间:
2021-06-13 10:02:17
阅读次数:
0
nginx.conf配置 #user nobody; user www www; worker_processes 8; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log in ...
分类:
其他好文 时间:
2021-06-13 09:55:40
阅读次数:
0
The pair sum of a pair (a,b) is equal to a + b. The maximum pair sum is the largest pair sum in a list of pairs. For example, if we have pairs (1,5), ...
分类:
其他好文 时间:
2021-06-13 09:41:48
阅读次数:
0
1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db ...
分类:
数据库 时间:
2021-06-13 09:30:56
阅读次数:
0
PUT nba { "settings":{ "number_of_shards": 1, "number_of_replicas": 0 }, "mappings":{ "properties":{ "name_cn":{ "type":"text" }, "name_en":{ "type":" ...
分类:
移动开发 时间:
2021-06-11 17:45:22
阅读次数:
0
Redis的数据类型和底层数据结构 Redis的数据类型 string字符串类 Redis的String能表达3种值的类型:字符串、整数、浮点数 常见操作命令如下表: 命令名称命令格式命令描述 set set key value 赋值 get get key 取值 getset getset key ...
分类:
其他好文 时间:
2021-06-10 18:04:56
阅读次数:
0