上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 68 下一页
摘要: docker postgresql 启动异常 一般是非正常的关闭 造成事务的日志文件损坏了 ==这个基本就是数据会消失== 还不如重新设置容器来的简单 恢复办法 关闭或者删除当前容器 使用交互方式启动 docker run -it -v /Users/jimogangdan/data/pgsql:/ 阅读全文
posted @ 2022-11-22 15:43 vx_guanchaoguo0 阅读(129) 评论(0) 推荐(0)
摘要: 无锁方案就是 lock-free 一般多个线程写文件 三步 open seek write linux io 两个原子操作 open o_create write o_appned java 测试 import java.io.BufferedWriter; import java.io.FileW 阅读全文
posted @ 2022-11-18 09:41 vx_guanchaoguo0 阅读(32) 评论(0) 推荐(0)
摘要: 全家桶都可以用 新版的UI 安装步骤 插件地址 https://github.com/guanchaoguo/blog_download_files/blob/master/files/new_ui_preview.jar 阅读全文
posted @ 2022-11-17 09:20 vx_guanchaoguo0 阅读(27) 评论(0) 推荐(0)
摘要: 很多web 框架中经常看到slug的使用 什么是slug? slug 是一种术语 意为 爬行虫 鼻涕虫 使用使用包含数字 字母 下划线的 的 短标签 有什么用呢? 有利于seo的优化 一般的参数 例如 news-article-title 用在什么地方? 一般是用于web框架的 url的解析和处理 阅读全文
posted @ 2022-11-15 16:07 vx_guanchaoguo0 阅读(664) 评论(0) 推荐(0)
摘要: 新建一个目录 mkdir example 基本说明文件 README.rst LICENSE setup.cfg setup.py MANIFEST.in docs example/README.rst 点击查看代码 example Polls is a Django app to conduct 阅读全文
posted @ 2022-11-15 10:52 vx_guanchaoguo0 阅读(71) 评论(0) 推荐(0)
摘要: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 如果提示 git 未安装 https://sourceforge.net/projects/git-osx-installer 阅读全文
posted @ 2022-11-14 09:36 vx_guanchaoguo0 阅读(19) 评论(0) 推荐(0)
摘要: 使用国内源 全局 win + R 输入 %APPDATA% 回车 新建 pip/pip.ini 写入如下内容 [global] index-url=https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host=pypi.tuna.ts 阅读全文
posted @ 2022-11-08 21:30 vx_guanchaoguo0 阅读(39) 评论(0) 推荐(0)
摘要: 构建镜像 dockerfile 点击查看代码 # 现在我们需要配置一些东西。 # 编译参数,用于指定 Swoole 版本 ARG swoole_ver # 保存到环境变量,如果没有传递就给默认值 ENV SWOOLE_VER=${swoole_ver:-"v4.5.0"} # apk 是 alpin 阅读全文
posted @ 2022-11-08 20:59 vx_guanchaoguo0 阅读(86) 评论(0) 推荐(0)
摘要: version: "3" services: pgsql: container_name: pgsql image: postgres:latest privileged: true environment: POSTGRES_PASSWORD: password POSTGRES_USER: po 阅读全文
posted @ 2022-11-08 20:54 vx_guanchaoguo0 阅读(26) 评论(0) 推荐(0)
摘要: 使用ide 上传文件 代替postman 上传文件 环境文件 http-client.private.env.json { "dev": { "host": "http://localhost:15731/api/v1/", "jwt": "" } } 新建文件 .http后缀结尾即可 ### 上传 阅读全文
posted @ 2022-11-08 16:37 vx_guanchaoguo0 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 68 下一页