pg9.6 或 pg10 在Windows Server 2012 R2 DataCenter 中使用。 使用如下建库语句,建库时 CREATE DATABASE upmap WITH OWNER = postgres ENCODING = 'UTF8' LC_COLLATE = 'Chinese ...
分类:
编程语言 时间:
2020-06-29 15:32:01
阅读次数:
407
一、脚本 #!/bin/bash #**************************************************** #Date: 2020-06-28 #Author: Damon Ye #FileName: UpTimeMonitor.sh #Description:Th ...
分类:
其他好文 时间:
2020-06-28 12:45:16
阅读次数:
74
Based on Oracle, processing an English character takes 1 byte, but 3 bytes for a Chinese character. For example: select ename, length(ename), lengthb( ...
分类:
数据库 时间:
2020-06-27 20:30:11
阅读次数:
74
词袋模型是一种表征文本数据的方法,可以从文本数据中提取出特征并用向量表示.词袋模型主要包括两件事 构建词汇表 确定度量单词出现的方法 词袋模型不考虑单词在文本中出现的顺序,只考虑单词是否出现. 具体以"双城记"开头为例 收集数据 It was the best of times, it was th ...
分类:
编程语言 时间:
2020-06-27 13:26:29
阅读次数:
77
一 collect_set函数,将某个字段形成一个数组 select course, collect_set(area), avg(score) from stud group by course; chinese ["sh","bj"] 79.0 math ["bj"] 93.5 还可以通过下标取 ...
分类:
其他好文 时间:
2020-06-26 18:05:16
阅读次数:
62
Given a sorted array A of unique numbers, find the K-th missing number starting from the leftmost number of the array. Example 1: Input: A = [4,7,9,10 ...
分类:
其他好文 时间:
2020-06-26 10:52:26
阅读次数:
72
磁盘查看与更改 如何查看linux文件系统类型? df 命令报告文件系统磁盘空间利用率,使用-T选项显示特定的磁盘分区的文件系统类型,-h人类可读方式显示。** ** [root@Qiuyuetao ~]# df -Th Filesystem Type Size Used Avail Use% Mo ...
分类:
其他好文 时间:
2020-06-25 23:50:07
阅读次数:
146
最近测试Zabbix 5.0,去修改语言时发现不能选择“Chinese(zh_CN)”,这个选项在下拉框中是灰色的(无法选择)。提示“You are not able to choose some of the languages, because locales for them are not ...
分类:
编程语言 时间:
2020-06-25 21:34:13
阅读次数:
69
不积跬步无以至千里,不积小流无以成江海!每天一点点,以达到积少成多之效! word2vec 概念,数学原理理解 1.数据集 Kaggle上的电影影评数据,包括unlabeledTrainData.tsv,labeledTrainData.tsv,testData.tsv三个文件 Strange th ...
分类:
其他好文 时间:
2020-06-24 23:51:31
阅读次数:
72
在用element写一个后台管理系统时遇到一个坑,el-table标签渲染出数据后表头th和内容会有错位,之前没有的 修改大小都没用 于是看百度搜索一波最终解决修改之前 虽然不大 但是别扭 在全局添加 css属性 完美解决 有效 body .el-table th.gutter { display: ...
分类:
其他好文 时间:
2020-06-24 23:19:06
阅读次数:
108