12 2017 档案

摘要:#!python3 #multidownloadXkcd.py - Download XKCD comics using multiple threads. import requests import bs4 import os import threading # os.mkdir('xkcd', exist_ok=True) # store comics in ./xkcd ... 阅读全文
posted @ 2017-12-21 00:01 无边身尊者 阅读(2554) 评论(1) 推荐(0)
该文被密码保护。
posted @ 2017-12-15 23:32 无边身尊者 阅读(1) 评论(0) 推荐(0)
摘要:摘自:https://smjrifle.net/fedora-fix-multilib-version-problems/ This error was due to duplicate packages, so I was unable to run update again. After bit 阅读全文
posted @ 2017-12-08 14:52 无边身尊者 阅读(461) 评论(0) 推荐(0)
摘要:背景: 软件包编译过程中需要安装依赖,yum-builddep SRPMS/xxx.src.rpm, 有时会遇到“多库版本保护”的问题,从而导致无法安装其他版本的依赖包 解决办法: rpm -e 本机已经安装的冲突版本包名 --nodeps 阅读全文
posted @ 2017-12-07 11:11 无边身尊者 阅读(582) 评论(0) 推荐(0)
摘要:1、为什么git仓库没有保留文件修改时的时间戳? Why isn't Git preserving modification time on files? Modification time on files is a feature that affects build tools.Most bu 阅读全文
posted @ 2017-12-06 10:11 无边身尊者 阅读(1841) 评论(0) 推荐(0)
摘要:[mockbuild at localhost ~]$ mock -r centos-5-x86_64-testdev.cfg initinitcleanprepThis may take a whileendingdoneFinished initializing root[mockbuild a 阅读全文
posted @ 2017-12-05 12:52 无边身尊者 阅读(548) 评论(0) 推荐(0)
摘要:import sys sys.reload() sys.getdefaultencoding() # 查看设置前系统默认编码 sys.setdefaultencoding('utf-8') sys.getdefaultencoding() # 查看设置后系统默认编码 阅读全文
posted @ 2017-12-04 19:27 无边身尊者 阅读(1595) 评论(0) 推荐(0)
摘要:1、设置系统时间 date命令将日期设置为2014年6月18日 date -s 06/18/14 将时间设置为14点20分50秒 date -s 14:20:50 将时间设置为2014年6月18日14点16分30秒(MMDDhhmmYYYY.ss) date 0618141614.30 2、设置系统 阅读全文
posted @ 2017-12-04 19:22 无边身尊者 阅读(422) 评论(0) 推荐(0)