上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: <el-form-item label="主厨描述"> <el-input v-model="chef_desc" :autosize="{ minRows: 2, maxRows: 4}" type="textarea" maxlength="128" @input="descInput" pla 阅读全文
posted @ 2021-04-29 10:29 py卡卡 阅读(2662) 评论(0) 推荐(0)
摘要: 第一步 安装redis去官网下载最新的redis版本 安装官网上的步骤来就行了 非常简单 进入自己选择的安装路径 cd /data/package $ wget https://download.redis.io/releases/redis-6.2.1.tar.gz $ tar xzf redis 阅读全文
posted @ 2021-03-22 13:48 py卡卡 阅读(58) 评论(0) 推荐(0)
摘要: 表结构 子节点拼接父节点希望得到结果: sql 语句: SELECT b1.id AS 'ID', IF( b1.detail_index = '', CONCAT(b2.detail_index, '_', '子类'), IF( b1.parent_id = 0, b1.detail_index, 阅读全文
posted @ 2021-03-19 09:10 py卡卡 阅读(221) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/2/7 16:23 # @Author : from bs4 import BeautifulSoup import re import xlwt import urllib.r 阅读全文
posted @ 2021-03-01 15:19 py卡卡 阅读(334) 评论(0) 推荐(0)
摘要: urlopen 函数不会自动处理服务器返回的 gzip 数据,出现类似 \x1f\x8b\x08\x00 的乱码。 Request header 中的 Accept-Encoding 属性如果为 gzip,服务器返回的是 gzip 压缩后的数据,如下所示: import urllib.request 阅读全文
posted @ 2021-03-01 15:08 py卡卡 阅读(738) 评论(0) 推荐(0)
摘要: <div> <img alt="" onclick="showImg(this)" src="https://realcan-prescription-test.oss-cn-qingdao.aliyuncs.com/20201209/1607494454.jpg"> <img alt="" onc 阅读全文
posted @ 2020-12-09 16:01 py卡卡 阅读(622) 评论(0) 推荐(0)
摘要: 1. 最小化安装 2. 配置基本信息 hostnamectl set-hostname aaa_name 为了每次系统重新启动时,都可以获取更大的ulimit值,将ulimit 加入到/etc/profile 文件底部。 echo ulimit -n 65535 >>/etc/profile sou 阅读全文
posted @ 2020-11-26 14:41 py卡卡 阅读(849) 评论(0) 推荐(0)
摘要: 添加nginx yum源 Nginx官网提供了三个类型的版本Mainline version:Mainline 是 Nginx 目前主力在做的版本,可以说是开发版Stable version:最新稳定版,生产环境上建议使用的版本Legacy versions:遗留的老版本的稳定版 sudo vim 阅读全文
posted @ 2020-11-26 14:14 py卡卡 阅读(1631) 评论(0) 推荐(0)
摘要: 条件:在CentOS系统上安装所需的依赖:ssh,防火墙,postfix(用于邮件通知) ,wget,以下这些命令也会打开系统防火墙中的HTTP和SSH端口访问。 内存不小于2G 添加GitLab镜像源并安装gitlab服务器 wget https://mirrors.tuna.tsinghua.e 阅读全文
posted @ 2020-10-16 10:49 py卡卡 阅读(186) 评论(0) 推荐(0)
摘要: 普通搭建请看:gitlab 搭建 一.gitlab搭建 1.添加GitLab镜像源并安装gitlab服务器 wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm 阅读全文
posted @ 2020-10-16 10:45 py卡卡 阅读(1067) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页