10 2020 档案
摘要:Python库之Elasticsearch 与关系型数据库的对比 关系型数据库 Elasticsearch Databases 库 Indices 索引 Tables 表 Types 类型 Rows 行(记录) Documents 文档 Columns 列(字段) Fields 域(字段) 6.0
阅读全文
摘要:代码文件setup_c.py如下 from distutils.core import setup from Cython.Build import cythonize import os import shutil def all_path(dirname): result = [] # 所有的文
阅读全文
摘要:nginx.conf文件配置(/etc/nginx/nginx.conf) user root; worker_processes 2; events { worker_connections 1024; } http { #user root; include mime.types; defaul
阅读全文
摘要:编辑gitlab配置文件 使用gitlab内置的nginx,修改nginx默认端口,从80变为82。 由于这时候进行了上述的配置,因此,修改下列文件会改变默认值。同时,如果重新运行gitlab-ctl reconfigure,修改并不会被覆盖。 vi /etc/gitlab/gitlab.rb ng
阅读全文
摘要:## python镜像源 ``` 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ douban http://pypi.douban.com/simple Pytho
阅读全文
摘要:#!/bin/bash sourFolder="/home/xuwei/video_zimu/data/" targetFolder="/home/xuwei/video_zimu/zimu_file/" for file in `ls | find ${sourFolder} -name '*.s
阅读全文