国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| "1ms@docker.1ms.run" | |
| "rat@hub.rat.dev" | |
| "vvvv@proxy.vvvv.ee" | |
| "654876@docker.654876.xyz" | |
| "cattt@docker.cattt.net" | |
| "xuanyuanjingxiang@docker.xuanyuan.me" |
| fun RepositoryHandler.enableMirror() { | |
| all { | |
| if (this is MavenArtifactRepository) { | |
| val originalUrl = this.url.toString().removeSuffix("/") | |
| urlMappings[originalUrl]?.let { | |
| logger.lifecycle("Repository[$url] is mirrored to $it") | |
| this.setUrl(it) | |
| } | |
| } | |
| } |
| # DNSMASQ | |
| address=/ad.mi.com/ | |
| address=/ad.xiaomi.com/ | |
| address=/ad1.xiaomi.com/ | |
| address=/app.chat.xiaomi.net/ | |
| address=/appstore.cdn.pandora.xiaomi.com/ | |
| address=/appstore.pandora.xiaomi.com/ | |
| address=/api.ad.xiaomi.com/ | |
| address=/ad.doubleclick.net/ | |
| address=/bss.pandora.xiaomi.com/ |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| #EXTINF:-1,北京卫视4K | |
| rtp://239.3.1.22:8001 | |
| #EXTINF:-1,云南卫视 | |
| rtp://239.3.1.26:8108 | |
| #EXTINF:-1,四川卫视 | |
| rtp://239.3.1.29:8288 | |
| #EXTINF:-1,广西卫视 |
Normally the Jetbrains applications store their config and system in a directory in your home directory. That's fine except when you run out of space in your home directory, or they change the directory with an upgrade. For example, when you upgrade PhpStorm from 2016.3 to 2017.1, the config directory and systems directory changes as well. This means that 2017.1 doesn't have the plugins you installed with 2016.3
Somewhere buried deep in the knowledge base is an article that explains how you can fix this but putting it out here makes it easier to find.
These instructions are written for Ubuntu, if you run another distro the locations and files might be different.
I'm assuming you config and system directory will be stored in /d1/config/{JetBrains App}/
| #--------------------------------------------------------------------- | |
| # Example configuration for a possible web application. See the | |
| # full configuration options online. | |
| # | |
| # http://haproxy.1wt.eu/download/1.4/doc/configuration.txt | |
| # | |
| #--------------------------------------------------------------------- | |
| global | |
| log 127.0.0.1 local2 |
| If you'd like to use a .jar file in your project, but it's not available in any Maven repository, | |
| you can get around this by creating your own local repository. This is done as follows: | |
| 1 - To configure the local repository, add the following section to your pom.xml (inside the <project> tag): | |
| <repositories> | |
| <repository> | |
| <id>in-project</id> | |
| <name>In Project Repo</name> | |
| <url>file://${project.basedir}/libs</url> |
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service