## 前天搞定的群辉usb3.0网线驱动

sudo dpkg -i ***.deb

Makefile也是空白，Dockerfile更是，但其实差不多。

make --force --with-kernel=xxx

## 学习到了些新技能，更新下要学的新技能，看来中文的代码圈真的是好齐全。

Recent commits:

https://hexo.io/ && https://github.com/iissnan/hexo-theme-next

https://blog.csdn.net/zhangdi2017/article/details/65629589

https://summul.cn/427.html

http://wosn.net/263.html

http://www.inlojv.com/5435.html

## 更新小张高手帮忙debug的程序！

Homework56

import re
import sys

s = ''
for line in sys.stdin:
s += line
if '}' in line:
break
t = re.sub(r'(\s*)\w*:(\s*)', r'\n',
re.sub(r"\s*bool\s*|\s*main\s*$$\s*$$\s|{", r'', re.sub(r'(\W)(\d+\w*)', r'\1a_\2', s)).strip().replace(
'=', ' = '))
x, y, c = 0, 0, 0
while t.find('done', x + 1) != -1:
x0 = x
x = t.find('done', x)
y = t.find('while', x0)
c = len(t)
q = t[y:x].replace(';', ';;').split()
if "=" in q:
q[q.index("=") - 2] += ':'
else:
q[q.index("pass") - 1] += ':'
q[q.index('while')] += ' '
t = t[:y - 1] + '\n' + "".join(q) + t[x + 4:]
x = x + len(t) - c + 4
x, y, c = 0, 0, 0
while t.find('fi', x + 1) != -1:
x0 = x
x = t.find('fi', x)
y = t.find('if', x0)
c = len(t)
q = t[y:x].replace(';', ';;').split()
if "=" in q:
q[q.index("=") - 2] += ':'
else:
q[q.index("pass") - 1] += ':'
q[q.index('if')] += ' '
t = t[:y - 1] + '\n' + "".join(q) + t[x + 2:]
x = x + len(t) - c + 2
exec(re.sub(r'\s*:', r":", ('def evaluate():\n\tcount=0\n\t' + re.sub(r';+', r'\n',
t.replace('done', '').replace("fi",
'').replace(
'pass', '').replace(';;', "\n\t").replace(
':',
':\n\tcount+=1\n\tif (count)>200:\n\t\treturn "infinite"\n\t')).replace(
'!', ' not ').replace('&', ' and ').replace('|', ' or ').replace('\n', '\n\t').replace('}', '').replace(
'\n\t\n',
'\n'))))
print(evaluate())


## 解决Ubuntu18.04/16.04 Cuda10.0.130 cudnn7.3.1 tensorflow1.12 libcusolver.so.9.0: cannot open问题

@[TOC](解决Ubuntu18.04/16.04 Cuda10.0.130 cudnn7.3.1 tensorflow1.12 libcusolver.so.9.0: cannot open问题)

# libcusolver.so.9.0: cannot open问题

## stackover&github

> cuda10 ubuntu tensorflow1.12

https://github.com/tensorflow/tensorflow/issues/22706


pip install /path-to-wheel/


# 使用wordpress的原因

## wordpress遇到过的bug

1.腾讯云centOS /data/wwwroot/default权限不够问题 2.客户端XML-RPC上传失败问题 3.“偶，糟糕网页不见了” UTF8编码设置问题 以上还好，百度有中文版解答。附上centos Apache、php、mysql默认安装路径 可是下一个 升级5.0.1上传时和update时，updating fail & publishing fail，WTF？黑人问号

### 可能的 case

How to fix WordPress 5 Publishing failed or Updating failed issue GitHub上大家基本都不是这个问题，大概只有真的从头来一遍才是吧。

## My case

nano /usr/local/apache/conf/httpd.conf


<Directory "/data/wwwroot/default">

AllowOverride All
Require all granted

</Directory>

<Files ".ht*">

Require all granted

</Files>


service apache restart
service apache2 restart
service httpd restart