export LANG=en_US.UTF-8
xdg-user-dirs-gtk-update
跳出对话框询问是否将目录转化为英文路径,同意并关闭.
在终端中输入命令:
export LANG=zh_CN.UTF-8
关闭终端,并重起.下次进入系统,系统会提示是否把转化好的目录改回中文.选择不再提示,并取消修改.主目录的中文转英文就完成了~
export LANG=en_US.UTF-8
xdg-user-dirs-gtk-update
跳出对话框询问是否将目录转化为英文路径,同意并关闭.
在终端中输入命令:
export LANG=zh_CN.UTF-8
关闭终端,并重起.下次进入系统,系统会提示是否把转化好的目录改回中文.选择不再提示,并取消修改.主目录的中文转英文就完成了~
linux下是 ProxyCommand nc -x 127.0.0.1:1080 %h %p,然而对windows下的git bash是不管用的。git bash必须得用connect,如下:
ProxyCommand connect -S 127.0.0.1:1080 %h %p
connect.exe没有的可以从这里下载:connect.exe
| set sql_log_bin=OFF # session级别 global 级别不允许 |
因为启用了 ConvertEmptyStringsToNull 这个中间件导致的关闭即可
把配置文件里的中文字符串删除就好了
Attempting to renew cert (www.xxx.com) from /etc/letsencrypt/renewal/www.xxx.com.conf produced an unexpected error: 'ascii' codec can't decode byte 0xe9 in position 5: ordinal not in range(128). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/m.xxx.com/fullchain.pem (failure)
/etc/letsencrypt/live/www.xxx.com/fullchain.pem (failure)
参考链接:https://blog.longwin.com.tw/2019/01/letsencrypt-ascii-codec-decode-fixed-2019/
2.增加2个路由表分别是电信:a0 联通:b1
# vi /etc/iproute2/rt_tables
252 a0
251 b1
ip route flush table a0
ip route add default via 172.31.16.1 dev eth0 src 172.31.17.107 table a0
ip rule add from 172.31.17.107 table a0
ip route flush table b1
ip route add default via 172.31.32.1 dev eth1 src 172.31.43.225 table b1
ip rule add from 172.31.43.225 table b1
(1/1) Google_Service_Exception
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "projectNotLinked",
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
],
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
}
public String decompress(byte[] compressed) throws IOException {
final int BUFFER_SIZE = 32;
ByteArrayInputStream is = new ByteArrayInputStream(compressed);
GZIPInputStream gis = new GZIPInputStream(is, BUFFER_SIZE);
StringBuilder string = new StringBuilder();
byte[] data = new byte[BUFFER_SIZE];
int bytesRead;
while ((bytesRead = gis.read(data)) != -1) {
string.append(new String(data, 0, bytesRead));
}
gis.close();
is.close();
return string.toString();
}
// 解压
String cc = "H4sIAAAAAAAAA3s6ddlTVAQAXAODIhIAAAA=";
try {
this.decryptedText.setText(this.decompress(Base64.decode(cc.toCharArray())));
} catch (IOException e) {
e.printStackTrace();
}
On my PHP5 build, the limit is 117 characters (936 bits, strange number). That’s because public key encryption is CPU intensive, and meant to be used on short values. The idea is to use this function to encrypt a secret key that is in turn used to encrypt data using a more efficient algorithm, such as RC4 or TripleDES.openssl_public_encrypt
“GET /_nuxt/fonts/c61b9c1.woff2 HTTP/1.1”
“GET /_nuxt/e46e23e8722289834df1.js HTTP/1.1”
代理里请求比较大的静态文件导致的!