Canoe

Try to leave where you have been , No body was there to tell you it'll be a long way.


  • Home

  • Archives

  • Tags

  • c24's

  • Search

Python Venv Migrate Invalid

Posted on 2021-06-30 => 19:51:42
| Words count in article: 464

Sence

  • Python Flask 项目迁移到其他机器上开发,venv 虚拟环境无法使用
  • 在 PyCharm 上指定该项目的虚拟环境 venv 的信息为 invalid 不可用

Solution

  • 因为项目在原机器上的路径和新机器上的路径的虚拟环境位置不同
  • 查看可见在 venv 里面的几个文件里写的是旧机器的绝对路径
    Read more »

Github Commit Account About

Posted on 2021-06-29 => 23:12:11
| Words count in article: 311

Scene

  • 发现 Github 的 commit 没有显示在主页的记录图表中
  • 排查后得出是 commit 的用户不对

Solution

git config

  • 先调整本地的 git config

    1
    2
    3
    4
    5
    6
    7
    // 设置全局
    git config --global user.name "Author Name"
    git config --global user.email "Author Email"

    // 或者设置本地项目库配置
    git config user.name "Author Name"
    git config user.email "Author Email"
  • 以后每次提交前都检查下用户

    Read more »

MySQL Migrate 8.0.18 -> 5.6.28

Posted on 2021-06-26 => 17:24:14
| Words count in article: 114

Scene

  • 迁移 MySQL 数据库
  • 用 Navicat 转储 SQL 文件
  • 再导入新数据库
  • unkown collation:’utf8mb4_0900_ai_ci’

    Solution

  • 这是因为 数据库版本 不一致 导致的

    Read more »

File Sharing On Win

Posted on 2021-06-04 => 21:58:30
| Words count in article: 33

带账户密码的文件共享的几个要点

  • 开启密码共享
  • 创建账户
  • 设置文件共享权限

Set up Seafile

Posted on 2021-06-03 => 21:15:37
| Words count in article: 204

Linux Server

  • yum install docker-compose -y
  • 编写 docker-compose.yml
  • docker-compose up -d
  • 进入 http://<您的 IP 地址>:8000
  • 右上角 System Admin -> Settings 更改 url 为该机器地址
  • 👉 docker-compose.yml
  • 👉 用 Docker 部署 Seafile 服务
    Read more »

Deamon bat

Posted on 2021-05-18 => 23:38:41
| Words count in article: 516

创建守护进程监控 => 指定进程

  • 在 win 中可以通过以下几种方式查看进程状况
    1
    2
    3
    4
    5
    6
    7
    8
    @REM 查看端口
    netstat -an | find /C "127.0.0.1:1313"

    @REM 查看进程名
    tasklist | find /i "App.exe"

    @REM 查看进程句柄标题
    tasklist /fi "windowtitle eq App"
Read more »

Win10 turns blue screen when opening Android emulator

Posted on 2021-04-15 => 00:13:06
| Words count in article: 291

Scene

  • 在编写 flutter 启动 emulator 后,关闭 emulator 不完整
  • 导致虚拟化一致存在
  • 之后一旦启动 emulator/安卓模拟器,win10 就立刻蓝屏
    Read more »

Vritual Disk Mapping

Posted on 2021-04-10 => 17:38:55
| Words count in article: 265

Create Vritual Disk Mapping

  • 将物理盘符中的目录映射到虚拟盘符,能够在一定的场景发挥作用
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
::在物理盘符下创建文件夹
::如果存在虚拟盘符就执行删除盘符映射关系
::创建虚拟盘符并映射到物理盘符的文件夹
::打开虚拟盘符

::H 物理盘符名
md H:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NUL
::M 虚拟盘符名
if exist M:\NUL goto delete
::映射虚拟盘符 M 到 物理盘符 H 下的 RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13} 目录
subst M: H:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}
start M:\
goto end
:delete
subst /D M:
:end
Read more »

Try Flutter

Posted on 2021-04-09 => 20:39:03
| Words count in article: 273

Get started

  • get SDK 👉Flutter SDK releases
  • update system path
  • update user path
  • flutter doctor
  • 👉Android Studio
    Read more »

Acer Bios Reset PW

Posted on 2021-03-17 => 20:06:09
| Words count in article: 105

Scene

  • Acer 主板进入 bios 需要密码,但是又不知道密码
    Read more »
1…345…9
0%
当前浏览器不支持canvas,请更换浏览器后再试
Orekiyuta

Orekiyuta

83 posts
68 tags
RSS
GitHub E-Mail
© 2024 Orekiyuta | Site words total count: 97.7k
京ICP备2021002172号-1