会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
py卡卡
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2021年4月29日
Vue el-input实现动态显示type为textarea的文字数量、剩余字数
摘要: <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)
2021年3月22日
linux 源码安装redis6
摘要: 第一步 安装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)
2021年3月19日
mysql 子节点拼接父节点
摘要: 表结构 子节点拼接父节点希望得到结果: 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)
2021年3月1日
python 爬取豆瓣电影top100,保存到Excel
摘要: #!/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)
urllib.request.urlopen 怎样处理了服务器返回的 gzip 乱码数据
摘要: 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)
2020年12月9日
图片点击后可实现放大 缩小 旋转
摘要: <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)
2020年11月26日
centos8 安装lnmp
摘要: 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)
centos8 yum 升级nginx
摘要: 添加nginx yum源 Nginx官网提供了三个类型的版本Mainline version:Mainline 是 Nginx 目前主力在做的版本,可以说是开发版Stable version:最新稳定版,生产环境上建议使用的版本Legacy versions:遗留的老版本的稳定版 sudo vim
阅读全文
posted @ 2020-11-26 14:14 py卡卡
阅读(1631)
评论(0)
推荐(0)
2020年10月16日
gitlab 搭建
摘要: 条件:在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 搭建(基于现有nginx)
摘要: 普通搭建请看: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
下一页
公告