分类 实用技巧 下的文章

替换Chrome的默认字体使其字体更饱满美观

<p>

<a href="https://www.linzhihao.cn/usr/uploads/2015/02/2015-02-20_15-05-50.png"><img src="https://www.linzhihao.cn/usr/uploads/2015/02/2015-02-20_15-05-50.png"/></a> 

</p>
<p>

用Chrome的同学可能会发现,Chrome的字体很难看,有些时候感觉像是红白机上面的像素中文……

</p>
<p>

就算在设置里面把所有字体设置为“微软雅黑”都不怎么起作用。

</p>



- 阅读剩余部分 -

fedora系Linux系统yum清理残余依赖项的办法

遇到问题

使用fedora系Linux系统时,经常会用到yum来安装软件,但细心的人就会发现,安装某个软件的时候可能会安装一大堆依赖的库或者组件,但使用yum卸载这个软件的时候却没有将这些额外安装的东西卸载掉,造成了资源的浪费。
那么,如何解决这个问题呢?
原来,yum有个名叫yum-remove-with-leaves的插件,通过它就能<span id="__kindeditor_bookmark_start_10__">将当初安装某个软件所依赖的东西给清理掉。

使用方法

  1. 先按照yum-remove-with-leaves插件:

    yum install yum-remove-with-leaves

  2. 使用yum卸载软件的时候加上--remove-leaves<span id="__kindeditor_bookmark_start_148__">参数,比如:

    yum remove wine --remove-leaves

这样,yum就会将当初安装这个软件所需要的依赖项一起卸载掉了。

迅雷路由挖水晶假死解决办法

出现假死,是因为迅雷路由上的系统时间和水晶服务器的时间不同步

使用putty连接迅雷路由

然后输入


ntpclient -h time.nist.gov


然后关闭挖矿服务,重新打开即可解决。

Linux在命令行环境下使用SpeedTest测试带宽

现在有个很流行的测试带宽的网站叫SpeedTest
官方网站:http://www.speedtest.net/
默认情况下需要有图形界面,借助浏览器才能用它测试带宽
但对于很多服务器而言,特别是Linux,没有安装图形界面,更没有网页浏览器,如何用它来测试带宽呢?
于是,有人用Python写了一个脚本程序,通过它,即便是命令行环境下,也能使用SpeedTest测试带宽.
项目地址:https://github.com/sivel/speedtest-cli
命令如下:

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
./speedtest-cli --share

下面是中国的测速节点列表:

5526) Xinjiang Unicom Company (Urumqi, China) [6066.65 km]
3784) China Mobile (Urumqi, China) [6066.65 km]
5992) Qinghai China Unicom (Xining, China) [7484.42 km]
3973) China Telecom (Lanzhou, China) [7656.37 km]
4690) China Unicom Lanzhou Branch Co.Ltd (Lanzhou, China) [7656.37 km]
4504) China Mobile Group GanSu Co.Ltd (Lanzhou, China) [7656.37 km]
5509) Chinaunicom Ningxia branch (Ningxia, China) [7699.86 km]
5465) China Unicom (Hohhot, China) [7703.25 km]
5460) China Unicom Heilongjiang Branch (Harbin, China) [7995.73 km]
4525) Heilongjiang-CMCC (Harbin, China) [7995.73 km]
5519) Shanxi Unicom (Taiyuan, China) [8006.08 km]
4713) China Mobile Group Beijing Co.Ltd (Beijing, China) [8033.29 km]
4751) Beijing Telecom (Beijing, China) [8033.29 km]
4589) China Telecom Beijing Co.,ltd (Beijing, China) [8033.29 km]
5145) Beijing Unicom (Beijing, China) [8033.29 km]
2529) Beijing Normal University (Beijing, China) [8033.29 km]
5505) Beijing Broadband Network (Beijing, China) [8033.29 km]
4863) Xi'an branch,Chinaunicom (Xian, China) [8107.80 km]
5292) China Mobile Group Shaanxi Company Limited (Xi'an, China) [8107.80 km]
1185) China Unicom,Changchun Branch (Changchun, China) [8110.48 km]
2461) China Unicom (Chengdu, China) [8122.08 km]
4624) ChinaTelecom (Chengdu, China) [8122.26 km]
5312) Chengdu Telecom (Chengdu, China) [8122.26 km]
4575) China Mobile Group Sichuan (Chengdu, China) [8122.26 km]
5475) China Unicom (Tianjin, China) [8143.49 km]
5017) China Unicom,Liaoning Branch (Shenyang, China) [8241.46 km]
4486) China Mobile Group Henan Co.,Ltd. (Zhengzhou, China) [8337.07 km]
5131) China unicom henan branch (Zhengzhou, China) [8337.07 km]
4595) China Telecom HeNan Branch (Zhengzhou, China) [8337.07 km]
5039) China unicom Jinan branch (Jinan, China) [8351.94 km]
5563) huawei company (Jinan, China) [8351.94 km]
5530) CCN (Chongqing, China) [8370.81 km]
4495) China Mobile Group Chongqing Co.,Ltd (Chongqing, China) [8370.81 km]
5726) China Unicom Chong Qing Branch (ChongQing, China) [8370.81 km]
5380) CQMC (Chongqing, China) [8370.81 km]
5103) Yunnan Chinaunicom (Kunming, China) [8509.08 km]
5892) China Mobile Group Yunnan Co.,Ltd. (Kunming, China) [8509.08 km]
5710) China Unicom (Qingdao, China) [8585.10 km]
4881) China Unicom (Guiyang, China) [8625.06 km]
5485) China Unicom,Hubei Branch (Wuhan, China) [8742.29 km]
5724) ChinaUnicom (Hefei, China) [8797.69 km]
4433) China Telecom Anhui Co.,Ltd (Hefei, China) [8797.69 km]
4377) China Mobile Group Anhui Co.,Ltd (Hefei, China) [8797.69 km]
5316) China Telecom JiangSu Branch (Nanjing, China) [8862.98 km]
5446) CHINA UNICOM JIANGSU COMPANY (Nanjing, China) [8862.98 km]
4870) Changsha, Hunan Unicom (Changsha, China) [8877.08 km]
4616) China Mobile Group Anhui Co.,Ltd (Wuhu, China) [8904.91 km]
5122) China Mobile Group Jiangsu Co.,Ltd. (Wuxi, China) [8990.35 km]
4916) China Unicom Wuxi Branch (Wuxi, China) [8990.35 km]
5097) Chinaunicom.jx (NanChang, China) [9004.24 km]
3927) China Mobile Jiangsu Co., Ltd. (Suzhou, China) [9029.42 km]
5274) Suzhou China Telecom (Suzhou, China) [9029.42 km]
5674) GX-Unicom (Nanning, China) [9064.14 km]
5083) Shanghai Branch, China Unicom (Shanghai, China) [9088.55 km]
3633) China Telecom (Shanghai, China) [9088.55 km]
4647) China Mobile Group Zhejiang Co.,Ltd (Hangzhou, China) [9103.33 km]
5300) Hangzhou , Zhejiang Unicom (Hangzhou, China) [9103.33 km]
5553) jxunicom (JiangXi, China) [9135.00 km]
5409) Zhejiang Unicom (Zhejiang, China) [9217.68 km]
5700) Nanping (Nanping, China) [9319.92 km]
4428) Vixtel (Guangzhou, China) [9344.53 km]
4672) ChinaTelecom (Guangzhou, China) [9344.53 km]
3891) Unicom-GZ (Guangzhou, China) [9344.53 km]
5985) Hainan Unicom (Haikou, China) [9436.31 km]
5805) China Telecom Fujian Branch (Fuzhou, China) [9436.42 km]
4884) fuzhou_unicom (Fuzhou, China) [9436.42 km]
4924) SZUNICOM (Shenzhen, China) [9447.51 km]
5081) ShenZhen Telecom (Shenzhen, China) [9447.51 km]
3871) SZWCDMA (Shenzhen, China) [9447.51 km]
4515) CMCC-SZ (Shenzhen, China) [9451.03 km]
1536) STC (Hong Kong, China) [9475.40 km]
4910) FPT Telecom (Hong Kong, China) [9475.40 km]
5120) HKIX1 (Hong Kong, China) [9475.98 km]
1628) FUJIAN BTNG-XM (Xiamen, China) [9512.80 km]
5506) china unicom (Xiamen, China) [9512.80 km]4525) Heilongjiang-CMCC (Harbin, China) [9010.67 km]
5460) China Unicom Heilongjiang Branch (Harbin, China) [9010.67 km]
1185) China Unicom,Changchun Branch (Changchun, China) [9225.24 km]
5017) China Unicom,Liaoning Branch (Shenyang, China) [9472.49 km]
4751) Beijing Telecom (Beijing, China) [10060.60 km]
5505) Beijing Broadband Network (Beijing, China) [10060.60 km]
2529) Beijing Normal University (Beijing, China) [10060.60 km]
4589) China Telecom Beijing Co.,ltd (Beijing, China) [10060.60 km]
4713) China Mobile Group Beijing Co.Ltd (Beijing, China) [10060.60 km]
5145) Beijing Unicom (Beijing, China) [10060.60 km]
5475) China Unicom (Tianjin, China) [10078.20 km]
5710) China Unicom (Qingdao, China) [10127.28 km]
5465) China Unicom (Hohhot, China) [10248.12 km]
5563) huawei company (Jinan, China) [10290.79 km]
5039) China unicom Jinan branch (Jinan, China) [10290.79 km]
3633) China Telecom (Shanghai, China) [10433.39 km]
5083) Shanghai Branch, China Unicom (Shanghai, China) [10433.39 km]
5519) Shanxi Unicom (Taiyuan, China) [10450.17 km]
3927) China Mobile Jiangsu Co., Ltd. (Suzhou, China) [10485.42 km]
5274) Suzhou China Telecom (Suzhou, China) [10485.42 km]
5122) China Mobile Group Jiangsu Co.,Ltd. (Wuxi, China) [10486.05 km]
4916) China Unicom Wuxi Branch (Wuxi, China) [10486.05 km]
6245) ningbo unicom (Ningbo, China) [10533.15 km]
5316) China Telecom JiangSu Branch (Nanjing, China) [10549.75 km]
5446) CHINA UNICOM JIANGSU COMPANY (Nanjing, China) [10549.75 km]
5300) Hangzhou , Zhejiang Unicom (Hangzhou, China) [10598.33 km]
4616) China Mobile Group Anhui Co.,Ltd (Wuhu, China) [10634.40 km]
4595) China Telecom HeNan Branch (Zhengzhou, China) [10649.04 km]
5131) China unicom henan branch (Zhengzhou, China) [10649.04 km]
4486) China Mobile Group Henan Co.,Ltd. (Zhengzhou, China) [10649.04 km]
5409) Zhejiang Unicom (Zhejiang, China) [10657.62 km]
5724) ChinaUnicom (Hefei, China) [10661.33 km]
4377) China Mobile Group Anhui Co.,Ltd (Hefei, China) [10661.33 km]
4433) China Telecom Anhui Co.,Ltd (Hefei, China) [10661.33 km]
5509) Chinaunicom Ningxia branch (Ningxia, China) [10953.59 km]
5485) China Unicom,Hubei Branch (Wuhan, China) [10959.32 km]
6144) xjunicom (Urumuqi, China) [10967.58 km]
5292) China Mobile Group Shaanxi Company Limited (Xi'an, China) [10968.43 km]
4863) Xi'an branch,Chinaunicom (Xian, China) [10968.43 km]
3784) China Mobile (Urumqi, China) [10970.34 km]
5805) China Telecom Fujian Branch (Fuzhou, China) [10985.75 km]
4884) fuzhou_unicom (Fuzhou, China) [10985.75 km]
5097) Chinaunicom.jx (NanChang, China) [11011.31 km]
5700) Nanping (Nanping, China) [11019.12 km]
3973) China Telecom (Lanzhou, China) [11083.02 km]
4690) China Unicom Lanzhou Branch Co.Ltd (Lanzhou, China) [11083.02 km]
4504) China Mobile Group GanSu Co.Ltd (Lanzhou, China) [11083.02 km]
5553) jxunicom (JiangXi, China) [11116.42 km]
5992) Qinghai China Unicom (Xining, China) [11127.99 km]
5506) china unicom (Xiamen, China) [11200.23 km]
1628) FUJIAN BTNG-XM (Xiamen, China) [11200.23 km]
4870) Changsha, Hunan Unicom (Changsha, China) [11242.39 km]
5726) China Unicom Chong Qing Branch (ChongQing, China) [11518.04 km]
5380) CQMC (Chongqing, China) [11518.04 km]
5530) CCN (Chongqing, China) [11518.04 km]
4495) China Mobile Group Chongqing Co.,Ltd (Chongqing, China) [11518.04 km]
4575) China Mobile Group Sichuan (Chengdu, China) [11560.62 km]
5312) Chengdu Telecom (Chengdu, China) [11560.62 km]
4624) ChinaTelecom (Chengdu, China) [11560.62 km]
4515) China Mobile Group GuangDong (Shenzhen, China) [11632.92 km]
4924) SZUNICOM (Shenzhen, China) [11633.88 km]
3871) SZWCDMA (Shenzhen, China) [11633.88 km]
5081) ShenZhen Telecom (Shenzhen, China) [11633.88 km]
4672) ChinaTelecom (Guangzhou, China) [11643.58 km]
3891) Unicom-GZ (Guangzhou, China) [11643.58 km]
5120) HKIX1 (Hong Kong, China) [11647.32 km]
1536) STC (Hong Kong, China) [11651.97 km]
4881) China Unicom (Guiyang, China) [11771.74 km]
5674) GX-Unicom (Nanning, China) [12000.65 km]
5985) Hainan Unicom (Haikou, China) [12101.31 km]
6168) China Telecom (Kunming, China) [12147.50 km]
5892) China Mobile Group Yunnan Co.,Ltd. (Kunming, China) [12147.50 km]
5103) Yunnan Chinaunicom (Kunming, China) [12147.50 km]
5750) LahsaUnicom (Lhasa, China) [12289.13 km]

删除任务管理器中多余本地连接的办法

问题详情

今天突然发现任务管理器里面多了个“本地连接* 16”,我感到很奇怪,特别是对于我这种有强迫症的人来说,看到多了这个不存在的本地连接,我浑身难受!进入“网络和共享中心”的“更改适配器设置”中,却又只发现一个“本地连接”,我本以为是一些虚拟网卡的问题,但现在看来不是。

- 阅读剩余部分 -