<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[dong99feng的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/dong99feng</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; dong99feng]]></copyright><item><title><![CDATA[Ubuntu18.04安装docker图文教程（新手记录）]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/105875386</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/105875386</guid><author>dong99feng</author><pubDate>Fri, 01 May 2020 11:00:41 +0800</pubDate><description><![CDATA[1 更新apt包索引：

sudo apt update #这一步可能会报错, 参考遇到的问题



2 通过HTTPS使用仓库(repository)安装：

sudo apt install apt-transport-https ca-certificates curl software-properties-common



3 在/etc/apt/sources.list.d/do...]]></description><category></category></item><item><title><![CDATA[python一键整理桌面]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/102576322</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/102576322</guid><author>dong99feng</author><pubDate>Tue, 15 Oct 2019 22:24:12 +0800</pubDate><description><![CDATA[#!/usr/bin/python
#-*-coding:utf-8-*-

import os
import shutil
__author__ = 'lidwt'
print("开始整理---")

formats = {
 "音频":[".mp3",".wav"],
 "视频":[".mp4",".avi","mov"],
 "图片":[".jpeg",".jpg",".png"...]]></description><category></category></item><item><title><![CDATA[申请https域名，证书和部署流程]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/101486709</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/101486709</guid><author>dong99feng</author><pubDate>Fri, 27 Sep 2019 09:24:22 +0800</pubDate><description><![CDATA[我把申请https域名，证书和部署流程，大致整理了一下。同道中人，以后遇到类似业务，可以参照这个。少踩一下坑！

一 : 相关知识

SSL安全套接层（Secure Socket Layer）

SSL证书是数字证书的一种，就像是我们平常用的驾驶证和营业执照的电子证书副本一样。因为配置在服务器上，所以被我们称为SSL服务器证书。 https://www.wosign.com/faq/faq-...]]></description><category></category></item><item><title><![CDATA[python批量克隆，新建分支，更新本地多个git仓库代码]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/99838244</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/99838244</guid><author>dong99feng</author><pubDate>Tue, 20 Aug 2019 13:25:52 +0800</pubDate><description><![CDATA[# !/usr/bin/python
# -*- coding: utf-8 -*-
import os
__author__ = 'lidwt'

def gitclone(filepath):
    # 批量clone git仓库
    gitpaths = ["http://git.yonyou.com/young/******.git",]
    for fi in gitpath...]]></description><category></category></item><item><title><![CDATA[python3实现接入百度通用翻译]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/90114096</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/90114096</guid><author>dong99feng</author><pubDate>Sat, 11 May 2019 20:01:23 +0800</pubDate><description><![CDATA[由于百度通用翻译官方只有pythone2版本的demo，所以，你懂的


首先需要申请百度开发者账号，创建app
拿到appid以及secretkey
http://api.fanyi.baidu.com/api/trans/product/apidoc

代码：
# -*- coding:utf-8 -*-
 
import http.client
import hashlib
import ...]]></description><category></category></item><item><title><![CDATA[Python3脚本升级所有pip包]]></title><link>https://blog.youkuaiyun.com/dong99feng/article/details/81542971</link><guid>https://blog.youkuaiyun.com/dong99feng/article/details/81542971</guid><author>dong99feng</author><pubDate>Thu, 09 Aug 2018 19:48:14 +0800</pubDate><description><![CDATA[
# -*- coding: utf-8 -*-
import pip
# pip V10.0.0以上版本需要导入下面的包
from pip._internal.utils.misc import get_installed_distributions
from subprocess import call

for dist in get_installed_distributions():
 ...]]></description><category></category></item></channel></rss>