Skip to content

Commit

Permalink
daily reading, ShowSecondsInSystemClock, vscode debug links
Browse files Browse the repository at this point in the history
  • Loading branch information
yuy4o committed Sep 20, 2024
1 parent b4c6bfa commit 664ef27
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
16 changes: 12 additions & 4 deletions _posts/2024-03-27-Gist.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ OpenAI在2020年提出的缩放定律(Scaling Law)指出,模型的最终

[OpenCV分享:计算机视觉的六大问题、原因以及解决方案](https://new.qq.com/rain/a/20240314A095EQ00)

**24/9/20**

[浏览器F12(开发者调试工具) 功能介绍](https://cloud.tencent.com/developer/article/1872933)

[OLED AMOLED LCD的优缺点](https://www.quanchu.com.cn/zh-cn/media-center/hykxcn/qchyxw102805.html)[买显示器分不清LED、OLED 、TN、 VA、IPS](https://www.bilibili.com/read/cv7704611/)

[top_k与top_p](https://blog.csdn.net/qq_18555105/article/details/130355217)

## 23/08/11

**重构**:强调在保持功能不变的情况下,对代码进行结构调整和优化,以使代码更加清晰、高效和易于维护。通过消除重复代码、改进命名、提取函数、优化数据结构、简化逻辑等,以减少代码的复杂性和提高代码质量
Expand Down Expand Up @@ -588,7 +596,7 @@ $ cat ~/.ssh/id_rsa.pub

为了避免每次拉取重复输入密码,`git config --global credential.helper store` 后输入用户名及 personal access token 会被保存,以后无需密码

还要设置邮箱 `git config --global user.email "yuyao.jiang22@gmail.com"` 和用户名 `git config --global user.name "yuy4o"`
还要全局修改邮箱 `git config --global user.email "yuyao.jiang22@gmail.com"` 和用户名 `git config --global user.name "yuy4o"`。本地(当前仓库)修改无需加 `--global`

修改后 `~/.gitconfig` 如下
```
Expand Down Expand Up @@ -721,7 +729,7 @@ $ git merge REMOTE-NAME/BRANCH-NAME
$ git pull REMOTE-NAME BRANCH-NAME
```

## 3-31
## 3/31

![git](https://raw.githubusercontent.com/yuy4o/yuy4o/main/figures/240327git.jpg)

Expand Down Expand Up @@ -755,7 +763,7 @@ $ git pull REMOTE-NAME BRANCH-NAME

`git rm --cached` 将文件从暂存区(git索引)移除即该文件不再被跟踪,文件仍保留在工作区即本地文件系统中,用于 `git status` 检测到文件改动后 `git add FILE-NAME`

`git restore --staged FILE-NAME``git add FILE-NAME` 后,将添加到[图中](#3-31) `Repository` 中的文件内容撤回到工作区 `main tree`,即取消暂存区的文件更改,还原成未暂存的状态
`git restore --staged FILE-NAME``git add FILE-NAME` 后,将添加到[图中](#3/31) `Repository` 中的文件内容撤回到工作区 `main tree`,即取消暂存区的文件更改,还原成未暂存的状态

**5. 在本地修改 `git commit` 注释**

Expand Down Expand Up @@ -1741,4 +1749,4 @@ host 参数是指你的应用程序监听的 IP 地址。具体来说:

远程下载到本地:`scp -r jiangyy@172.29.83.59:/data/jiangyy/<file_name> .`

以上命令都是在本地终端执行的,如果想在远程终端传到本地的 `<local_username>@<local_ip>`,因为本地ip和远程ip不在同一个内网中,本地能连通远程的映射后的ip,远程映射前的 ip 连接不了本地 ip
以上命令都是在本地终端执行的,如果想在远程终端传到本地的 `<local_username>@<local_ip>`,因为本地ip和远程ip不在同一个内网中,本地能连通远程的映射后的ip,远程映射前的 ip 连接不了本地 ip
9 changes: 7 additions & 2 deletions _posts/2024-05-12-从零配置Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ tags: [windows]

### [进入安全模式删除僵尸文件](https://blog.csdn.net/lamar_quin/article/details/114371586)

`控制面板` - `系统和安全` - `管理工具` - `系统配置` - `引导` - `引导选项` - `安全引导` - `最小`
win10:`控制面板` - `系统和安全` - `管理工具` - `系统配置` - `引导` - `引导选项` - `安全引导` - `最小`

win11:`搜索` / `win R` + `msconfig` - `系统配置` - `引导` - `引导选项` - `安全引导` - `最小`

### 修改注册表开启任务栏秒数显示

`win R`+`regedit` - 选择路径 `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced` - 修改或新建项 `ShowSecondsInSystemClock` 值设置为 `1`

### [简易vim配置流程](https://kirigaya.cn/blog/article?seq=76)

Expand Down Expand Up @@ -292,7 +298,6 @@ MobaXterm 和 Xshell 的关系,就像 IntelliJ IDEA 和 Eclipse 的关系一

[VMware Workstation 17 Pro](https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html),激活码 `NZ4RR-FTK5H-H81C1-Q30QH-1V2LA` [ubuntu镜像下载](https://ubuntu.com/download/desktop)


## <mark>Windows 安装系统</mark>

分为[ISO直装](https://www.bilibili.com/video/BV1DJ411D79y/?p=1)[PE辅助安装](https://www.bilibili.com/video/BV1DJ411D79y/?p=2)
Expand Down
8 changes: 4 additions & 4 deletions _posts/2024-07-21-PyCharm专业版远程连接.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ empty
/data/jiangyy/qwen2-0.5b
```

### 补充:VScode 远程项目 Debug
### 补充:[VScode 远程项目 Debug](https://blog.csdn.net/shentian885/article/details/123896536)

#### 1. Python
[Variables Reference](https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables)[Launch configurations](https://code.visualstudio.com/docs/editor/debugging#_launch-configurations)[插件配置](https://yuy4o.github.io/posts/%E4%BB%8E%E9%9B%B6%E9%85%8D%E7%BD%AEWindows/#cross-platform-resource-%E9%80%82%E7%94%A8macos)

[插件配置](https://yuy4o.github.io/posts/%E4%BB%8E%E9%9B%B6%E9%85%8D%E7%BD%AEWindows/#cross-platform-resource-%E9%80%82%E7%94%A8macos)
#### 1. Python

安装 `Python Debugger`,VSCode 左边栏 `运行和调试` - `创建launch.json文件` - `选择调试器Python Debugger`,配置`launch.json` 的内容如:

Expand Down Expand Up @@ -246,4 +246,4 @@ VSCode 文件夹下 `.vscode` 包含:

[PyCharm 使用矩池云机器教程](https://matpool.com/supports/doc-pycharm-connect-matpool/#2-%E8%BF%90%E8%A1%8C%E4%BB%A3%E7%A0%81)

[趋动云PyCharm连接开发环境](https://platform.virtaicloud.com/gemini/v1/gemini_doc/02-操作指南/02-开发环境/04-远程开发/02-PyCharm连接开发环境.html#文件上传下载)
[趋动云PyCharm连接开发环境](https://platform.virtaicloud.com/gemini/v1/gemini_doc/02-操作指南/02-开发环境/04-远程开发/02-PyCharm连接开发环境.html#文件上传下载)

0 comments on commit 664ef27

Please sign in to comment.