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 ...
阅读全文
摘要:摘自: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
阅读全文
摘要:背景: 软件包编译过程中需要安装依赖,yum-builddep SRPMS/xxx.src.rpm, 有时会遇到“多库版本保护”的问题,从而导致无法安装其他版本的依赖包 解决办法: rpm -e 本机已经安装的冲突版本包名 --nodeps
阅读全文
摘要:1、为什么git仓库没有保留文件修改时的时间戳? Why isn't Git preserving modification time on files? Modification time on files is a feature that affects build tools.Most bu
阅读全文
摘要:[mockbuild at localhost ~]$ mock -r centos-5-x86_64-testdev.cfg initinitcleanprepThis may take a whileendingdoneFinished initializing root[mockbuild a
阅读全文
摘要:import sys sys.reload() sys.getdefaultencoding() # 查看设置前系统默认编码 sys.setdefaultencoding('utf-8') sys.getdefaultencoding() # 查看设置后系统默认编码
阅读全文
摘要: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、设置系统
阅读全文
浙公网安备 33010602011771号