随笔- 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): #
阅读全文
git基本使用
摘要:git config --global core.autocrlf false 不会自动将UNIX 格式转换为DOS格式 git config --global user.name "liboye" # 配置用户名 git config --global user.email "liboye@126
阅读全文
mysql—用户权限
摘要:创建用户、授权用户 create user 'deploy' @'%' identified by '123456' 创建用户 grant select,insert,update,delete on * to deploy 授权用户 flush privileges 立即生效 命令格式 mysql
阅读全文
基于Python flask web上传下载文件
摘要:实现简单的文件上传于下载功能(支持多文件上传) #!/usr/bin/env python3# -*- coding:utf-8 -*-import os, sysfrom flask import Flask, render_template, request, send_file, send_f
阅读全文
linux普通用户权限设置为超级用户权限
摘要:添加文件可写权限 chmod 644 /etc/sudoers 编辑/etc/sudoers文件 vim /etc/sudoers 添加下面一行: boye ALL=(ALL) NOPASSWD: ALL
阅读全文
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文件内容复制到目标机器的~/.
阅读全文
shell-用户权限操作
摘要:创建用户 useradd [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire ] [-p passwd] [-r] name 主要参数 -c:加上备注文字,备注文字保存在passwd的备注栏中。
阅读全文