Skip to content

Commit 390204b

Browse files
committed
update
1 parent 938f279 commit 390204b

12 files changed

+188
-39
lines changed

README.md

+23-17
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,41 @@
11
# hdoc
22

33
## FE
4-
> #### Env
4+
#### 环境搭建
55

6-
- [Mac Development environment](./docs/mac_env.md)
7-
- [Mac install mysql](./docs/mac_install_mysql.md)
8-
- [Raspberry Config](./docs/raspberry_config.md)
9-
- [Centos Env](./docs/centos_env.md)
10-
- [docker-compose Using environment](./docs/docker_ng_env.md)
11-
12-
> #### Tools
6+
- [Mac开发环境搭建](./docs/mac_env.md)
7+
- [Mac安装mysql](./docs/mac_install_mysql.md)
8+
- [树莓派烧录系统](./docs/raspberry_config.md)
9+
- [Centos环境搭建](./docs/centos_namual.md)
10+
- [实现SMB服务-Samba](./docs/samba.md)
11+
12+
#### 常用工具
1313
- [acme.sh申请Let's encrypt 证书](https://github.com/hackshen/docker/blob/master/ssl/readme.md)
14-
- [Git command](./docs/git_command.md)
14+
- [Git 备忘录](./docs/git_command.md)
1515
- [Charles 使用](./docs/charles.md)
1616
- [解决Chrome证书信任问题](./docs/ssl.md)
1717
- [常用ssh命令](./docs/ssh.md)
18-
- [Intranet through Frp](./docs/frp.md)
19-
- [docker command](./docs/docker_cmd.md)
2018

21-
#### Dodcker
22-
- [download icloud](./docs/download_icloud.md)
23-
24-
> ### reapberry
19+
#### Dodcker相关
20+
- [docker备忘录](./docs/docker_cmd.md)
21+
- [备份iCloud照片](./docs/download_icloud.md)
22+
- [docker-compose Using environment](./docs/docker_ng_env.md)
23+
- [使用chevereto搭建图床](./docs/chevereto.md)
24+
25+
#### reapberry
2526
- [获取树莓派系统信息](./docs/get_raspberry_info.md)
2627

28+
#### 群晖
29+
- [内网穿透Frp](./docs/frp.md)
30+
31+
#### 开发相关
32+
- [phpStorm 常用快捷键](./docs/phpstorm.md)
2733

2834

29-
> #### Other
35+
#### Other
3036
- [Error Msg](./docs/message.md)
3137

3238

33-
## IOT
39+
#### 物联网
3440

3541
- [ESP8266](./docs/iot/node_muc.md)

doc.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# DOc
2+
3+
4+
-
5+
- [node-cli-template](https://github.com/HermitGeek/node-cli-template)
6+
- [Hello 算法](https://www.hello-algo.com/)
7+
- [实用工具](https://github.com/Mereithhh/van-nav)
8+
- [home page 导航](https://github.com/gethomepage/homepage)
9+
- [前端导航](https://notes.fe-mm.com/nav)
10+
11+
- [rollup](https://github.com/rollup)
12+
13+

docs/chrome.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#### Chrome 地址栏显示协议头
44
- 由于Chrome80以后的版本都不支持,所以只能通过extension实现[Suspicious Site Reporter](https://chrome.google.com/webstore/detail/suspicious-site-reporter/jknemblkbdhdcpllfgbfekkdciegfboi/related?utm_source=chrome-ntp-icon)
55

6+
#### 插件安装目录
7+
- C:\Users\用户名\AppData\Local\Google\Chrome\User Data\Default\Extensions
8+
69
#### 查看Chrome所有命令
710
```bash
811
chrome://about

docs/docker/gitlab.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# docker gitLab
2+
3+
#### [传送门 Install GitLab by using Docker](https://docs.gitlab.com/ee/install/docker.html)
4+
5+
```bash
6+
sudo docker run --detach \
7+
--hostname gitlab.example.com \
8+
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.example.com'" \
9+
--publish 443:443
10+
--publish 80:80 \
11+
--publish 22:22 \
12+
--name gitlab \
13+
--restart always \
14+
--volume $GITLAB_HOME/config:/etc/gitlab \
15+
--volume $GITLAB_HOME/logs:/var/log/gitlab \
16+
--volume $GITLAB_HOME/data:/var/opt/gitlab \
17+
--shm-size 256m \
18+
gitlab/gitlab-runner:latest
19+
```
20+
21+
docker-compose.yml
22+
23+
```bash
24+
version: '3.6'
25+
services:
26+
gitlab:
27+
image: gitlab/gitlab-runner:latest
28+
container_name: gitlab
29+
restart: always
30+
hostname: 'gitlab.example.com'
31+
environment:
32+
GITLAB_OMNIBUS_CONFIG: |
33+
# Add any other gitlab.rb configuration here, each on its own line
34+
external_url 'https://gitlab.example.com'
35+
ports:
36+
- '80:80'
37+
- '443:443'
38+
- '22:22'
39+
volumes:
40+
- '$GITLAB_HOME/config:/etc/gitlab'
41+
- '$GITLAB_HOME/logs:/var/log/gitlab'
42+
- '$GITLAB_HOME/data:/var/opt/gitlab'
43+
shm_size: '256m'
44+
```

docs/docker/gitlab_runner.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# gitlab Runner
2+
3+
#### [Run GitLab Runner in a container](https://docs.gitlab.com/runner/install/docker.html)
4+
5+
#### 安装
6+
7+
```bash
8+
docker run -d \
9+
--name gitlab-runner \
10+
--restart always \
11+
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
12+
-v /var/run/docker.sock:/var/run/docker.sock \
13+
gitlab/gitlab-runner:latest
14+
```
15+
16+
#### 注册
17+
18+
```bash
19+
# 进入到runner容器注册
20+
gitlab-runner register --url 'gitlab地址' --registration-token 'token'
21+
```

docs/docker/portainer.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# docker portainer
2+
3+
#### [Install Portainer CE with Docker on Linux](https://docs.portainer.io/start/install-ce/server/docker/linux)
4+
5+
```bash
6+
docker run -d \
7+
-p 8000:8000 \
8+
-p 9443:9443 \
9+
-p 9000:9000 \
10+
--name portainer \
11+
--restart=always \
12+
-v /var/run/docker.sock:/var/run/docker.sock \
13+
-v portainer_data:/data portainer/portainer-ce:latest
14+
```

docs/docker/verdaccio.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# [verdaccio](https://github.com/verdaccio/verdaccio)
2+
3+
> Verdaccio是一个简单的、无需配置的本地私有npm注册表。不需要一个完整的数据库才开始!
4+
> Verdaccio开箱即用,拥有自己的小型数据库,并且能够代理其他注册表(例如。Npmjs.org)
5+
> ,在此过程中缓存下载的模块。对于那些希望扩展存储能力的人来说,Verdaccio支持各种社区制作的插件,可以连接到亚马逊的s3、谷歌云存储等服务,或者创建自己的插件。
6+
7+
#### [Installation](https://verdaccio.org/docs/installation/)
8+
9+
```bash
10+
# 注册环境变量
11+
V_PATH=$PWD/verdaccio
12+
docker run -it --rm --name verdaccio \
13+
-p 4873:4873 \
14+
-v $V_PATH/conf:/verdaccio/conf \
15+
-v $V_PATH/storage:/verdaccio/storage \
16+
-v $V_PATH/plugins:/verdaccio/plugins \
17+
verdaccio/verdaccio
18+
```

docs/docker_cmd.md

+8
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ docker run -d -p 9000:9000 --name portainer \
105105
portainer/portainer-ce:latest
106106
```
107107

108+
### [it-tools](https://github.com/CorentinTh/it-tools) 适用于开发人员和 IT 人员的有用工具
109+
110+
```bash
111+
docker run -d --name it-tools \
112+
--restart unless-stopped -p 8080:80 \
113+
corentinth/it-tools:latest
114+
```
115+
108116
### [Docker 开启远程访问](http://www.baidu.com)
109117

110118
```bash

docs/me.md

-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
1-
# Contact me
2-
- Tel: MTMxOTM0NDUyODI= (base64)
3-
4-
- Wechat: wuy0us
51

6-
# Personal info
7-
- 工作年限: 4年
8-
- 技术博客: http://www.hackshen.com
9-
- Github: https://github.com/hackshen
10-
11-
# Work exp
12-
13-
## Aliexpress 前端团队(2017.8 ~ 2020.x)
14-
### M站重构及日常维护 [m.aliexpress.com](https://m.aliexpress.com/)
15-
- test
16-
17-
### 卖家直通车
18-
19-
###
20-
21-
## 技能清单
22-
- Web开发:

docs/npm.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# NPM
22

3+
4+
35
```bash
46
# 手动编辑npmrc
57
npm config edit
@@ -15,4 +17,42 @@ npm config set registry=https://registry.npm.taobao.org
1517

1618
# 设置默认镜像
1719
npm config set registry=https://registry.npmjs.org/
18-
```
20+
```
21+
22+
### NPM 发布
23+
24+
```bash
25+
# 添加账户
26+
npm adduser
27+
# 登录
28+
npm login
29+
# 发布
30+
npm publish
31+
```
32+
### npm搭建私服
33+
34+
```bash
35+
# 安装Verdaccio
36+
npm install verdaccio -g
37+
# verdaccio 直接运行即可
38+
verdaccio
39+
40+
# 创建账户
41+
npm adduser --registry http://localhost:4873/
42+
# 发布
43+
npm publish --registry http://localhost:4873/
44+
# 开启指定端口(默认端口: 4873)
45+
verdaccio --listen 9999
46+
# 指定安装源
47+
npm install --registry http://localhost:4873
48+
```
49+
50+
### NPX
51+
52+
```bash
53+
# npx是一个命令行工具,它是npm 5.2.0版本中新增的功能。它允许用户在不安装全局包的情况下,运行已安装在本地项目中的包或者远程仓库中的包
54+
# npm 和 npx区别
55+
# npx侧重于执行命令的,执行某个模块命令。虽然会自动安装模块,但是重在执行某个命令
56+
57+
# npm侧重于安装或者卸载某个模块的。重在安装,并不具备执行某个模块的功能。
58+
```
File renamed without changes.

docs/wol.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Wol 唤醒
2+
- 所需要软件:https://github.com/basildane/WakeOnLAN 【用来检测唤醒包是否发送成功】
3+
![Untitled](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/66e5ecbf-65e7-4e3c-b827-973b27ee9bb7/Untitled.png)

0 commit comments

Comments
 (0)