Compare commits
No commits in common. "831beab49de02c7ba69449f8b74798e6878260a9" and "0c1b6d4881d8960de5ce1b9dae7aac53528fc519" have entirely different histories.
831beab49d
...
0c1b6d4881
@ -13,7 +13,7 @@ timezone: Asia/Shanghai
|
|||||||
|
|
||||||
# URL
|
# URL
|
||||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||||
url: http://zhao/~xin
|
url: http://zhao.local/~xin
|
||||||
root: /~xin/
|
root: /~xin/
|
||||||
permalink: :title/
|
permalink: :title/
|
||||||
permalink_defaults:
|
permalink_defaults:
|
||||||
|
@ -7,6 +7,7 @@ categories:
|
|||||||
- Linux
|
- Linux
|
||||||
tags:
|
tags:
|
||||||
- Arch Linux
|
- Arch Linux
|
||||||
|
- pacman
|
||||||
date: 2022-08-31 14:08:30
|
date: 2022-08-31 14:08:30
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
title: 常用软件
|
|
||||||
categories:
|
|
||||||
- Linux
|
|
||||||
keywords: []
|
|
||||||
tags: []
|
|
||||||
date: 2022-09-03 19:15:32
|
|
||||||
---
|
|
||||||
|
|
||||||
# 媒体
|
|
||||||
|
|
||||||
- [VLC](https://www.videolan.org/index.zh.html)
|
|
||||||
- [OBS](https://obsproject.com/zh-cn/)
|
|
@ -119,11 +119,3 @@ deb https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
|
|||||||
deb https://mirrors.ustc.edu.cn/debian-security bullseye-security main contrib non-free
|
deb https://mirrors.ustc.edu.cn/debian-security bullseye-security main contrib non-free
|
||||||
# deb-src http://mirrors.ustc.edu.cn/debian-security/ bullseye-security main non-free contrib
|
# deb-src http://mirrors.ustc.edu.cn/debian-security/ bullseye-security main non-free contrib
|
||||||
```
|
```
|
||||||
|
|
||||||
# Python
|
|
||||||
|
|
||||||
见 {% post_link Python/Python环境搭建 %}
|
|
||||||
|
|
||||||
# Node.js
|
|
||||||
|
|
||||||
见 {% post_link 'Node.js/Node.js环境搭建' %}
|
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
---
|
|
||||||
title: Node.js 环境搭建
|
|
||||||
categories:
|
|
||||||
- Node.js
|
|
||||||
keywords:
|
|
||||||
- Node.js
|
|
||||||
- npm
|
|
||||||
tags:
|
|
||||||
- Node.js
|
|
||||||
date: 2022-09-03 18:18:10
|
|
||||||
---
|
|
||||||
|
|
||||||
# 安装
|
|
||||||
|
|
||||||
``` sh
|
|
||||||
sudo pacman -S nodejs npm
|
|
||||||
```
|
|
||||||
|
|
||||||
# 配置
|
|
||||||
|
|
||||||
用户配置文件 `$HOME/.npmrc`
|
|
||||||
|
|
||||||
``` conf
|
|
||||||
fund=false
|
|
||||||
init.author.email=username@example.com
|
|
||||||
init.author.name=Your Name
|
|
||||||
init.version=0.0.1
|
|
||||||
init.license=MIT
|
|
||||||
loglevel=error
|
|
||||||
prefix=~/.node_modules
|
|
||||||
registry=http://mirrors.cloud.tencent.com/npm/
|
|
||||||
```
|
|
||||||
|
|
||||||
说明:
|
|
||||||
|
|
||||||
- 期中 init 开头的是 `npm init` 命令相关参数的默认设定
|
|
||||||
- fund 控制是否提示某包寻求捐赠支持
|
|
||||||
- prefix 是用户个人依赖的安装位置
|
|
||||||
- loglevel
|
|
||||||
- registry 安装源
|
|
||||||
- http://mirrors.cloud.tencent.com/npm/
|
|
||||||
- https://registry.npm.taobao.org
|
|
||||||
|
|
||||||
除了直接修改这个文件,还可以通过命令的方式调整文件中的设定,如:
|
|
||||||
|
|
||||||
``` sh
|
|
||||||
npm config set fund false
|
|
||||||
npm config set registry http://mirrors.cloud.tencent.com/npm/
|
|
||||||
```
|
|
||||||
|
|
||||||
另外,请将 `$HOME/.node_modules/bin` 放进你的环境参数 PATH 中!
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Python 环境搭建
|
title: Pyhton 环境搭建
|
||||||
categories:
|
categories:
|
||||||
- Python
|
- Python
|
||||||
keywords:
|
keywords:
|
Loading…
Reference in New Issue
Block a user