Rojer的个人博客
  • 首页
  • 归档
  • 分类
  • 标签
  • 私人笔记

GitLearn

1. windows下 出现Filename too long错误原因:windows下文件名的长度限制为255个字符,而git的版本库路径中包含了很多文件,所以导致文件名超出限制。 解决方法: 输入命令: git config --system core.longpaths true重新尝试 push/pull。 2. git pull出现fatal: refusing to merg
2024-08-27

Redis使用

yum install -y gcc 如果遇到找不到域名的报错, 参考这篇文档https://blog.csdn.net/gnwu1111/article/details/140172717?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-140172717-
2024-07-24

Shiro and Sa-Token Learn

Shirohttps://www.w3cschool.cn/shiro/co4m1if2.html shiro 简介Subject: 主体,代表了当前 “用户”,这个用户不一定是一个具体的人,与当前应用交互的任何东西都是 Subject,如网络爬虫,机器人等;即一个抽象概念;所有 Subject 都绑定到 SecurityManager,与 Subject 的所有交互都会委托给 Securit
2024-05-23

deploy-my-blog

1. 安装 openresty1.1 安装依赖库1yum install libpcre3-dev libssl-dev perl make build-essential curl 1.2 编译并安装 openresty12345tar -xzvf openresty-VERSION.tar.gzcd openresty-VERSION/./configure --prefix=/usr/loc
2024-05-10
#start

bash-learn

0. 自定义vim /etc/profile.d/ cust_PS1.sh 12345678# 修改提示语格式PS1="[\u@47.97.104.205 \w #\#]\$ "# 修改别名alias list="declare -a"alias int="declare -i"alias map="declare -A&quo
2024-04-23
#note

nginx-learn

安装 yum install -y gcc pcre pcre-devel zlib zlib-devel ./configure –prefix=/usr/local/nginx –with-http_gzip_static_module make make install 12345678910111213141516vi /usr/lib/
2024-04-22
#note

python-learn

1. __str__ __iter__ __getitem__ __getattr__https://www.liaoxuefeng.com/wiki/1016959663602400/1017590712115904 2. @property 可以把方法变成属性来调用,而且可以控制读写性3. 使用 type() 可以创建一个类 4. 元类 metaclasshttps://www.liaox
2024-04-22
#note

搜索

Hexo Fluid