$ openssl genrsa -out private.key 4096openssl req -new -sha256 \| mongo: | |
| image: mongo:3.2.11 | |
| volumes: | |
| - /data/db/mongo | |
| ports: | |
| - "27017:27017" | |
| redis: | |
| image: redis | |
| volumes: |
| 1. Momentum:新建tab桌面壁纸效果 | |
| 2. Isometric Contributions:让你在github上的commit记录以三维立体的方式进行展示。 | |
| 3. Avatars for Github:让你github主页上的动态不只显示用户id,还显示用户头像。一目了然。 | |
| 4. Octotree:让你浏览github上的开源项目时可以直接在Chrome侧边栏像打开文件夹一样查看别人的项目。一目了然。 | |
| 5. Transit:google浏览器划词翻译,遇到不懂的可以划一下,提高英语水平。 |
| <!DOCTYPE html> | |
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>MVVM</title> | |
| <script src="mvvm.js"></script> | |
| </head> |
| import Axios from 'axios'; | |
| import { setupCache } from 'axios-cache-adapter'; | |
| import exclude from 'axios-cache-adapter/src/exclude'; | |
| // Define the cache adapter. | |
| const cacheAdapter = setupCache({ | |
| clearOnStale: false, | |
| }); | |
| const getKey = cacheAdapter.config.key; |
When Vue detects data mutation, it asynchronously defer DOM updates to the next "tick" so that multiple mutations trigger only one update cycle. In versions before 2.5, Vue has been deferring updates using what is known as the "Microtask" (as explained in this blog post).
This works fine in most situations, but we discovered an edge case: