摘要: go build命令的说明 1. 获取go build说明,重定向输出到文件 go help build >> go-build-intro.txt 2. 解读go build 2.1 usage(用法) go build [-o output] [build flags] [packages] b 阅读全文
posted @ 2021-08-09 15:20 我喜欢旅行 阅读(761) 评论(0) 推荐(0) 编辑
摘要: python2 + 修改基础存储路径 + 给map里面添加源url和存储文件夹,k-v对。 # -*- coding: utf-8 -*- import re import urllib import urllib2 import os # 抓取网页图片 # 根据给定的网址来获取网页详细信息,得到的 阅读全文
posted @ 2021-01-25 11:08 我喜欢旅行 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 参考阿里云的搭建教程: + 第一步:https://help.aliyun.com/document_detail/97251.html?spm=a2c4g.11186623.2.17.3aa418167IBf5e#concept-fnh-v3x-5fb + 第二步:https://help.ali 阅读全文
posted @ 2020-12-17 21:28 我喜欢旅行 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 网页效果 网页源代码: <!DOCTYPE html> <html lang="zh-Hans"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> 阅读全文
posted @ 2020-11-03 15:55 我喜欢旅行 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 手动处理太麻烦,帮别人写的代码处理。 import pandas as pd def handle(): df = pd.read_excel('/Users/shaopengyang/Downloads/lemon.xlsx', dtype={'品牌':str, '省':str, '市':str, 阅读全文
posted @ 2020-10-13 23:07 我喜欢旅行 阅读(153) 评论(0) 推荐(0) 编辑
摘要: XXX #include <iostream> #include <string> #include <algorithm> #include <cstdio> #include <cstring> using namespace std; int n, k; int gra[1010][1010] 阅读全文
posted @ 2020-09-15 12:09 我喜欢旅行 阅读(127) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE userinfo ( id varchar(10), word varchar(10), num int ) python插入 # -*- coding: utf-8 -*- """ Spyder 编辑器 """ import random import itertools 阅读全文
posted @ 2020-08-20 17:36 我喜欢旅行 阅读(187) 评论(0) 推荐(0) 编辑
摘要: k8s deployment yaml,源于从网上找到的一个版本 apiVersion: apps/v1 # apiserver的版本 kind: Deployment # 副本控制器deployment,管理pod和RS metadata: name: mysql # deployment的名称, 阅读全文
posted @ 2020-08-20 14:51 我喜欢旅行 阅读(1922) 评论(0) 推荐(0) 编辑
摘要: 给你一个未排序的整数数组,请你找出其中没有出现的最小的正整数。 示例 1: 输入: [1,2,0]输出: 3示例 2: 输入: [3,4,-1,1]输出: 2示例 3: 输入: [7,8,9,11,12]输出: 1 思路研究一下: class Solution { public: int first 阅读全文
posted @ 2020-08-11 14:54 我喜欢旅行 阅读(132) 评论(0) 推荐(0) 编辑
摘要: CRD: CustomResourceDefinition CRD是Kubernetes为提高可扩展性,让开发者去自定义资源(如Deployment,StatefulSet等)的一种方法。Operator = CRD + Controller CRD仅仅是资源的定义,而Controller可以去监听 阅读全文
posted @ 2020-07-28 10:34 我喜欢旅行 阅读(699) 评论(0) 推荐(0) 编辑