随笔- 310  文章- 1  评论- 0  阅读- 85655 
12 2020 档案
python读取pdf内容
摘要:#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pdfplumber import time from tqdm import tqdm import pandas as pd def get_balance_table(file): # 阅读全文
posted @ 2020-12-15 00:05 boye169 阅读(226) 评论(0) 推荐(0) 编辑
git基本使用
摘要:git config --global core.autocrlf false 不会自动将UNIX 格式转换为DOS格式 git config --global user.name "liboye" # 配置用户名 git config --global user.email "liboye@126 阅读全文
posted @ 2020-12-04 23:46 boye169 阅读(72) 评论(0) 推荐(1) 编辑
mysql—用户权限
摘要:创建用户、授权用户 create user 'deploy' @'%' identified by '123456' 创建用户 grant select,insert,update,delete on * to deploy 授权用户 flush privileges 立即生效 命令格式 mysql 阅读全文
posted @ 2020-12-04 23:38 boye169 阅读(74) 评论(0) 推荐(0) 编辑
基于Python flask web上传下载文件
摘要:实现简单的文件上传于下载功能(支持多文件上传) #!/usr/bin/env python3# -*- coding:utf-8 -*-import os, sysfrom flask import Flask, render_template, request, send_file, send_f 阅读全文
posted @ 2020-12-02 00:03 boye169 阅读(2682) 评论(0) 推荐(0) 编辑
linux普通用户权限设置为超级用户权限
摘要:添加文件可写权限 chmod 644 /etc/sudoers 编辑/etc/sudoers文件 vim /etc/sudoers 添加下面一行: boye ALL=(ALL) NOPASSWD: ALL 阅读全文
posted @ 2020-12-01 23:24 boye169 阅读(1342) 评论(0) 推荐(0) 编辑
linux-免密操作
摘要:生成秘钥 ssh-keygen -t rsa 复制SSH密钥到目标主机 -方式1 ssh-copy-id -i ~/.ssh/id_rsa.pub test@192.168.2.100 复制SSH密钥到目标主机 -方式2 将本地机器的 ~/.ssh/id_rsa.pub文件内容复制到目标机器的~/. 阅读全文
posted @ 2020-12-01 00:39 boye169 阅读(248) 评论(0) 推荐(0) 编辑
shell-用户权限操作
摘要:创建用户 useradd [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire ] [-p passwd] [-r] name 主要参数 -c:加上备注文字,备注文字保存在passwd的备注栏中。 阅读全文
posted @ 2020-12-01 00:32 boye169 阅读(790) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示