This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 步骤 | |
1. OptionalFeatures -> 开启 wsl | |
2. install ubuntu on window | |
3. install xming | |
4. echo "export DISPLAY=:0" > ~/.bashrc && exit && bash | |
5. sudo apt-get install vim-gtk | |
6. gvim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 单词添加'' | |
``` | |
:s/\(\w\+\)/'&'/ | |
``` | |
http://vimregex.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.js; do mv "$f" "$(echo $f |sed s/js/ts/)"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 什么叫稳定的排序算法 | |
即当数值相同时不改变位置 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 最小堆 | |
应用场景: | |
- 从数据中找出出现次数最多的n个元素 | |
结构: | |
- 采用树形结构且每个结点的值都比两个子节点的值 | |
时间复杂度: | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://blog.csdn.net/oscar999/article/details/36373183 | |
https://blog.csdn.net/oscar999/article/details/16342699 | |
https://blog.csdn.net/oscar999/article/details/37499743 | |
https://medium.com/@roman01la/run-web-worker-with-a-function-rather-than-external-file-303add905a0 | |
http://bl.ocks.org/Rokotyan/0556f8facbaf344507cdc45dc3622177 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log -> 返回过去 | |
git reflog -> 回到未来 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 列举所有远端分支 | |
``` | |
git branch --remote -a | |
``` | |
2. 查看已经暂存的更改 | |
``` | |
git diff --cached | |
``` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. navbar | |
``` | |
<div id="app"> | |
<section class="hero is-primary is-bold"> | |
<div class="hero-head"> | |
<header class="nav"> | |
<img src="/static/logo.png" style="max-height:40px;"> | |
<h1 class="title"> | |
Real Time Location System | |
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.$options.name |
OlderNewer