小记
WALKING_CODE
这个作者很懒,什么都没留下…
展开
-
Mac系统远程连接Windows11
一、远程桌面连接Windows111、下载并安装Microsoft Remote Desktop for mac。(Microsoft Remote Desktop for mac简介,下载链接)2、Windows11开启远程桌面。3、为当前Windows11账号设置密码。二、ssh连接Windows111、下载并安装OpenSSH。(OpenSSH官网,下载连接)2、使用ssh命令或ssh工具连接Windows11。原创 2023-07-09 07:10:21 · 1288 阅读 · 0 评论 -
IDEA启动Tomcat控制台中文乱码
问题描述IDEA启动Tomcat后,控制台输出日志中文乱码解决方法第一步,修改IDEA配置找到Editor下的File Encodings,检查Global Encoding,Project Encoding,Default encoding for properties files是否都为UTF-8,若不是,则全部修改成UTF-8第二步,修改VmOption找到Help下的Edit Custom VM Options,添加一行-Dfile.encoding=UTF-8最后一步,原创 2021-05-23 11:23:32 · 473 阅读 · 0 评论 -
Windows10忘记MySQL密码登录
1、启动CMD,越过授权表启动MySQL(需要提前配置MySQL的系统环境变量)mysqld --skip-grant-tables &2、无密码登录mysql -uroot3、修改root密码alter user 'root'@'localhost' identified by '自定义密码';原创 2021-03-16 16:37:23 · 96 阅读 · 0 评论 -
Git下载安装并上传文件至GitHub
一、Git安装1、Git下载,链接地址:Link,安装步骤下一步即可2、在桌面,点击Git Bash Here,打开Git命令行窗口3、配置Git本地用户# 配置用户名git config --global user.name "用户名"# 配置邮箱git config --global user.email "邮箱地址"4、查看Git用户名和邮箱地址git config user.namegit config user.emailgit config --global --原创 2021-02-25 15:16:37 · 147 阅读 · 0 评论 -
Windows下安装MongoDB压缩版
1、官网下载MongoDB zip版(链接)2、解压下载好的MongoDB压缩包,新建安装目录(这里以在 D盘下新建MongoDB文件夹为例作为安装目录)在D盘新建安装文件夹,重命名为MongoDB将解压好的文件拷贝进新建的MongoDB文件夹内进入新建的MongoDB文件夹,在文件夹分别新建data、log文件夹,用于存放数据文件和 日志新建文本文件,重命名为mongo.conf(...原创 2020-03-07 22:11:05 · 209 阅读 · 0 评论 -
which programming language should we learn first?
原创 2019-09-05 13:00:39 · 374 阅读 · 0 评论 -
Windows下MongoDB的安装与配置
1. 配置文件dbpath=D:\MongoDB\datalogpath=D:\MongoDB\log\mongo.loglogappend=truejournal=truequiet=trueport=270172、msi安装包安装,bin文件加入系统环境变量,安装目录下新建mongo.conf文件配置信息如上3、删除服务sc delete MongoDB4、重新载...原创 2019-08-29 23:21:29 · 137 阅读 · 0 评论 -
MySQL的配置安装和卸载
1. my.ini文件[mysqld]#端口port = 3306#mysql安装目录basedir = D:\mysql-8.0.15-winx64#mysql数据存放目录datadir = D:\mysql-8.0.15-winx64\data#允许最大连接数max_connections = 1024#服务端默认使用字符集character-set-server = u...原创 2019-08-29 23:17:53 · 172 阅读 · 0 评论 -
通过Python和Excel自动生成统计报表
import xlrdimport xlwtfrom xlutils.copy import copyxlsx = xlrd.open_workbook('d:/7月下旬入库表.xlsx')table = xlsx.sheet_by_index(0)all_data = []for n in range(1, table.nrows): company = table.c...原创 2019-08-29 22:58:00 · 3268 阅读 · 1 评论 -
Python复制Excel样式
from xlutils.copy import copyimport xlrdimport xlwttem_excel = xlrd.open_workbook('d:/日统计.xls', formatting_info=True)tem_sheet = tem_excel.sheet_by_index(0)new_excel = copy(tem_excel)new_sheet...原创 2019-08-29 22:55:47 · 3833 阅读 · 2 评论 -
mysql数据库root用户实现远程访问
1、打开cmd(win+r输入cmd回车),使用root账户登录mysql#-u后面为用户 名,-p后面为密码mysql -uroot -proot2、使用mysql数据库use mydql3、修改root用户Host属性update user set Host='%' where User='root';update user set Host='%' where User='r...原创 2019-08-23 08:28:14 · 460 阅读 · 0 评论 -
python读写Excel文件
1、读Excel文件import xlrdxlsx = xlrd.open_workbook('C:/7月下旬入库表.xlsx')table = xlsx.sheet_by_index(0)print(table.cell_value(1, 2))2、写Excel文件import xlwtnew_workbook = xlwt.Workbook()worksheet = ne...原创 2019-08-28 22:24:22 · 208 阅读 · 0 评论 -
Git常用命令速查表
转载 2019-07-23 17:25:33 · 91 阅读 · 0 评论