会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hikk
博客园
首页
新随笔
联系
订阅
管理
2023年11月28日
maven相关配置记录保存
摘要: 一、maven仓路径 1.settings.xml <localRepository>E:\xxx\mavenRepository</localRepository> 2.镜像 <mirror> <id>repo1</id> <mirrorOf>central</mirrorOf> <name>Hu
阅读全文
posted @ 2023-11-28 14:12 鱼的记忆·
阅读(19)
评论(0)
推荐(0)
2023年10月15日
c编译报错
摘要: 记录编译报错信息 1. symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 Undefined symbols for architecture x86_64
阅读全文
posted @ 2023-10-15 19:41 鱼的记忆·
阅读(28)
评论(0)
推荐(0)
2023年9月4日
二分法demo
摘要: # 1.python实现 ```python from math import floor arr = [1, 2, 3, 4, 5, 6, 8, 9, 10, 11] left = 0 right = len(arr)-1 res = 7 while (left res): right = mid
阅读全文
posted @ 2023-09-04 21:46 鱼的记忆·
阅读(108)
评论(0)
推荐(0)
2023年3月1日
nginx反向代理搭建web网站问题
摘要: 搭建过程中遇到的问题记录: 1、ubuntu更改端口号 sudo vi /etc/apache2/ports.conf 修改监听端口以及主机端口为8080 NameVirtualHost *:8080 Listen 8080 sudo vi /etc/apache2/sites-enabled/00
阅读全文
posted @ 2023-03-01 23:03 鱼的记忆·
阅读(95)
评论(0)
推荐(0)
2023年2月10日
函数基础学习整理-python
摘要: 1.数学函数 import math print('-1的绝对值是{}'.format(abs(-1))) print('divmod函数返回商和余数的元祖{}'.format(divmod(9, 3))) # **** print('sum函数求和{}'.format(sum([1, 2, 3])
阅读全文
posted @ 2023-02-10 19:07 鱼的记忆·
阅读(60)
评论(0)
推荐(0)
2023年1月13日
pytest_parametrize indirect间接参数用法
摘要: indirect参数 indirect参数值为True,False 间接用于特定参数 参数值为布尔值的先不看,主要记录下indirect 间接用于特定参数,先看官方demo import pytest @pytest.fixture(scope='function') def x(request):
阅读全文
posted @ 2023-01-13 21:45 鱼的记忆·
阅读(148)
评论(0)
推荐(0)
2022年11月26日
pypiserver搭建私有化仓库
摘要: 一、安装过程 1、安装库 pip install pypiserver 2、选定安装目录 mkdir xxx 3、启动pypiserver服务 pypi-server -p 8080 xxx # 默认开启方式,需要验密 访问:http://localhost:8080/simple/ 4、下载远程包
阅读全文
posted @ 2022-11-26 17:53 鱼的记忆·
阅读(411)
评论(0)
推荐(0)
2022年11月25日
常用redis命令学习总结
摘要: 1、杀掉占用的redis进程 ps -ef |grep redis|awk '{print $2}' |xargs kill -9 2、替换redis_6390.conf配置文件中端口6379为6390 sed -i 's/6379/6390/g' redis_6390.conf 3、统计redis
阅读全文
posted @ 2022-11-25 21:33 鱼的记忆·
阅读(99)
评论(0)
推荐(0)
2022年10月6日
bat批处理脚本修改注册表
摘要: 创建xxx.bat文件: REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v "MachineGuid" /t REG_MULTI_SZ /d E860BCB1-D37E-DBA4-3715-8AB49C131728 /f 参数
阅读全文
posted @ 2022-10-06 21:49 鱼的记忆·
阅读(3080)
评论(0)
推荐(0)
2022年9月30日
git管理多账号
摘要: 管理多个git账号 1、查看已配置的Git账号列表 git config --list 2、查看是否已经配置过全局用户名和邮箱 git config --global user.name git config --global user.email 3、生成SSH keys 生成gitlab秘钥,名
阅读全文
posted @ 2022-09-30 11:24 鱼的记忆·
阅读(97)
评论(0)
推荐(0)
下一页
公告