国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| #!/bin/bash | |
| # Update on 2024/05/29 | |
| # 1. use wget to fetch latest frp version when curl was not installed | |
| # 2. Remind users that frp will be run in non-root user | |
| # 3. Add CI | |
| # | |
| # Update on 2024/04/13 | |
| # 1. Improved OS compatibility: try wget and then curl for downloading files. | |
| # | |
| # Update on 2024/01/26 |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
Picking the right architecture = Picking the right battles + Managing trade-offs
| //Create's a 1x1 transparent base layer so that the globe has no imagery | |
| var transparentBaseLayer = new Cesium.SingleTileImageryProvider({ | |
| url : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=" | |
| }); | |
| //Create the viewer, must specify alpha :true in order for the globe and | |
| //background to be transparent | |
| var viewer = new Cesium.Viewer('cesiumContainer', { | |
| skyBox : false, | |
| skyAtmosphere : false, |