Maven Mirrors

Huawei

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<repositories>
<repository>
<id>hw</id>
<name>hw</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>hw</id>
<name>hw</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</pluginRepository>
</pluginRepositories>

SRE 工具箱

guacamole

a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5.

github :临时使用版本,包含了数据,如果使用在 PRD 推荐使用官方的 IMAGE

1
2
3
4
docker run \
-p 8080:8080 \
-v </path/to/config>:/config \
maxwaldorf/guacamole

网易云音乐 IN Liunux

22.04 安装网易云音乐

下载链接

1
2
cd /opt/netease/netease-cloud-music
sudo vim ./netease-cloud-music.bash
1
2
3
4
5
6
7
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export LD_LIBRARY_PATH="${HERE}"/libs:$LD_LIBRARY_PATH
export QT_PLUGIN_PATH="${HERE}"/plugins
export QT_QPA_PLATFORM_PLUGIN_PATH="${HERE}"/plugins/platforms
cd /lib/x86_64-linux-gnu/
exec "${HERE}"/netease-cloud-music $@

Read More

修复系统

今天遇见2个问题,第一个突然显卡驱动不能安装。

修复 Nv 驱动无法安装的问题

1
LC_MESSAGES=C dpkg-divert --list '*nvidia-340*' | sed -nre 's/^diversion of (.*) to .*/\1/p' | xargs -rd'\n' -n1 -- sudo dpkg-divert --remove\nsudo apt --fix-broken install

修 /usr/lib/x86_64-linux-gnu/ 缺失

1
sudo apt-get install --reinstall `dpkg -S /usr/lib/x86_64-linux-gnu/ \\n| sed 's/,/ /g' | head -c-28`