通过FTP,找到WordPress网站根目录里的 wp-config.php 配置文件,把下面这段代码加到该文件末尾(最后一行的”?>”之前):(以我的根目录为‘wwwroot’为例):
How to think for yourself
November 2020
There are some kinds of work that you can’t do well without thinking differently from your peers. To be a successful scientist, for example, it’s not enough just to be correct. Your ideas have to be both correct and novel. You can’t publish papers saying things other people already know. You need to say things no one else has realized yet.
{embed equation}
Mathtype公式显示为{embed equation}的解决办法
点击 “文件”—-“选项“—-”高级”—-“显示文档内容”区域选中取消勾选“显示域代码而非域值”复选框,并单击“确定”按钮.
修复Ubuntu引导
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
羽毛球拍
一般的羽球拍bai都会用U来表示重量,所以du3U代表的是该球拍的重zhi量为85-89g,4U是80-84g,5U是75-79g。羽毛球拍的“daoU”代表的是羽毛球拍的一个重量体系,一般分为1U/2U/3U/4U/5U五个级别,其中1U:95-100g,2U:90-94g ,3U:85-89g,4U:80-84g,5U:75-79g,也就是说差一个U就是差5克左右的重量。市场上最常见的是2U到4U的拍子,1U和5U的拍子一般是特殊人群的选择。常用球拍的重量为3u,从重量看,80%的球拍都是差不多重。球拍越轻,当然挥拍速度越快,对手腕、肩的压力小,但同样的力量轻的球拍出球速度慢、球发飘;球拍越重,球速更快、落点更准。球拍除了重量、平衡点以外,还有一个重要的参数——拍杆的软硬程度。拍杆越硬、对击球者力量的要求更大,球速快、落点也更精准;拍杆越软、弹性越好但球速慢。拍杆软的球拍比硬的球拍好上手。
Ubuntu cpu temperature
apt install lm-sensors
sudo sensors-detect
sensors
Microsoft Office 2010 MSXML 6.10.1129.0
https://www.microsoft.com/zh-cn/download/details.aspx?id=6276
regsvr32 /u msxml6.dll
regsvr32 msxml6.dll
regedit
找到: HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32
单击WIN32,在右边的窗口,双击“默认值”
如果默认值是这个内容就ok了,如果没有就填这个默认值 C:\Windows\System32\msxml6.dll
如果找不到 {F5078F18-C551-11D3-89B9-0000F81FE221}, import the key. as below:
****
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32]
@=”c:\\windows\\system32\\msxml6.dll”
****
using .reg file.
python math angle
math.sin(math.radians(30))=0.5
ubuntu wordpress sqlite
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install apache2 -y
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.1-fpm php7.1-mcrypt php7.1-cli php7.1-xml php7.1-mysql php7.1-gd php7.1-imagick php7.1-recode php7.1-tidy php7.1-xmlrpc
sudo apt-get install libapache2-mod-php7.1
sudo apt-get install php7.1-sqlite3
wget https://wordpress.org/latest.tar.gz
wget https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip
tar xvfz ./latest.tar.gz
unzip ./sqlite-integration.1.8.1.zip
sudo mv wordpress /var/www/html/
sudo chown -R www-data:www-data /var/www/html/wordpress
mv wp-config-sample.php wp-config.php
mv sqlite-integration /var/lib/wordpress/wp-content/plugins/
mv /var/www/html/wordpress/wp-content/plugins/sqlite-integration/db.php /var/www/html/wordpress/wp-content/
sudo service apache2 restart
IP/wordpress #start installation
Python设置matplotlib.plot的坐标轴刻度间隔以及刻度范围
一、用默认设置绘制折线图
import matplotlib.pyplot as plt
x_values=list(range(11))
#x轴的数字是0到10这11个整数
y_values=[x**2 for x in x_values]
#y轴的数字是x轴数字的平方
plt.plot(x_values,y_values,c='green')
#用plot函数绘制折线图,线条颜色设置为绿色plt.title('Squares',fontsize=24)
#设置图表标题和标题字号plt.tick_params(axis='both',which='major',labelsize=14)
#设置刻度的字号
plt.xlabel('Numbers',fontsize=14)
#设置x轴标签及其字号
plt.ylabel('Squares',fontsize=14)
#设置y轴标签及其字号
plt.show()
#显示图表